First post, by superfury

User metadata
Rank l33t

When an entry isn't found in the TLB and to be loaded from memory, what is the order of page fault checks that are executed?

There's checking on the PDE's Present bit, the PTE's present bit and the rights(privilege and read/write).

It currently first checks the PDE's present bit, then the PTE's present bit and finally the rights. I thatmcorrect behaviour?

Edit: One more thing: What happens during partially validated page faults? So when two pages are to be validated(e.g. an operand crossing 4K page boundaries) and the first page is present&valid but the 2nd page isn't? Will the first page get loaded into the TLB(setting the Dirty and Accessed flags in the PDE&PTE accordingly in RAM)?

UniPCemu Git repository
UniPCemu for Android, Windows and PSP on itch.io
Older UniPCemu PC/Android/PSP releases