first pass siginfo for mips
This commit is contained in:
parent
8ca558e8ed
commit
61e4914300
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: frame.h,v 1.2 2003/01/17 23:36:08 thorpej Exp $ */
|
||||
/* $NetBSD: frame.h,v 1.3 2003/10/29 23:40:42 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -66,6 +66,11 @@ struct saframe {
|
||||
sa_upcall_t sa_upcall;
|
||||
};
|
||||
|
||||
void *getframe(struct lwp *, int, int *);
|
||||
#ifdef COMPAT_16
|
||||
void sendsig_sigcontext(const ksiginfo_t *, const sigset_t *);
|
||||
#endif
|
||||
|
||||
#endif /* _LOCORE */
|
||||
|
||||
#endif /* _MIPS_FRAME_H_ */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mcontext.h,v 1.4 2003/10/08 22:43:01 thorpej Exp $ */
|
||||
/* $NetBSD: mcontext.h,v 1.5 2003/10/29 23:40:42 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2002 The NetBSD Foundation, Inc.
|
||||
@ -141,6 +141,9 @@ typedef struct {
|
||||
#define _OFFSETOF_UC_GREGS 56
|
||||
#endif
|
||||
|
||||
#define _UC_SETSTACK 0x00010000
|
||||
#define _UC_CLRSTACK 0x00020000
|
||||
|
||||
#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_SP])
|
||||
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_EPC])
|
||||
#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[_REG_V0])
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: signal.h,v 1.20 2003/08/07 16:28:29 agc Exp $ */
|
||||
/* $NetBSD: signal.h,v 1.21 2003/10/29 23:40:42 christos Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
@ -41,8 +41,16 @@
|
||||
|
||||
#include <machine/cdefs.h> /* for API selection */
|
||||
|
||||
#define __HAVE_SIGINFO
|
||||
#ifdef COMPAT_16
|
||||
#define SIGTRAMP_VALID(vers) ((unsigned)(vers) <= 2)
|
||||
#else
|
||||
#define SIGTRAMP_VALID(vers) ((vers) == 2)
|
||||
#endif
|
||||
|
||||
#if !defined(__ASSEMBLER__)
|
||||
|
||||
|
||||
/*
|
||||
* Machine-dependent signal definitions
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user