diff options
Diffstat (limited to 'src/devices/bus/lpci/i82371ab.cpp')
-rw-r--r-- | src/devices/bus/lpci/i82371ab.cpp | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/devices/bus/lpci/i82371ab.cpp b/src/devices/bus/lpci/i82371ab.cpp index 9f5a9de2edd..23b3b81121d 100644 --- a/src/devices/bus/lpci/i82371ab.cpp +++ b/src/devices/bus/lpci/i82371ab.cpp @@ -22,15 +22,15 @@ const device_type I82371AB = &device_creator<i82371ab_device>; -i82371ab_device::i82371ab_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) +i82371ab_device::i82371ab_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : southbridge_device(mconfig, I82371AB, "Intel 82371AB", tag, owner, clock, "i82371ab", __FILE__), pci_device_interface( mconfig, *this ) { } -UINT32 i82371ab_device::pci_isa_r(device_t *busdevice, int offset, UINT32 mem_mask) +uint32_t i82371ab_device::pci_isa_r(device_t *busdevice, int offset, uint32_t mem_mask) { - UINT32 result = m_regs[0][offset] | + uint32_t result = m_regs[0][offset] | m_regs[0][offset+1] << 8 | m_regs[0][offset+2] << 16| m_regs[0][offset+3] << 24; @@ -40,9 +40,9 @@ UINT32 i82371ab_device::pci_isa_r(device_t *busdevice, int offset, UINT32 mem_ma return result; } -void i82371ab_device::pci_isa_w(device_t *busdevice, int offset, UINT32 data, UINT32 mem_mask) +void i82371ab_device::pci_isa_w(device_t *busdevice, int offset, uint32_t data, uint32_t mem_mask) { - UINT32 cdata = 0; + uint32_t cdata = 0; int i; COMBINE_DATA(&cdata); @@ -67,9 +67,9 @@ void i82371ab_device::pci_isa_w(device_t *busdevice, int offset, UINT32 data, UI } } -UINT32 i82371ab_device::pci_ide_r(device_t *busdevice, int offset, UINT32 mem_mask) +uint32_t i82371ab_device::pci_ide_r(device_t *busdevice, int offset, uint32_t mem_mask) { - UINT32 result = m_regs[1][offset] | + uint32_t result = m_regs[1][offset] | m_regs[1][offset+1] << 8 | m_regs[1][offset+2] << 16| m_regs[1][offset+3] << 24; @@ -79,9 +79,9 @@ UINT32 i82371ab_device::pci_ide_r(device_t *busdevice, int offset, UINT32 mem_ma return result; } -void i82371ab_device::pci_ide_w(device_t *busdevice, int offset, UINT32 data, UINT32 mem_mask) +void i82371ab_device::pci_ide_w(device_t *busdevice, int offset, uint32_t data, uint32_t mem_mask) { - UINT32 cdata = 0; + uint32_t cdata = 0; int i; COMBINE_DATA(&cdata); @@ -106,9 +106,9 @@ void i82371ab_device::pci_ide_w(device_t *busdevice, int offset, UINT32 data, UI } } -UINT32 i82371ab_device::pci_usb_r(device_t *busdevice, int offset, UINT32 mem_mask) +uint32_t i82371ab_device::pci_usb_r(device_t *busdevice, int offset, uint32_t mem_mask) { - UINT32 result = m_regs[2][offset] | + uint32_t result = m_regs[2][offset] | m_regs[2][offset+1] << 8 | m_regs[2][offset+2] << 16| m_regs[2][offset+3] << 24; @@ -118,9 +118,9 @@ UINT32 i82371ab_device::pci_usb_r(device_t *busdevice, int offset, UINT32 mem_ma return result; } -void i82371ab_device::pci_usb_w(device_t *busdevice, int offset, UINT32 data, UINT32 mem_mask) +void i82371ab_device::pci_usb_w(device_t *busdevice, int offset, uint32_t data, uint32_t mem_mask) { - UINT32 cdata = 0; + uint32_t cdata = 0; int i; COMBINE_DATA(&cdata); @@ -145,9 +145,9 @@ void i82371ab_device::pci_usb_w(device_t *busdevice, int offset, UINT32 data, UI } } -UINT32 i82371ab_device::pci_acpi_r(device_t *busdevice, int offset, UINT32 mem_mask) +uint32_t i82371ab_device::pci_acpi_r(device_t *busdevice, int offset, uint32_t mem_mask) { - UINT32 result = m_regs[3][offset] | + uint32_t result = m_regs[3][offset] | m_regs[3][offset+1] << 8 | m_regs[3][offset+2] << 16| m_regs[3][offset+3] << 24; @@ -157,9 +157,9 @@ UINT32 i82371ab_device::pci_acpi_r(device_t *busdevice, int offset, UINT32 mem_m return result; } -void i82371ab_device::pci_acpi_w(device_t *busdevice, int offset, UINT32 data, UINT32 mem_mask) +void i82371ab_device::pci_acpi_w(device_t *busdevice, int offset, uint32_t data, uint32_t mem_mask) { - UINT32 cdata = 0; + uint32_t cdata = 0; int i; COMBINE_DATA(&cdata); @@ -184,7 +184,7 @@ void i82371ab_device::pci_acpi_w(device_t *busdevice, int offset, UINT32 data, U } } -UINT32 i82371ab_device::pci_read(pci_bus_device *pcibus, int function, int offset, UINT32 mem_mask) +uint32_t i82371ab_device::pci_read(pci_bus_device *pcibus, int function, int offset, uint32_t mem_mask) { switch (function) { @@ -199,7 +199,7 @@ UINT32 i82371ab_device::pci_read(pci_bus_device *pcibus, int function, int offse return 0; } -void i82371ab_device::pci_write(pci_bus_device *pcibus, int function, int offset, UINT32 data, UINT32 mem_mask) +void i82371ab_device::pci_write(pci_bus_device *pcibus, int function, int offset, uint32_t data, uint32_t mem_mask) { switch (function) { @@ -229,7 +229,7 @@ void i82371ab_device::device_reset() { southbridge_device::device_reset(); memset(m_regs, 0, sizeof(m_regs)); - UINT32 (*regs32)[64] = (UINT32 (*)[64])(m_regs); + uint32_t (*regs32)[64] = (uint32_t (*)[64])(m_regs); /* isa */ regs32[0][0x00] = 0x71108086; |