Remove NetBSD implementation details not relevant to FreeBSD.

This commit is contained in:
imp 2014-05-23 00:21:02 +00:00
parent 5c6ba1147e
commit 71acd28e77

View File

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