diff options
author | Stan Shebs <shebs@apple.com> | 1999-04-26 18:30:24 +0000 |
---|---|---|
committer | Stan Shebs <shebs@apple.com> | 1999-04-26 18:30:24 +0000 |
commit | 581bf2caf18f6f55be94d6c5451da7c0c7fbbf1b (patch) | |
tree | 68b14812e5111a05348abfe4d382830af3f6f9fc /sim/fr30/devices.c | |
parent | 9f89d263d1c0db98f6807281138f97f197f82bce (diff) | |
download | gdb-581bf2caf18f6f55be94d6c5451da7c0c7fbbf1b.tar.gz |
import gdb-19990422 snapshot
Diffstat (limited to 'sim/fr30/devices.c')
-rw-r--r-- | sim/fr30/devices.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sim/fr30/devices.c b/sim/fr30/devices.c index f378a525cc3..a3d47cf765d 100644 --- a/sim/fr30/devices.c +++ b/sim/fr30/devices.c @@ -31,10 +31,8 @@ device fr30_devices; int device_io_read_buffer (device *me, void *source, int space, address_word addr, unsigned nr_bytes, - SIM_CPU *cpu, sim_cia cia) + SIM_DESC sd, SIM_CPU *cpu, sim_cia cia) { - SIM_DESC sd = CPU_STATE (cpu); - if (STATE_ENVIRONMENT (sd) != OPERATING_ENVIRONMENT) return nr_bytes; @@ -69,10 +67,8 @@ device_io_read_buffer (device *me, void *source, int space, int device_io_write_buffer (device *me, const void *source, int space, address_word addr, unsigned nr_bytes, - SIM_CPU *cpu, sim_cia cia) + SIM_DESC sd, SIM_CPU *cpu, sim_cia cia) { - SIM_DESC sd = CPU_STATE (cpu); - #if WITH_SCACHE if (addr == MCCR_ADDR) { @@ -96,4 +92,7 @@ device_io_write_buffer (device *me, const void *source, int space, return nr_bytes; } -void device_error () {} +void +device_error (device *me, char *message, ...) +{ +} |