From dcfd14b3741983c466ad92fa2ae91eeafce3e5d5 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sat, 14 May 2011 11:55:30 +0000 Subject: Delete unused tb_invalidate_page_range tb_invalidate_page_range() was intended to be used to invalidate an area of a TB which the guest explicitly flushes from i-cache. However, QEMU detects writes to code areas where TBs have been generated, so his has never been useful. Delete the function, adjust callers. Reviewed-by: Richard Henderson Signed-off-by: Blue Swirl --- target-sparc/op_helper.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'target-sparc/op_helper.c') diff --git a/target-sparc/op_helper.c b/target-sparc/op_helper.c index ffffb8c0bd..b38691e19d 100644 --- a/target-sparc/op_helper.c +++ b/target-sparc/op_helper.c @@ -4092,12 +4092,6 @@ void helper_write_softint(uint64_t value) } #endif -void helper_flush(target_ulong addr) -{ - addr &= ~7; - tb_invalidate_page_range(addr, addr + 8); -} - #ifdef TARGET_SPARC64 #ifdef DEBUG_PCALL static const char * const excp_names[0x80] = { -- cgit v1.2.1