First post, by superfury
What is the value of the CS selector when jumping/calling a call gate? I know the call gate contains CS and EIP, but is the resulting value of CS(and CS.RPL by extension) the one that's loading(pointing to) the call gate, or is it the value that's within the call gate descriptor? What about the resulting privilege level? Is it simply the low 2 bits of the CS selector in the call gate descriptor?
Author of the UniPCemu emulator.
UniPCemu Git repository
UniPCemu for Android, Windows, PSP, Vita and Switch on itch.io