First post, by superfury
superfury
Offline
Rank
l33t++
How does VERR and VERW handle non-present descriptors? Does it clear the zero flag in that case? Or is it ignored(that would be strange)? Nothing is documented about that.
https://www.felixcloutier.com/x86/verr:verw
https://pdos.csail.mit.edu/6.828/2012/readings/i386/VERR.htm
Edit: The documentation says it to be writable(VERW) or readable(VERR) and that it performs the same checks as loading it into a register and trying a read or write accordingly. So that means the Present(Valid in Bochs) must be accounted for(just not in LSL/LAR)?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io