summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/lpci.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/lpci.h')
-rw-r--r--src/devices/machine/lpci.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/devices/machine/lpci.h b/src/devices/machine/lpci.h
index 849f27d206d..b53b3fe1ae0 100644
--- a/src/devices/machine/lpci.h
+++ b/src/devices/machine/lpci.h
@@ -15,8 +15,8 @@
// TYPE DEFINITIONS
//**************************************************************************
-typedef UINT32 (*pci_read_func)(device_t *pcibus, device_t *device, int function, int reg, UINT32 mem_mask);
-typedef void (*pci_write_func)(device_t *pcibus, device_t *device, int function, int reg, UINT32 data, UINT32 mem_mask);
+typedef uint32_t (*pci_read_func)(device_t *pcibus, device_t *device, int function, int reg, uint32_t mem_mask);
+typedef void (*pci_write_func)(device_t *pcibus, device_t *device, int function, int reg, uint32_t data, uint32_t mem_mask);
// ======================> pci_bus_legacy_device
@@ -24,7 +24,7 @@ class pci_bus_legacy_device : public device_t
{
public:
// construction/destruction
- pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
+ pci_bus_legacy_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
DECLARE_READ32_MEMBER( read );
DECLARE_WRITE32_MEMBER( write );
@@ -47,19 +47,19 @@ protected:
virtual void device_post_load() override;
private:
- UINT8 m_busnum;
+ uint8_t m_busnum;
const char * m_devtag[32];
pci_read_func m_read_callback[32];
pci_write_func m_write_callback[32];
const char * m_father;
device_t * m_device[32];
pci_bus_legacy_device * m_siblings[8];
- UINT8 m_siblings_busnum[8];
+ uint8_t m_siblings_busnum[8];
int m_siblings_count;
offs_t m_address;
- INT8 m_devicenum; // device number we are addressing
- INT8 m_busnumber; // pci bus number we are addressing
+ int8_t m_devicenum; // device number we are addressing
+ int8_t m_busnumber; // pci bus number we are addressing
pci_bus_legacy_device * m_busnumaddr; // pci bus we are addressing
};