diff options
author | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
---|---|---|
committer | Stan Shebs <shebs@codesourcery.com> | 1999-04-26 18:34:20 +0000 |
commit | 7a292a7adf506b866905b06b3024c0fd411c4583 (patch) | |
tree | 5b208bb48269b8a82d5c3a5f19c87b45a62a22f4 /sim/common/sim-core.h | |
parent | 1996fae84682e8ddd146215dd2959ad1ec924c09 (diff) | |
download | fsf-binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.zip fsf-binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.gz fsf-binutils-gdb-7a292a7adf506b866905b06b3024c0fd411c4583.tar.bz2 |
import gdb-19990422 snapshot
Diffstat (limited to 'sim/common/sim-core.h')
-rw-r--r-- | sim/common/sim-core.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sim/common/sim-core.h b/sim/common/sim-core.h index 7bf15a3..182569e 100644 --- a/sim/common/sim-core.h +++ b/sim/common/sim-core.h @@ -340,4 +340,13 @@ DECLARE_SIM_CORE_READ_N(misaligned,7,8) #undef DECLARE_SIM_CORE_READ_N +#if (WITH_DEVICES) +/* TODO: create sim/common/device.h */ +/* These are defined with each particular cpu. */ +void device_error (device *me, char* message, ...); +int device_io_read_buffer(device *me, void *dest, int space, address_word addr, unsigned nr_bytes, SIM_DESC sd, sim_cpu *processor, sim_cia cia); +int device_io_write_buffer(device *me, const void *source, int space, address_word addr, unsigned nr_bytes, SIM_DESC sd, sim_cpu *processor, sim_cia cia); +#endif + + #endif |