diff options
author | Ted Green <tedgreen99@protonmail.com> | 2017-01-08 08:39:31 -0700 |
---|---|---|
committer | Ted Green <tedgreen99@protonmail.com> | 2017-01-08 08:40:02 -0700 |
commit | 58ff1eb0e1d5986b518e160e956d27532f9aab01 (patch) | |
tree | 2a441835be61f61f5c0921ed0e191e34a5f1199c /src/devices/machine/pci-ide.h | |
parent | 57ac19beee18a22ded082bd110fa4253540467ff (diff) |
pci: Move interrupt line and pin functions into PCI device and add variables (nw)
pci-ide: Add legacy mapping based on prog i/f register (nw)
Diffstat (limited to 'src/devices/machine/pci-ide.h')
-rw-r--r-- | src/devices/machine/pci-ide.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/devices/machine/pci-ide.h b/src/devices/machine/pci-ide.h index 2d37ebef990..ed51a487d2f 100644 --- a/src/devices/machine/pci-ide.h +++ b/src/devices/machine/pci-ide.h @@ -53,6 +53,7 @@ private: cpu_device *m_cpu; int m_irq_num; devcb_write_line m_irq_handler; + uint32_t pci_bar[6]; uint32_t m_config_data[0x10]; DECLARE_ADDRESS_MAP(chan1_data_command_map, 32); @@ -60,6 +61,7 @@ private: DECLARE_ADDRESS_MAP(chan2_data_command_map, 32); DECLARE_ADDRESS_MAP(chan2_control_map, 32); DECLARE_ADDRESS_MAP(bus_master_map, 32); + DECLARE_WRITE8_MEMBER(prog_if_w); DECLARE_READ32_MEMBER(pcictrl_r); DECLARE_WRITE32_MEMBER(pcictrl_w); DECLARE_WRITE32_MEMBER(address_base_w); |