summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pci-ide.h
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2018-02-01 10:04:01 +0100
committer Olivier Galibert <galibert@pobox.com>2018-02-12 10:04:52 +0100
commitc5219643162cb7d2a8688425a09008d28c8e2437 (patch)
treef2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/devices/machine/pci-ide.h
parent09b6ce46873b38de9030a3c0378ff327f17af881 (diff)
API change: Memory maps are now methods of the owner class [O. Galibert]
Also, a lot more freedom happened, that's going to be more visible soon.
Diffstat (limited to 'src/devices/machine/pci-ide.h')
-rw-r--r--src/devices/machine/pci-ide.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/machine/pci-ide.h b/src/devices/machine/pci-ide.h
index 58d6c3bd8db..a0b706f4972 100644
--- a/src/devices/machine/pci-ide.h
+++ b/src/devices/machine/pci-ide.h
@@ -42,7 +42,7 @@ public:
ide_pci_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
required_device<bus_master_ide_controller_device> m_ide;
required_device<bus_master_ide_controller_device> m_ide2;
- virtual DECLARE_ADDRESS_MAP(config_map, 32) override;
+ virtual void config_map(address_map &map) override;
DECLARE_READ32_MEMBER(ide_read_cs1);
DECLARE_WRITE32_MEMBER(ide_write_cs1);
DECLARE_READ32_MEMBER(ide2_read_cs1);
@@ -78,11 +78,11 @@ private:
uint32_t m_pif;
uint32_t m_config_data[0x10];
- DECLARE_ADDRESS_MAP(chan1_data_command_map, 32);
- DECLARE_ADDRESS_MAP(chan1_control_map, 32);
- DECLARE_ADDRESS_MAP(chan2_data_command_map, 32);
- DECLARE_ADDRESS_MAP(chan2_control_map, 32);
- DECLARE_ADDRESS_MAP(bus_master_map, 32);
+ void chan1_data_command_map(address_map &map);
+ void chan1_control_map(address_map &map);
+ void chan2_data_command_map(address_map &map);
+ void chan2_control_map(address_map &map);
+ void bus_master_map(address_map &map);
};
DECLARE_DEVICE_TYPE(IDE_PCI, ide_pci_device)