This commit is contained in:
PavelBARABANOV
2026-09-12 07:43:33 +03:00
parent 18726a4518
commit 2a432c0306
@@ -274,8 +274,8 @@ std::pair<oaknut::XReg, oaknut::XReg> InlinePageTableEmitVAddrLookup(oaknut::Cod
code.LDR(Xscratch0, Xpagetable, Xscratch0);
if (ctx.conf.page_table_marked_bit) {
code.UBFX(Xscratch1, Xscratch0, *ctx.conf.page_table_marked_bit, 1);
code.CBNZ(Xscratch1, *fallback);
// check for marked bit
code.TBNZ(Xscratch0, *ctx.conf.page_table_marked_bit, *fallback);
}
if (ctx.conf.page_table_pointer_mask != 0) {