diff --git a/sys/arch/sparc64/include/frame.h b/sys/arch/sparc64/include/frame.h index 78f43586e20e..9f0b25de2454 100644 --- a/sys/arch/sparc64/include/frame.h +++ b/sys/arch/sparc64/include/frame.h @@ -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 + +#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 diff --git a/sys/arch/sparc64/include/mcontext.h b/sys/arch/sparc64/include/mcontext.h index f66e9ed718bb..2fa4f202a6b5 100644 --- a/sys/arch/sparc64/include/mcontext.h +++ b/sys/arch/sparc64/include/mcontext.h @@ -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])