SYSENTER: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Line 64:
====64 bit mode====
The operation in 64 bit mode is the same, except that RIP is loaded from LSTAR, or CSTAR of in IA32-e submode (A.K.A. compatibility mode). It also respectively saves and loads RFLAGS to and from R11.
As well, in Long Mode, userland CS will be loaded from STAR 63:48 + 16 on SYSRET. Therefore, you might need to invertsetup your userlandGDT data and code segments in your GDTaccordingly.
 
==Compatibility across Intel and AMD==