X86: Implement sysenter as a system call interface.

This commit is contained in:
Gabe Black 2009-02-27 09:25:43 -08:00
parent 5c1cc99d48
commit c3d7d7ed0e

View file

@ -420,7 +420,11 @@
0x1: Inst::RDTSC();
0x2: Inst::RDMSR();
0x3: rdpmc();
#if FULL_SYSTEM
0x4: sysenter();
#else
0x4: SyscallInst::sysenter('xc->syscall(Rax)', IsSyscall);
#endif
0x5: sysexit();
0x6: Inst::UD2();
0x7: getsec();