diff options
| author | 2018-02-01 10:04:01 +0100 | |
|---|---|---|
| committer | 2018-02-12 10:04:52 +0100 | |
| commit | c5219643162cb7d2a8688425a09008d28c8e2437 (patch) | |
| tree | f2775ca3b1770ab0d3fb568f0bdd6d9212c68bf6 /src/devices/machine/lpc-rtc.cpp | |
| parent | 09b6ce46873b38de9030a3c0378ff327f17af881 (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/lpc-rtc.cpp')
| -rw-r--r-- | src/devices/machine/lpc-rtc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/lpc-rtc.cpp b/src/devices/machine/lpc-rtc.cpp index ff9c942b50e..24e9f34652a 100644 --- a/src/devices/machine/lpc-rtc.cpp +++ b/src/devices/machine/lpc-rtc.cpp @@ -5,12 +5,12 @@ DEFINE_DEVICE_TYPE(LPC_RTC, lpc_rtc_device, "lpc_rpc", "LPC RTC") -DEVICE_ADDRESS_MAP_START(map, 32, lpc_rtc_device) +ADDRESS_MAP_START(lpc_rtc_device::map) AM_RANGE(0x70, 0x77) AM_READWRITE8(index_r, index_w, 0x00ff00ff) AM_RANGE(0x70, 0x77) AM_READWRITE8(target_r, target_w, 0xff00ff00) ADDRESS_MAP_END -DEVICE_ADDRESS_MAP_START(extmap, 32, lpc_rtc_device) +ADDRESS_MAP_START(lpc_rtc_device::extmap) AM_RANGE(0x70, 0x77) AM_READWRITE8(extindex_r, extindex_w, 0x00ff0000) AM_RANGE(0x70, 0x77) AM_READWRITE8(exttarget_r, exttarget_w, 0xff000000) ADDRESS_MAP_END |
