summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/eeprom.h
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-10-22 13:13:17 +0200
commitddb290d5f615019c33c42b8d94e5a5254cabcf33 (patch)
treea70f688b0df3acd19da7b1151e5902e3c6af3fa5 /src/devices/machine/eeprom.h
parent333bff8de64dfaeb98134000412796b4fdef970b (diff)
NOTICE (TYPE NAME CONSOLIDATION)
Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
Diffstat (limited to 'src/devices/machine/eeprom.h')
-rw-r--r--src/devices/machine/eeprom.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/devices/machine/eeprom.h b/src/devices/machine/eeprom.h
index 7fdcc8cd473..450a7f774d8 100644
--- a/src/devices/machine/eeprom.h
+++ b/src/devices/machine/eeprom.h
@@ -63,15 +63,15 @@ public:
// inline configuration helpers
static void static_set_size(device_t &device, int cells, int cellbits);
- static void static_set_default_data(device_t &device, const UINT8 *data, UINT32 size);
- static void static_set_default_data(device_t &device, const UINT16 *data, UINT32 size);
- static void static_set_default_value(device_t &device, UINT32 value);
+ static void static_set_default_data(device_t &device, const uint8_t *data, uint32_t size);
+ static void static_set_default_data(device_t &device, const uint16_t *data, uint32_t size);
+ static void static_set_default_value(device_t &device, uint32_t value);
static void static_set_timing(device_t &device, timing_type type, const attotime &duration);
// read/write/erase data
- UINT32 read(offs_t address);
- void write(offs_t address, UINT32 data);
- void write_all(UINT32 data);
+ uint32_t read(offs_t address);
+ void write(offs_t address, uint32_t data);
+ void write_all(uint32_t data);
void erase(offs_t address);
void erase_all();
@@ -79,8 +79,8 @@ public:
bool ready() const { return machine().time() >= m_completion_time; }
// internal read/write without side-effects
- UINT32 internal_read(offs_t address);
- void internal_write(offs_t address, UINT32 data);
+ uint32_t internal_read(offs_t address);
+ void internal_write(offs_t address, uint32_t data);
protected:
// device-level overrides
@@ -95,15 +95,15 @@ protected:
optional_memory_region m_region;
- std::unique_ptr<UINT8 []> m_data;
+ std::unique_ptr<uint8_t []> m_data;
// configuration state
- UINT32 m_cells;
- UINT8 m_address_bits;
- UINT8 m_data_bits;
+ uint32_t m_cells;
+ uint8_t m_address_bits;
+ uint8_t m_data_bits;
generic_ptr m_default_data;
- UINT32 m_default_data_size;
- UINT32 m_default_value;
+ uint32_t m_default_data_size;
+ uint32_t m_default_value;
bool m_default_value_set;
attotime m_operation_time[TIMING_COUNT];