Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2014 00:21:02 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r266570 - head/sys/arm/include
Message-ID:  <201405230021.s4N0L2ko088845@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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_ */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405230021.s4N0L2ko088845>