summaryrefslogtreecommitdiff
path: root/cpu-common.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-01-02 17:21:07 +0200
committerAvi Kivity <avi@redhat.com>2012-01-04 13:34:50 +0200
commit11c7ef0c737f37a487f45c6f3aa070ac7e342e3e (patch)
tree6d751394e2d0e18889e95ba1df102c95106fc76c /cpu-common.h
parent75c578dcaae48f239fc87b545022efa8fa13f455 (diff)
Remove IO_MEM_SHIFT
We no longer use any of the lower bits of a ram_addr, so we might as well use them for the io table index. This increases the number of potential I/O handlers by a factor of 8. Signed-off-by: Avi Kivity <avi@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'cpu-common.h')
-rw-r--r--cpu-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/cpu-common.h b/cpu-common.h
index 0f3a68235..a40c57dc1 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -107,8 +107,6 @@ void stq_phys(target_phys_addr_t addr, uint64_t val);
void cpu_physical_memory_write_rom(target_phys_addr_t addr,
const uint8_t *buf, int len);
-#define IO_MEM_SHIFT 3
-
extern struct MemoryRegion io_mem_ram;
extern struct MemoryRegion io_mem_rom;
extern struct MemoryRegion io_mem_unassigned;