summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/8255ppi.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2009-06-08 00:41:50 +0000
committer Aaron Giles <aaron@aarongiles.com>2009-06-08 00:41:50 +0000
commitb431953ac147574fe7d0dca57637c2b6fd208f77 (patch)
tree86e59c454b4540ec3cd66361b99f03be85d4f4f6 /src/emu/machine/8255ppi.h
parentc447385c2f2e04380f3f7d4a7b433e60e0ec031d (diff)
Added the concept of device contracts. A contract is a well-defined
set of interfaces supported by a device, and identified by a unique string identifier. A device may support any number of contracts, described in a list via the DEVICE_CONTRACT_LIST* macros. The purpose of contracts is to provide a means for devices to expose a standard set of interfaces to other parts of the system. For example, the PCI device should expose a contract that includes functions for configuration register access, and 32-bit I/O. Then any device with a PCI interface should implement the PCI contract, so that the PCI bus device can route things appropriately. (This change is in anticipation of a proper Namco 06xx interface, which exposes a contract to all devices it is attached to, but I am still struggling to get it to work reliably.)
Diffstat (limited to 'src/emu/machine/8255ppi.h')
0 files changed, 0 insertions, 0 deletions