Remove NetBSD implementation details not relevant to FreeBSD.
This commit is contained in:
parent
5c6ba1147e
commit
71acd28e77
@ -97,12 +97,4 @@ typedef struct {
|
||||
#define _UC_SETSTACK 0x00020000
|
||||
#define _UC_CLRSTACK 0x00040000
|
||||
|
||||
#define _UC_MACHINE_PAD 3 /* Padding appended to ucontext_t */
|
||||
|
||||
#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_SP])
|
||||
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])
|
||||
#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[_REG_R0])
|
||||
|
||||
#define _UC_MACHINE_SET_PC(uc, pc) _UC_MACHINE_PC(uc) = (pc)
|
||||
|
||||
#endif /* !_MACHINE_MCONTEXT_H_ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user