summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/cpu/h8/h8_intc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/cpu/h8/h8_intc.h')
-rw-r--r--src/devices/cpu/h8/h8_intc.h15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/devices/cpu/h8/h8_intc.h b/src/devices/cpu/h8/h8_intc.h
index ca9452ad61d..20bd830f45f 100644
--- a/src/devices/cpu/h8/h8_intc.h
+++ b/src/devices/cpu/h8/h8_intc.h
@@ -16,19 +16,10 @@
#include "h8.h"
-#define MCFG_H8_INTC_ADD( _tag ) \
- MCFG_DEVICE_ADD( _tag, H8_INTC, 0 )
-
-#define MCFG_H8H_INTC_ADD( _tag ) \
- MCFG_DEVICE_ADD( _tag, H8H_INTC, 0 )
-
-#define MCFG_H8S_INTC_ADD( _tag ) \
- MCFG_DEVICE_ADD( _tag, H8S_INTC, 0 )
-
class h8_intc_device : public device_t {
public:
- h8_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h8_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
int interrupt_taken(int vector);
void internal_interrupt(int vector);
@@ -71,7 +62,7 @@ protected:
class h8h_intc_device : public h8_intc_device {
public:
- h8h_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h8h_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
DECLARE_READ8_MEMBER(isr_r);
DECLARE_WRITE8_MEMBER(isr_w);
@@ -100,7 +91,7 @@ protected:
class h8s_intc_device : public h8h_intc_device {
public:
- h8s_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h8s_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock = 0);
DECLARE_READ8_MEMBER(ipr_r);
DECLARE_WRITE8_MEMBER(ipr_w);