From 97161e177b4ea2730dff13c4df01475762ab6048 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Thu, 8 Mar 2012 19:16:39 +0200 Subject: 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 --- cpu-all.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpu-all.h') 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. */ -- cgit v1.2.3-55-g7522