summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-05-23 00:21:02 +0000
committerimp <imp@FreeBSD.org>2014-05-23 00:21:02 +0000
commit71acd28e775ae72d5b874ed4c22366fadfcf3c7e (patch)
treec8c41d1523bdb820b5492f056b88b5e4f9db03b9 /sys/arm
parent5c6ba1147e2961bf679379de22636c664ffe08ec (diff)
downloadFreeBSD-src-71acd28e775ae72d5b874ed4c22366fadfcf3c7e.zip
FreeBSD-src-71acd28e775ae72d5b874ed4c22366fadfcf3c7e.tar.gz
Remove NetBSD implementation details not relevant to FreeBSD.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/include/ucontext.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/arm/include/ucontext.h b/sys/arm/include/ucontext.h
index cebf2ad..afcd88d 100644
--- a/sys/arm/include/ucontext.h
+++ b/sys/arm/include/ucontext.h
@@ -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_ */
OpenPOWER on IntegriCloud