summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/powerpc/ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/powerpc/ppc.h')
-rw-r--r--src/devices/cpu/powerpc/ppc.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/cpu/powerpc/ppc.h b/src/devices/cpu/powerpc/ppc.h
index b27f80efc7e..799371ca363 100644
--- a/src/devices/cpu/powerpc/ppc.h
+++ b/src/devices/cpu/powerpc/ppc.h
@@ -205,7 +205,7 @@ protected:
};
// construction/destruction
- ppc_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, int address_bits, int data_bits, powerpc_flavor flavor, uint32_t cap, uint32_t tb_divisor, address_map_constructor internal_map);
+ ppc_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, int address_bits, int data_bits, powerpc_flavor flavor, uint32_t cap, uint32_t tb_divisor, address_map_constructor internal_map);
public:
virtual ~ppc_device() override;
@@ -686,7 +686,7 @@ private:
//class ppc403_device : public ppc_device
//{
//public:
-// ppc403_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+// ppc403_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
//
//protected:
// virtual uint32_t execute_input_lines() const noexcept { return 8; }
@@ -696,7 +696,7 @@ private:
//class ppc405_device : public ppc_device
//{
//public:
-// ppc405_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+// ppc405_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
//
//protected:
// virtual uint32_t execute_input_lines() const noexcept { return 8; }
@@ -706,49 +706,49 @@ private:
class ppc603_device : public ppc_device
{
public:
- ppc603_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc603_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class ppc603e_device : public ppc_device
{
public:
- ppc603e_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc603e_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class ppc603r_device : public ppc_device
{
public:
- ppc603r_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc603r_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class ppc602_device : public ppc_device
{
public:
- ppc602_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc602_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class mpc8240_device : public ppc_device
{
public:
- mpc8240_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ mpc8240_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class ppc601_device : public ppc_device
{
public:
- ppc601_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc601_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class ppc604_device : public ppc_device
{
public:
- ppc604_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc604_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
@@ -768,7 +768,7 @@ public:
void internal_ppc4xx(address_map &map);
protected:
- ppc4xx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock, powerpc_flavor flavor, uint32_t cap, uint32_t tb_divisor);
+ ppc4xx_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, const XTAL &clock, powerpc_flavor flavor, uint32_t cap, uint32_t tb_divisor);
virtual uint32_t execute_input_lines() const noexcept override { return 5; }
virtual void execute_set_input(int inputnum, int state) override;
@@ -778,21 +778,21 @@ protected:
class ppc403ga_device : public ppc4xx_device
{
public:
- ppc403ga_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc403ga_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class ppc403gcx_device : public ppc4xx_device
{
public:
- ppc403gcx_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc403gcx_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};
class ppc405gp_device : public ppc4xx_device
{
public:
- ppc405gp_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ ppc405gp_device(const machine_config &mconfig, const char *tag, device_t *owner, const XTAL &clock);
};