summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/olivetti/att6300p_mmu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/olivetti/att6300p_mmu.h')
-rw-r--r--src/mame/olivetti/att6300p_mmu.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mame/olivetti/att6300p_mmu.h b/src/mame/olivetti/att6300p_mmu.h
index eea580d55ce..44fdcde65a6 100644
--- a/src/mame/olivetti/att6300p_mmu.h
+++ b/src/mame/olivetti/att6300p_mmu.h
@@ -18,11 +18,7 @@ public:
// construction/destruction
att6300p_mmu_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- // All CPU accesses are directed to the MMU via these calls
- uint16_t mem_r(offs_t offset, uint16_t mem_mask);
- void mem_w(offs_t offset, uint16_t data, uint16_t mem_mask);
- uint16_t io_r(offs_t offset, uint16_t mem_mask);
- void io_w(offs_t offset, uint16_t data, uint16_t mem_mask);
+ auto trapio_callback() { return m_trapio.bind(); }
// MMU configuration
void set_protected_mode_enabled(bool enabled);
@@ -33,7 +29,11 @@ public:
void set_io_read_traps_enabled(bool enabled);
void set_io_write_traps_enabled(bool enabled);
- auto trapio_callback() { return m_trapio.bind(); }
+ // All CPU accesses are directed to the MMU via these calls
+ uint16_t mem_r(offs_t offset, uint16_t mem_mask);
+ void mem_w(offs_t offset, uint16_t data, uint16_t mem_mask);
+ uint16_t io_r(offs_t offset, uint16_t mem_mask);
+ void io_w(offs_t offset, uint16_t data, uint16_t mem_mask);
protected:
// device-level overrides