mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 16:53:55 -06:00
Remove TLB from userspace
Remove TLB from userspace CPU structure. Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
parent
41c1b1c9eb
commit
20cb400d41
4 changed files with 20 additions and 3 deletions
|
@ -1353,9 +1353,11 @@ void tcg_target_qemu_prologue(TCGContext *s)
|
|||
|
||||
void tcg_target_init(TCGContext *s)
|
||||
{
|
||||
#if !defined(CONFIG_USER_ONLY)
|
||||
/* fail safe */
|
||||
if ((1 << CPU_TLB_ENTRY_BITS) != sizeof(CPUTLBEntry))
|
||||
tcg_abort();
|
||||
#endif
|
||||
|
||||
tcg_regset_set32(tcg_target_available_regs[TCG_TYPE_I32], 0, 0xff);
|
||||
tcg_regset_set32(tcg_target_call_clobber_regs, 0,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue