diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/common/ChangeLog | 5 | ||||
-rw-r--r-- | sim/common/sim-core.c | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index d6dc022..3a6cea4 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,8 @@ +2010-11-22 Mike Frysinger <vapier@gentoo.org> + + * sim-core.c (WITH_HW): Add device casts to device_error, + device_io_read_buffer, and device_io_write_buffer. + 2010-11-16 Mike Frysinger <vapier@gentoo.org> * dv-sockser.c (dv_sockser_write_buffer): New function. diff --git a/sim/common/sim-core.c b/sim/common/sim-core.c index 5476ead..31cb06b 100644 --- a/sim/common/sim-core.c +++ b/sim/common/sim-core.c @@ -28,6 +28,9 @@ #if (WITH_HW) #include "sim-hw.h" +#define device_error(client, ...) device_error ((device *)(client), __VA_ARGS__) +#define device_io_read_buffer(client, ...) device_io_read_buffer ((device *)(client), __VA_ARGS__) +#define device_io_write_buffer(client, ...) device_io_write_buffer ((device *)(client), __VA_ARGS__) #endif /* "core" module install handler. |