X86: Implement sysenter as a system call interface.
This commit is contained in:
parent
5c1cc99d48
commit
c3d7d7ed0e
1 changed files with 4 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue