aboutsummaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2012-03-08 19:16:39 +0200
committerAvi Kivity <avi@redhat.com>2012-03-08 19:16:39 +0200
commit97161e177b4ea2730dff13c4df01475762ab6048 (patch)
tree692a23497cc98848e2abba7bcddb8e41d684ac2a /cpu-all.h
parent37ec01d43343fc20b6e1ce34f82ec617020a9849 (diff)
memory: get rid of cpu_register_io_memory()
The return value of cpu_register_io_memory() is no longer used anywhere, so we can remove it and all associated data and code. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 80e6d4234f..b87f2ce5d5 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -498,14 +498,6 @@ extern RAMList ram_list;
extern const char *mem_path;
extern int mem_prealloc;
-/* physical memory access */
-
-/* MMIO pages are identified by a combination of an IO device index and
- 3 flags. The ROMD code stores the page ram offset in iotlb entry,
- so only a limited number of ids are avaiable. */
-
-#define IO_MEM_NB_ENTRIES (1 << TARGET_PAGE_BITS)
-
/* Flags stored in the low bits of the TLB virtual address. These are
defined so that fast path ram access is all zeros. */
/* Zero if TLB entry is valid. */