Candy wrote:
No problem as far as I can see. You might have trouble with sysenter in compatibility mode on amd64 though, but then, imo, screw intel.
;D
Did the linux kernel's ABI anywhen use anything else than an interrupt gate? From the programming guides I looked at, they always issued "int $0x80", IIRC.
Quote:
Kemp:
But basically, it comes down to SYSENTER/SYSEXIT in a 32-bit kernel and SYSCALL/SYSRET in a 64-bit one if you want to maintain compatibility between the processors? Can never make things easy for us can they...
I can remember having read somewhere that certain ring transition techniques consume very different amounts of clock cycles on Intel and AMD CPUs. IIRC, call gates are much slower on current CPUs than interrupt gates, and I think that SYSENTER/SYSEXIT was also a problematic thing on AMD...
cheers Joe