summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/mips/mips3.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/mips/mips3.cpp')
-rw-r--r--src/devices/cpu/mips/mips3.cpp58
1 files changed, 29 insertions, 29 deletions
diff --git a/src/devices/cpu/mips/mips3.cpp b/src/devices/cpu/mips/mips3.cpp
index ab210440d9d..ed95f09d418 100644
--- a/src/devices/cpu/mips/mips3.cpp
+++ b/src/devices/cpu/mips/mips3.cpp
@@ -124,7 +124,7 @@ mips3_device::mips3_device(const machine_config &mconfig, device_type type, cons
: cpu_device(mconfig, type, name, tag, owner, clock, shortname, __FILE__)
, m_program_config("program", endianness, 32, 32, 0, 32, MIPS3_MIN_PAGE_SHIFT)
, m_flavor(flavor)
- , m_core(NULL)
+ , m_core(nullptr)
, m_ppc(0)
, m_nextpc(0)
, m_pcbase(0)
@@ -134,7 +134,7 @@ mips3_device::mips3_device(const machine_config &mconfig, device_type type, cons
, m_ll_value(0)
, m_lld_value(0)
, m_badcop_value(0)
- , m_tlb_table(NULL)
+ , m_tlb_table(nullptr)
, m_lwl(endianness == ENDIANNESS_BIG ? &mips3_device::lwl_be : &mips3_device::lwl_le)
, m_lwr(endianness == ENDIANNESS_BIG ? &mips3_device::lwr_be : &mips3_device::lwr_le)
, m_swl(endianness == ENDIANNESS_BIG ? &mips3_device::swl_be : &mips3_device::swl_le)
@@ -151,42 +151,42 @@ mips3_device::mips3_device(const machine_config &mconfig, device_type type, cons
, m_word_xor(m_bigendian ? WORD_XOR_BE(0) : WORD_XOR_LE(0))
, c_icache_size(0)
, c_dcache_size(0)
- , m_vtlb(NULL)
+ , m_vtlb(nullptr)
, m_fastram_select(0)
, m_debugger_temp(0)
, m_cache(CACHE_SIZE + sizeof(internal_mips3_state))
- , m_drcuml(NULL)
- , m_drcfe(NULL)
+ , m_drcuml(nullptr)
+ , m_drcfe(nullptr)
, m_drcoptions(0)
, m_cache_dirty(0)
- , m_entry(NULL)
- , m_nocode(NULL)
- , m_out_of_cycles(NULL)
- , m_tlb_mismatch(NULL)
+ , m_entry(nullptr)
+ , m_nocode(nullptr)
+ , m_out_of_cycles(nullptr)
+ , m_tlb_mismatch(nullptr)
, m_hotspot_select(0)
{
memset(m_fpmode, 0, sizeof(m_fpmode));
for (int i = 0; i < 3; i++)
{
- m_read8[i] = NULL;
- m_write8[i] = NULL;
- m_read16[i] = NULL;
- m_write16[i] = NULL;
- m_read32[i] = NULL;
- m_read32mask[i] = NULL;
- m_write32[i] = NULL;
- m_write32mask[i] = NULL;
- m_read64[i] = NULL;
- m_read64mask[i] = NULL;
- m_write64[i] = NULL;
- m_write64mask[i] = NULL;
+ m_read8[i] = nullptr;
+ m_write8[i] = nullptr;
+ m_read16[i] = nullptr;
+ m_write16[i] = nullptr;
+ m_read32[i] = nullptr;
+ m_read32mask[i] = nullptr;
+ m_write32[i] = nullptr;
+ m_write32mask[i] = nullptr;
+ m_read64[i] = nullptr;
+ m_read64mask[i] = nullptr;
+ m_write64[i] = nullptr;
+ m_write64mask[i] = nullptr;
}
for (int i = 0; i < 18; i++)
{
- m_exception[i] = NULL;
- m_exception_norecover[i] = NULL;
+ m_exception[i] = nullptr;
+ m_exception_norecover[i] = nullptr;
}
memset(m_fastram, 0, sizeof(m_fastram));
memset(m_hotspot, 0, sizeof(m_hotspot));
@@ -195,21 +195,21 @@ mips3_device::mips3_device(const machine_config &mconfig, device_type type, cons
void mips3_device::device_stop()
{
- if (m_vtlb != NULL)
+ if (m_vtlb != nullptr)
{
vtlb_free(m_vtlb);
- m_vtlb = NULL;
+ m_vtlb = nullptr;
}
- if (m_drcfe != NULL)
+ if (m_drcfe != nullptr)
{
auto_free(machine(), m_drcfe);
- m_drcfe = NULL;
+ m_drcfe = nullptr;
}
- if (m_drcuml != NULL)
+ if (m_drcuml != nullptr)
{
auto_free(machine(), m_drcuml);
- m_drcuml = NULL;
+ m_drcuml = nullptr;
}
}