diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2012-04-09 17:38:52 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-05-01 10:45:07 +0000 |
commit | fd06257351683ba24ebebd9793df3fd0fb59988e (patch) | |
tree | 702f85fd87c0a28510617080f74febc7482b5a34 /cputlb.h | |
parent | cc5bea608df30263f8d20facfd55d8b6ce15053d (diff) | |
download | hqemu-fd06257351683ba24ebebd9793df3fd0fb59988e.zip hqemu-fd06257351683ba24ebebd9793df3fd0fb59988e.tar.gz |
memory: move functions is_romd and section_addr to memory API
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'cputlb.h')
-rw-r--r-- | cputlb.h | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -32,8 +32,6 @@ void tlb_set_dirty(CPUArchState *env, target_ulong vaddr); extern int tlb_flush_count; /* exec.c */ -target_phys_addr_t memory_region_section_addr(MemoryRegionSection *section, - target_phys_addr_t addr); void tb_flush_jmp_cache(CPUArchState *env, target_ulong addr); target_phys_addr_t memory_region_section_get_iotlb(CPUArchState *env, MemoryRegionSection *section, @@ -43,9 +41,5 @@ target_phys_addr_t memory_region_section_get_iotlb(CPUArchState *env, target_ulong *address); bool memory_region_is_unassigned(MemoryRegion *mr); -static inline bool memory_region_is_romd(MemoryRegion *mr) -{ - return mr->rom_device && mr->readable; -} #endif #endif |