mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-12 06:39:26 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 38bc353305 | |||
| ec111683cd |
@@ -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) {
|
||||||
// check for marked bit
|
code.TST(Xscratch0, 1ULL << *ctx.conf.page_table_marked_bit);
|
||||||
code.TBNZ(Xscratch0, *ctx.conf.page_table_marked_bit, *fallback);
|
code.B(NE, *fallback);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx.conf.page_table_pointer_mask != 0) {
|
if (ctx.conf.page_table_pointer_mask != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user