System Call on Linux 2.6 for i386(2) int 0x80与systementer

先给俩网址
http://fxr.watson.org/ FreeBSD and Linux Kernel Cross-Reference
http://lxr.linux.no/ the Linux Cross Reference

2.6.23版本的entry.s如下:(另外2.6.25里的东西有点变化,在我系统上下的就是2.6.25,其中的变化是:/arch/x86/kernel(主:此处没有了i386,i386和i686都在x86/kernel下,分别叫entry_32.S,entry_64.S))
http://lxr.linux.no/linux+v2.6.23/arch/i386/kernel/entry.S
2.4版本的entry.s
http://fxr.watson.org/fxr/source/arch/i386/kernel/entry.S?v=linux-2.4.22 (只可惜我们只用2.6的,这个版本给出来只是给人参考的,在这儿咱不准备分析啥了)

linux在2.5的版本上就支持了sysenter了,在2.6.25的版本上的sysenter在哪儿我也没瞅到,他说是在
/* SYSENTER_RETURN points to after the "sysenter" instruction in
   the vsyscall page.  See vsyscall-sysentry.S, which defines the symbol.  
*/
可是老子没找着,先闪了,等我读懂了,弄透了再说把,唉,作业呐~~,五一阿~~
2.6.23的版本上的sysenter.c
http://lxr.linux.no/linux/arch/i386/kernel/sysenter.c
原文地址:https://www.cnblogs.com/Comet/p/1167925.html