<machine/signal.h>
. use netbsd sigframe, sigcontext struct . netbsd sigframe *contains* sigcontext; use that directly in kernel sigsend . drop two fields from minix x86 stackframe.h (process context) that were unused, retadr and st use in-sigframe sigcontext Change-Id: Ib59d699596dc3a78163dee59f19730482fdddf11
This commit is contained in:
@@ -5,6 +5,5 @@
|
||||
|
||||
IMPORT(_sigreturn)
|
||||
ENTRY(__sigreturn)
|
||||
add sp, sp, #24 /* make sp point to sigframe.sf_scpcopy */
|
||||
pop {r0} /* load it into r0 as parameter */
|
||||
pop {r0} /* load sigframe.sf_scp into r0 as parameter */
|
||||
b _C_LABEL(_sigreturn) /* _sigreturn(struct sigcontext *sf_scpcopy) */
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/signal.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/sigtypes.h>
|
||||
#include <sys/signal.h>
|
||||
#include <lib.h>
|
||||
#include <string.h>
|
||||
#include "namespace.h"
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include <lib.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <assert.h>
|
||||
#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <sys/signal.h>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include <lib.h>
|
||||
#include "namespace.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/statvfs.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <minix/ipc.h>
|
||||
#include <minix/com.h>
|
||||
#include <minix/syslib.h>
|
||||
#include <machine/stackframe.h>
|
||||
#include "vassert.h"
|
||||
|
||||
VAssert_StateWrapper vassert_state ALIGNED(VASSERT_PAGE_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user