svn commit: r266570 - head/sys/arm/include

Warner Losh imp at FreeBSD.org
Fri May 23 00:21:02 UTC 2014


Author: imp
Date: Fri May 23 00:21:02 2014
New Revision: 266570
URL: http://svnweb.freebsd.org/changeset/base/266570

Log:
  Remove NetBSD implementation details not relevant to FreeBSD.

Modified:
  head/sys/arm/include/ucontext.h

Modified: head/sys/arm/include/ucontext.h
==============================================================================
--- head/sys/arm/include/ucontext.h	Fri May 23 00:20:57 2014	(r266569)
+++ head/sys/arm/include/ucontext.h	Fri May 23 00:21:02 2014	(r266570)
@@ -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_ */


More information about the svn-src-head mailing list