summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/sparc')
-rw-r--r--src/devices/cpu/sparc/sparc.cpp12
-rw-r--r--src/devices/cpu/sparc/sparc.h12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/cpu/sparc/sparc.cpp b/src/devices/cpu/sparc/sparc.cpp
index 2c4ef019be1..f72b736d3ef 100644
--- a/src/devices/cpu/sparc/sparc.cpp
+++ b/src/devices/cpu/sparc/sparc.cpp
@@ -79,7 +79,7 @@ const sparc_disassembler::asi_desc_map::value_type mb86930_asi_desc[] = {
// sparc_base_device - constructor
//-------------------------------------------------
-sparc_base_device::sparc_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
+sparc_base_device::sparc_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock)
: cpu_device(mconfig, type, tag, owner, clock)
, m_mmu(*this, finder_base::DUMMY_TAG)
{
@@ -100,12 +100,12 @@ sparc_base_device::sparc_base_device(const machine_config &mconfig, device_type
// sparcv7_device - constructors
//-------------------------------------------------
-sparcv7_device::sparcv7_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+sparcv7_device::sparcv7_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: sparcv7_device(mconfig, SPARCV7, tag, owner, clock)
{
}
-sparcv7_device::sparcv7_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
+sparcv7_device::sparcv7_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock)
: sparc_base_device(mconfig, type, tag, owner, clock)
{
}
@@ -115,13 +115,13 @@ sparcv7_device::sparcv7_device(const machine_config &mconfig, device_type type,
// sparcv8_device - constructor
//-------------------------------------------------
-sparcv8_device::sparcv8_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+sparcv8_device::sparcv8_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: sparcv8_device(mconfig, SPARCV8, tag, owner, clock)
{
}
-sparcv8_device::sparcv8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock)
+sparcv8_device::sparcv8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock)
: sparc_base_device(mconfig, type, tag, owner, clock)
{
}
@@ -131,7 +131,7 @@ sparcv8_device::sparcv8_device(const machine_config &mconfig, device_type type,
// mb86930_device - constructor
//-------------------------------------------------
-mb86930_device::mb86930_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
+mb86930_device::mb86930_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock)
: sparcv8_device(mconfig, MB86930, tag, owner, clock)
, m_cs_r(*this)
, m_cs_w(*this)
diff --git a/src/devices/cpu/sparc/sparc.h b/src/devices/cpu/sparc/sparc.h
index df1e531f3ea..84acfa05583 100644
--- a/src/devices/cpu/sparc/sparc.h
+++ b/src/devices/cpu/sparc/sparc.h
@@ -21,7 +21,7 @@
class sparc_base_device : public cpu_device, public sparc_mmu_host_interface, protected sparc_disassembler::config
{
public:
- sparc_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ sparc_base_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
template <typename T> void set_mmu(T &&tag) { m_mmu.set_tag(std::forward<T>(tag)); }
@@ -273,10 +273,10 @@ protected:
class sparcv7_device : public sparc_base_device
{
public:
- sparcv7_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ sparcv7_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
protected:
- sparcv7_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ sparcv7_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
protected:
virtual bool execute_extra_group2(uint32_t op) override;
@@ -288,13 +288,13 @@ protected:
class sparcv8_device : public sparc_base_device
{
public:
- sparcv8_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ sparcv8_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
// device_disasm_interface overrides
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;
protected:
- sparcv8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock);
+ sparcv8_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock);
virtual void device_start() override;
virtual void device_reset() override;
@@ -320,7 +320,7 @@ private:
class mb86930_device : public sparcv8_device
{
public:
- mb86930_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ mb86930_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
// device_disasm_interface overrides
virtual std::unique_ptr<util::disasm_interface> create_disassembler() override;