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.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/devices/cpu/h8/h8_intc.h b/src/devices/cpu/h8/h8_intc.h
index b6a6da31af7..4b4b384b8b1 100644
--- a/src/devices/cpu/h8/h8_intc.h
+++ b/src/devices/cpu/h8/h8_intc.h
@@ -26,8 +26,8 @@
class h8_intc_device : public device_t {
public:
- h8_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- h8_intc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ h8_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h8_intc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
int interrupt_taken(int vector);
void internal_interrupt(int vector);
@@ -48,13 +48,13 @@ protected:
required_device<h8_device> cpu;
- UINT32 pending_irqs[MAX_VECTORS/32];
+ uint32_t pending_irqs[MAX_VECTORS/32];
int irq_type[8];
bool nmi_input;
- UINT8 irq_input;
- UINT8 ier;
- UINT8 isr;
- UINT16 iscr;
+ uint8_t irq_input;
+ uint8_t ier;
+ uint8_t isr;
+ uint16_t iscr;
int icr_filter, ipr_filter;
virtual void device_start() override;
@@ -68,8 +68,8 @@ protected:
class h8h_intc_device : public h8_intc_device {
public:
- h8h_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
- h8h_intc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source);
+ h8h_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
+ h8h_intc_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source);
DECLARE_READ8_MEMBER(isr_r);
DECLARE_WRITE8_MEMBER(isr_w);
@@ -85,7 +85,7 @@ public:
protected:
static const int vector_to_slot[];
- UINT32 icr;
+ uint32_t icr;
virtual void device_start() override;
virtual void device_reset() override;
@@ -96,7 +96,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 clock);
+ h8s_intc_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_READ8_MEMBER(ipr_r);
DECLARE_WRITE8_MEMBER(ipr_w);
@@ -104,7 +104,7 @@ public:
DECLARE_WRITE8_MEMBER(iprk_w);
private:
static const int vector_to_slot[];
- UINT8 ipr[11];
+ uint8_t ipr[11];
virtual void get_priority(int vect, int &icr_pri, int &ipr_pri) const override;
virtual void device_reset() override;