diff options
Diffstat (limited to 'src/emu/machine/pci.h')
-rw-r--r-- | src/emu/machine/pci.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/machine/pci.h b/src/emu/machine/pci.h index 3f5b6d93e58..dd18c38e0e9 100644 --- a/src/emu/machine/pci.h +++ b/src/emu/machine/pci.h @@ -24,10 +24,15 @@ class pci_device : public device_t { public: + typedef delegate<void ()> mapper_cb; + + mapper_cb remap_cb, remap_config_cb; + pci_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); void set_ids(UINT32 main_id, UINT8 revision, UINT32 pclass, UINT32 subsystem_id); + virtual void set_remap_cb(mapper_cb _remap_cb); virtual void reset_all_mappings(); virtual void map_device(UINT64 memory_window_start, UINT64 memory_window_end, UINT64 memory_offset, address_space *memory_space, UINT64 io_window_start, UINT64 io_window_end, UINT64 io_offset, address_space *io_space); @@ -87,6 +92,7 @@ public: pci_bridge_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock); pci_bridge_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, UINT32 clock, const char *shortname, const char *source); + virtual void set_remap_cb(mapper_cb _remap_cb); virtual void map_device(UINT64 memory_window_start, UINT64 memory_window_end, UINT64 memory_offset, address_space *memory_space, UINT64 io_window_start, UINT64 io_window_end, UINT64 io_offset, address_space *io_space); virtual void reset_all_mappings(); |