diff options
-rw-r--r-- | src/devices/cpu/clipper/clipper.cpp | 7 | ||||
-rw-r--r-- | src/mame/machine/cammu.cpp | 33 |
2 files changed, 40 insertions, 0 deletions
diff --git a/src/devices/cpu/clipper/clipper.cpp b/src/devices/cpu/clipper/clipper.cpp index 6b2704b5150..cf9903e6ec8 100644 --- a/src/devices/cpu/clipper/clipper.cpp +++ b/src/devices/cpu/clipper/clipper.cpp @@ -68,6 +68,7 @@ clipper_c300_device::clipper_c300_device(const machine_config &mconfig, const ch clipper_c400_device::clipper_c400_device(const machine_config &mconfig, const char *tag, device_t *owner, u32 clock) : clipper_device(mconfig, CLIPPER_C400, tag, owner, clock, ENDIANNESS_LITTLE, SSW_ID_C4R4) + , m_db_pc(0) , m_cammu(*this, "^cammu") { } @@ -81,6 +82,12 @@ clipper_device::clipper_device(const machine_config &mconfig, device_type type, , m_psw(endianness == ENDIANNESS_BIG ? PSW_BIG : 0) , m_ssw(cpuid) , m_r(m_rs) + , m_ru{0} + , m_rs{0} + , m_f{0} + , m_fp_pc(0) + , m_fp_dst(0) + , m_info{0} { } diff --git a/src/mame/machine/cammu.cpp b/src/mame/machine/cammu.cpp index 1a2ceac6cd3..1c2b82c689e 100644 --- a/src/mame/machine/cammu.cpp +++ b/src/mame/machine/cammu.cpp @@ -98,22 +98,54 @@ DEFINE_DEVICE_TYPE(CAMMU_C3, cammu_c3_device, "c3", "C1/C3 CAMMU") cammu_c4t_device::cammu_c4t_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : cammu_c4_device(mconfig, CAMMU_C4T, tag, owner, clock) + , m_ram_line(0) + , m_htlb_offset(0) + , m_c4_bus_poll(0) + , m_bio_control(0) + , m_bio_address_tag(0) + , m_cache_data_lo(0) + , m_cache_data_hi(0) + , m_cache_cpu_tag(0) + , m_cache_system_tag_valid(0) + , m_cache_system_tag(0) + , m_tlb_va_line(0) + , m_tlb_ra_line(0) { } cammu_c4i_device::cammu_c4i_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : cammu_c4_device(mconfig, CAMMU_C4I, tag, owner, clock) + , m_reset(0) + , m_clr_s_data_tlb(0) + , m_clr_u_data_tlb(0) + , m_clr_s_insn_tlb(0) + , m_clr_u_insn_tlb(0) + , m_test_data(0) + , m_test_address(0) { } cammu_c4_device::cammu_c4_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : cammu_device(mconfig, type, tag, owner, clock) + , m_s_pdo(0) + , m_u_pdo(0) + , m_control(0) + , m_i_fault(0) + , m_fault_address_1(0) + , m_fault_address_2(0) + , m_fault_data_1_lo(0) + , m_fault_data_1_hi(0) + , m_fault_data_2_lo(0) + , m_fault_data_2_hi(0) { } cammu_c3_device::cammu_c3_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : cammu_device(mconfig, CAMMU_C3, tag, owner, clock) , m_linked{ this } + , m_s_pdo(0) + , m_u_pdo(0) + , m_fault(0) , m_control(CID_C3) { } @@ -121,6 +153,7 @@ cammu_c3_device::cammu_c3_device(const machine_config &mconfig, const char *tag, cammu_device::cammu_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, type, tag, owner, clock) , m_exception_func(*this) + , m_memory{0} { } |