sim: m32r: migrate from WITH_DEVICES to WITH_HW
authorMike Frysinger <vapier@gentoo.org>
Fri, 25 Dec 2015 18:04:26 +0000 (13:04 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 25 Dec 2015 18:09:42 +0000 (13:09 -0500)
commit9c0c156bb7ddca2d3fce7bea96631715f8c67390
tree36c0f04556bd643f4241b62269ff876357425c62
parent34cf511206839b0f2b76870bf2d487c2dbcdbc1f
sim: m32r: migrate from WITH_DEVICES to WITH_HW

The m32r port was using the device framework to handle two devices: the
cache and uart registers.  Both can be implemented in the newer hardware
framework instead which allows us to drop the device logic entirely, as
well as delete the tconfig.h file.

While creating the new uart device model, I also added support for using
stdin to read/write data rather than only supporting sockets.

This has been lightly tested as there doesn't appear to be test coverage
for the code already.  If anyone still cares about this port, then they
should (hopefully) file bug reports.
12 files changed:
sim/m32r/ChangeLog
sim/m32r/Makefile.in
sim/m32r/configure
sim/m32r/configure.ac
sim/m32r/devices.c [deleted file]
sim/m32r/dv-m32r_cache.c [new file with mode: 0644]
sim/m32r/dv-m32r_cache.h [new file with mode: 0644]
sim/m32r/dv-m32r_uart.c [new file with mode: 0644]
sim/m32r/dv-m32r_uart.h [new file with mode: 0644]
sim/m32r/m32r-sim.h
sim/m32r/sim-if.c
sim/m32r/tconfig.h [deleted file]