diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-18 12:14:41 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-05-18 12:14:41 +0000 |
commit | c66fb5bc0a1a1f04083fd52467d4e72942f7d38b (patch) | |
tree | ece4cd1d76c57074e8a7ec29ae5833a7015c3c41 /hw/omap.h | |
parent | 4eeed608c5999f52c1fe682262721fb01aee26e9 (diff) |
Collapse omap peripherals on L4 bus into one io entry (temporarily).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4489 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/omap.h')
-rw-r--r-- | hw/omap.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -71,6 +71,7 @@ struct omap_target_agent_s; struct omap_target_agent_s *omap_l4ta_get(struct omap_l4_s *bus, int cs); target_phys_addr_t omap_l4_attach(struct omap_target_agent_s *ta, int region, int iotype); +# define l4_register_io_memory cpu_register_io_memory struct omap_intr_handler_s; struct omap_intr_handler_s *omap_inth_init(target_phys_addr_t base, @@ -1135,4 +1136,13 @@ inline static int debug_register_io_memory(int io_index, # define cpu_register_io_memory debug_register_io_memory # endif +/* Define when we want to reduce the number of IO regions registered. */ +# define L4_MUX_HACK + +# ifdef L4_MUX_HACK +# undef l4_register_io_memory +int l4_register_io_memory(int io_index, CPUReadMemoryFunc **mem_read, + CPUWriteMemoryFunc **mem_write, void *opaque); +# endif + #endif /* hw_omap_h */ |