mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-19 01:05:44 +00:00
other pr
This commit is contained in:
@@ -274,8 +274,8 @@ std::pair<oaknut::XReg, oaknut::XReg> InlinePageTableEmitVAddrLookup(oaknut::Cod
|
|||||||
code.LDR(Xscratch0, Xpagetable, Xscratch0);
|
code.LDR(Xscratch0, Xpagetable, Xscratch0);
|
||||||
|
|
||||||
if (ctx.conf.page_table_marked_bit) {
|
if (ctx.conf.page_table_marked_bit) {
|
||||||
code.UBFX(Xscratch1, Xscratch0, *ctx.conf.page_table_marked_bit, 1);
|
// check for marked bit
|
||||||
code.CBNZ(Xscratch1, *fallback);
|
code.TBNZ(Xscratch0, *ctx.conf.page_table_marked_bit, *fallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx.conf.page_table_pointer_mask != 0) {
|
if (ctx.conf.page_table_pointer_mask != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user