summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/addrmap.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-12-20 14:08:32 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-12-20 14:08:32 +0000
commit7c2a83e1ef5d08b29dd66958563e00934ca21737 (patch)
tree99e51749a7355da6b3d7e72d05a7ab65d7bff086 /src/emu/addrmap.h
parent6387823ea68b967df10c49d8ba75bd3446ccb3e7 (diff)
Add DEVICE_SELF_OWNER which allows an address map to refer to the
owner of its owning device. Useful for CPU address map handlers for CPU's that are part of a device.
Diffstat (limited to 'src/emu/addrmap.h')
-rw-r--r--src/emu/addrmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emu/addrmap.h b/src/emu/addrmap.h
index c97d89f757b..147ca155a43 100644
--- a/src/emu/addrmap.h
+++ b/src/emu/addrmap.h
@@ -1082,5 +1082,8 @@ void ADDRESS_MAP_NAME(_name)(address_map &map, const device_config &devconfig) \
// use this to refer to the owning device when providing a device tag
static const char DEVICE_SELF[] = "";
+// use this to refer to the owning device's owner when providing a device tag
+static const char DEVICE_SELF_OWNER[] = "^";
+
#endif /* __ADDRMAP_H__ */