mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -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
|
@ -1690,9 +1690,11 @@ static const TCGTargetOpDef arm_op_defs[] = {
|
|||
|
||||
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,
|
||||
((2 << TCG_REG_R14) - 1) & ~(1 << TCG_REG_R8));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue