summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/pci-ide.h
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2020-06-17 20:42:54 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2020-06-17 20:42:54 +0200
commit6dff78ed3ab09b83ac0aa8dc08dea227b07562a3 (patch)
tree92e33e37cb30e2b4f8829eb3dec8e7c8674b6bb4 /src/devices/machine/pci-ide.h
parent247d71e1cabe101bd29adee2abc57fb86215a911 (diff)
devices/machine, sound and video: removed read and write macros (nw)
Diffstat (limited to 'src/devices/machine/pci-ide.h')
-rw-r--r--src/devices/machine/pci-ide.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/machine/pci-ide.h b/src/devices/machine/pci-ide.h
index 0781afd404c..140db524f50 100644
--- a/src/devices/machine/pci-ide.h
+++ b/src/devices/machine/pci-ide.h
@@ -50,16 +50,16 @@ protected:
private:
DECLARE_WRITE_LINE_MEMBER(ide_interrupt);
- DECLARE_WRITE8_MEMBER(prog_if_w);
- DECLARE_READ32_MEMBER(pcictrl_r);
- DECLARE_WRITE32_MEMBER(pcictrl_w);
- DECLARE_READ32_MEMBER(address_base_r);
- DECLARE_WRITE32_MEMBER(address_base_w);
- DECLARE_WRITE32_MEMBER(subsystem_id_w);
- DECLARE_READ32_MEMBER(ide_read_cs1);
- DECLARE_WRITE32_MEMBER(ide_write_cs1);
- DECLARE_READ32_MEMBER(ide2_read_cs1);
- DECLARE_WRITE32_MEMBER(ide2_write_cs1);
+ void prog_if_w(uint8_t data);
+ uint32_t pcictrl_r(offs_t offset);
+ void pcictrl_w(offs_t offset, uint32_t data, uint32_t mem_mask = ~0);
+ uint32_t address_base_r(offs_t offset);
+ void address_base_w(offs_t offset, uint32_t data);
+ void subsystem_id_w(uint32_t data);
+ uint32_t ide_read_cs1(offs_t offset, uint32_t mem_mask = ~0);
+ void ide_write_cs1(offs_t offset, uint32_t data, uint32_t mem_mask = ~0);
+ uint32_t ide2_read_cs1(offs_t offset, uint32_t mem_mask = ~0);
+ void ide2_write_cs1(offs_t offset, uint32_t data, uint32_t mem_mask = ~0);
required_device<bus_master_ide_controller_device> m_ide;
required_device<bus_master_ide_controller_device> m_ide2;