aboutsummaryrefslogtreecommitdiff
path: root/cpu-common.h
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2010-04-22 16:47:31 -0700
committerBlue Swirl <blauwirbel@gmail.com>2010-04-25 12:59:33 +0000
commitf64052478e3828393aea4248da4047b86d48f83f (patch)
treec5567565d65c24dc5eebde74a8fd89a8053980b6 /cpu-common.h
parent6495a044575c01aee960c54e8a138ac51ed8a835 (diff)
Remove IO_MEM_SUBWIDTH.
Greatly simplify the subpage implementation by not supporting multiple devices at the same address at different widths. We don't need full copies of mem_read/mem_write/opaque for each address, only a single index back into the main io_mem_* arrays. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cpu-common.h')
-rw-r--r--cpu-common.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/cpu-common.h b/cpu-common.h
index b730ca033d..b24cecc75c 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -125,7 +125,6 @@ void cpu_physical_memory_write_rom(target_phys_addr_t addr,
/* Acts like a ROM when read and like a device when written. */
#define IO_MEM_ROMD (1)
#define IO_MEM_SUBPAGE (2)
-#define IO_MEM_SUBWIDTH (4)
#endif