summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/arm7/arm7.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/arm7/arm7.h')
-rw-r--r--src/devices/cpu/arm7/arm7.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/devices/cpu/arm7/arm7.h b/src/devices/cpu/arm7/arm7.h
index 34f8c53960f..8dca9e074af 100644
--- a/src/devices/cpu/arm7/arm7.h
+++ b/src/devices/cpu/arm7/arm7.h
@@ -120,6 +120,7 @@ protected:
// device-level overrides
virtual void device_start() override;
virtual void device_reset() override;
+ virtual void device_register_save(save_registrar &save) override;
// device_execute_interface overrides
virtual uint32_t execute_min_cycles() const noexcept override { return 3; }
@@ -180,6 +181,16 @@ protected:
uint32_t table_bits;
uint32_t base_addr;
uint8_t type;
+
+ void register_save(save_registrar &save)
+ {
+ save.reg(NAME(valid))
+ .reg(NAME(domain))
+ .reg(NAME(access))
+ .reg(NAME(table_bits))
+ .reg(NAME(base_addr))
+ .reg(NAME(type));
+ }
};
tlb_entry m_dtlb_entries[0x2000];
tlb_entry m_itlb_entries[0x2000];