projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c1cc99
)
X86: Implement sysenter as a system call interface.
author
Gabe Black
<gblack@eecs.umich.edu>
Fri, 27 Feb 2009 17:25:43 +0000
(09:25 -0800)
committer
Gabe Black
<gblack@eecs.umich.edu>
Fri, 27 Feb 2009 17:25:43 +0000
(09:25 -0800)
src/arch/x86/isa/decoder/two_byte_opcodes.isa
patch
|
blob
|
history
diff --git
a/src/arch/x86/isa/decoder/two_byte_opcodes.isa
b/src/arch/x86/isa/decoder/two_byte_opcodes.isa
index 64920bcbdcc8ab45a77770187586490d5e5be815..c3fb5c19d600e7e013be2dc1f265f0345c09d906 100644
(file)
--- a/
src/arch/x86/isa/decoder/two_byte_opcodes.isa
+++ b/
src/arch/x86/isa/decoder/two_byte_opcodes.isa
@@
-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();