1/* $FreeBSD: head/sys/i386/linux/linux_locore.s 68519 2000-11-09 07:27:55Z marcel $ */ |
2 3#include "linux_assym.h" /* system definitions */ |
4#include <machine/asmacros.h> /* miscellaneous asm macros */ |
5 |
6#include <linux_syscall.h> /* system call numbers */ |
7 8NON_GPROF_ENTRY(linux_sigcode) 9 call *LINUX_SIGF_HANDLER(%esp) 10 leal LINUX_SIGF_SC(%esp),%ebx /* linux scp */ 11 movl LINUX_SC_GS(%ebx),%gs 12 push %eax /* fake ret addr */ 13 movl $LINUX_SYS_linux_sigreturn,%eax /* linux_sigreturn() */ 14 int $0x80 /* enter kernel with args */ --- 26 unchanged lines hidden --- |