<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:
Ben Gras
2013-12-11 00:47:22 +01:00
committed by Lionel Sambuc
parent 66a4f9a240
commit 7597f4a8fc
22 changed files with 411 additions and 145 deletions

View File

@@ -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) */

View File

@@ -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"

View File

@@ -4,6 +4,7 @@
#include <lib.h>
#include <string.h>
#include <assert.h>
#include <signal.h>
#include <string.h>
#include <sys/signal.h>

View File

@@ -2,6 +2,7 @@
#include <lib.h>
#include "namespace.h"
#include <sys/types.h>
#include <sys/statvfs.h>
#include <string.h>

View File

@@ -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);