more siginfo glue
This commit is contained in:
parent
3d54c93f8e
commit
a5d24112bb
@ -1,3 +1,12 @@
|
||||
/* $NetBSD: frame.h,v 1.11 2002/07/20 11:52:21 mrg Exp $ */
|
||||
/* $NetBSD: frame.h,v 1.12 2003/10/26 08:06:56 christos Exp $ */
|
||||
|
||||
#include <sparc/frame.h>
|
||||
|
||||
#ifndef _LOCORE
|
||||
#ifdef COMPAT_16
|
||||
void sendsig_sigcontext(const ksiginfo_t *, const sigset_t *);
|
||||
#endif
|
||||
|
||||
void *getframe(struct lwp *, int, int *);
|
||||
void buildcontext(struct lwp *, void *, const void *, void *);
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mcontext.h,v 1.3 2003/10/13 23:45:14 christos Exp $ */
|
||||
/* $NetBSD: mcontext.h,v 1.4 2003/10/26 08:06:56 christos Exp $ */
|
||||
|
||||
#ifndef _SPARC64_MCONTEXT_H_
|
||||
#define _SPARC64_MCONTEXT_H_
|
||||
@ -62,6 +62,9 @@ typedef struct {
|
||||
__xrs_t __xrs; /* may indicate extra reg state */
|
||||
} mcontext32_t;
|
||||
|
||||
#define _UC_SETSTACK 0x00010000
|
||||
#define _UC_CLRSTACK 0x00020000
|
||||
|
||||
#define _UC_MACHINE32_PAD_32 /* Padding appended to ucontext_t */
|
||||
#define _UC_MACHINE32_SP(uc) ((uc)->uc_mcontext.__gregs[_REG32_O6])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user