mmu: slow mmu build fix

This commit is contained in:
Flyinghead 2023-05-24 10:43:20 +02:00
parent 755e17dc97
commit ed99c96232
2 changed files with 2 additions and 2 deletions

View File

@ -306,7 +306,7 @@ MmuError mmu_data_translation(u32 va, u32& rv)
}
const TLB_Entry *entry;
u32 lookup = mmu_full_lookup(va, &entry, rv);
MmuError lookup = mmu_full_lookup(va, &entry, rv);
if (lookup != MmuError::NONE)
return lookup;

View File

@ -87,7 +87,7 @@ static inline MmuError mmu_instruction_translation(u32 va, u32& rv)
return mmu_full_lookup(va, nullptr, rv);
}
#else
u32 mmu_instruction_translation(u32 va, u32& rv);
MmuError mmu_instruction_translation(u32 va, u32& rv);
#endif
template<u32 translation_type>