mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
target-alpha: Implement TLB flush primitives.
Expose these via MTPR, more or less like the real HW does. Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
e5214853ea
commit
3b4fefd6e6
3 changed files with 34 additions and 12 deletions
|
@ -1205,6 +1205,16 @@ void helper_hw_ret (uint64_t a)
|
|||
swap_shadow_regs(env);
|
||||
}
|
||||
}
|
||||
|
||||
void helper_tbia(void)
|
||||
{
|
||||
tlb_flush(env, 1);
|
||||
}
|
||||
|
||||
void helper_tbis(uint64_t p)
|
||||
{
|
||||
tlb_flush_page(env, p);
|
||||
}
|
||||
#endif
|
||||
|
||||
/*****************************************************************************/
|
||||
|
@ -1335,5 +1345,4 @@ void tlb_fill (target_ulong addr, int is_write, int mmu_idx, void *retaddr)
|
|||
}
|
||||
env = saved_env;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue