summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/lpc-acpi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpc-acpi.h')
-rw-r--r--src/devices/machine/lpc-acpi.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/devices/machine/lpc-acpi.h b/src/devices/machine/lpc-acpi.h
index 1a93980f957..34b637994ae 100644
--- a/src/devices/machine/lpc-acpi.h
+++ b/src/devices/machine/lpc-acpi.h
@@ -17,6 +17,19 @@ public:
virtual void map_device(uint64_t memory_window_start, uint64_t memory_window_end, uint64_t memory_offset, address_space *memory_space,
uint64_t io_window_start, uint64_t io_window_end, uint64_t io_offset, address_space *io_space) override;
+protected:
+ void device_start() override;
+ void device_reset() override;
+
+private:
+ uint32_t pm1_cnt, proc_cnt, gpe0_sts, gpe0_en, smi_en, smi_sts;
+ uint16_t pm1_sts, pm1_en, alt_gp_smi_en, alt_gp_smi_sts, devact_sts, devtrap_en;
+ uint16_t tco1_sts, tco2_sts, tco1_cnt, tco2_cnt;
+ uint8_t tco_rld, tco_tmr, tco_dat_in, tco_dat_out, tco_message1, tco_message2;
+ uint8_t tco_wdstatus, sw_irq_gen;
+
+ void map(address_map &map);
+
DECLARE_READ16_MEMBER( pm1_sts_r);
DECLARE_WRITE16_MEMBER(pm1_sts_w);
DECLARE_READ16_MEMBER( pm1_en_r);
@@ -70,19 +83,6 @@ public:
DECLARE_WRITE8_MEMBER( tco_wdstatus_w);
DECLARE_READ8_MEMBER( sw_irq_gen_r);
DECLARE_WRITE8_MEMBER( sw_irq_gen_w);
-
-protected:
- void device_start() override;
- void device_reset() override;
-
-private:
- uint32_t pm1_cnt, proc_cnt, gpe0_sts, gpe0_en, smi_en, smi_sts;
- uint16_t pm1_sts, pm1_en, alt_gp_smi_en, alt_gp_smi_sts, devact_sts, devtrap_en;
- uint16_t tco1_sts, tco2_sts, tco1_cnt, tco2_cnt;
- uint8_t tco_rld, tco_tmr, tco_dat_in, tco_dat_out, tco_message1, tco_message2;
- uint8_t tco_wdstatus, sw_irq_gen;
-
- void map(address_map &map);
};
DECLARE_DEVICE_TYPE(LPC_ACPI, lpc_acpi_device)