mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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 <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
1fddfba129
commit
dcfd14b374
7 changed files with 3 additions and 43 deletions
|
@ -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] = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue