diff options
Diffstat (limited to 'sim/bfin/devices.h')
-rw-r--r-- | sim/bfin/devices.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sim/bfin/devices.h b/sim/bfin/devices.h index a077d55..9bbcfe2 100644 --- a/sim/bfin/devices.h +++ b/sim/bfin/devices.h @@ -133,10 +133,12 @@ dv_get_state (SIM_CPU *cpu, const char *device_name) }) void dv_bfin_mmr_invalid (struct hw *, address_word, unsigned nr_bytes, bool write); -void dv_bfin_mmr_require (struct hw *, address_word, unsigned nr_bytes, unsigned size, bool write); -bool dv_bfin_mmr_check (struct hw *, address_word, unsigned nr_bytes, bool write); - +bool dv_bfin_mmr_require (struct hw *, address_word, unsigned nr_bytes, unsigned size, bool write); +/* For 32-bit memory mapped registers that allow 16-bit or 32-bit access. */ +bool dv_bfin_mmr_require_16_32 (struct hw *, address_word, unsigned nr_bytes, bool write); +/* For 32-bit memory mapped registers that only allow 16-bit access. */ #define dv_bfin_mmr_require_16(hw, addr, nr_bytes, write) dv_bfin_mmr_require (hw, addr, nr_bytes, 2, write) +/* For 32-bit memory mapped registers that only allow 32-bit access. */ #define dv_bfin_mmr_require_32(hw, addr, nr_bytes, write) dv_bfin_mmr_require (hw, addr, nr_bytes, 4, write) #define HW_TRACE_WRITE() \ |