af7e9be5cc
- %fs register is added to trapframe and saved/restored upon kernel entry/exit. - Per-cpu pages are no longer mapped at the same virtual address. - Each cpu now has a separate gdt selector table. A new segment selector is added to point to per-cpu pages, per-cpu global variables are now accessed through this new selector (%fs). The selectors in gdt table are rearranged for cache line optimization. - fask_vfork is now on as default for both UP and SMP. - Some aio code cleanup. Reviewed by: Alan Cox <alc@cs.rice.edu> John Dyson <dyson@iquest.net> Julian Elischer <julian@whistel.com> Bruce Evans <bde@zeta.org.au> David Greenman <dg@root.com>
25 lines
662 B
ArmAsm
25 lines
662 B
ArmAsm
#include "linux_assym.h" /* system definitions */
|
|
#include <machine/asmacros.h> /* miscellaneous asm macros */
|
|
|
|
#include <i386/linux/linux_syscall.h> /* system call numbers */
|
|
|
|
NON_GPROF_ENTRY(linux_sigcode)
|
|
call LINUX_SIGF_HANDLER(%esp)
|
|
leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */
|
|
movl LINUX_SC_GS(%ebx),%edx
|
|
movl %dx,%gs
|
|
push %eax /* fake ret addr */
|
|
movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */
|
|
int $0x80 /* enter kernel with args on stack */
|
|
hlt /* never gets here */
|
|
|
|
.align 2 /* long word align */
|
|
_linux_esigcode:
|
|
|
|
.data
|
|
.globl _linux_szsigcode
|
|
_linux_szsigcode:
|
|
.long _linux_esigcode-_linux_sigcode
|
|
|
|
.text
|