diff options
author | obrien <obrien@FreeBSD.org> | 2001-01-02 00:11:41 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2001-01-02 00:11:41 +0000 |
commit | 5737790e1e0e3acd86e5d38f7087ec5043f3681e (patch) | |
tree | 36caa783f2ddd65972a32b00106efbc38452935e /sys/powerpc | |
parent | fbd89dbc0508efe708dd014a3d8a97fc6ff6ca69 (diff) | |
download | FreeBSD-src-5737790e1e0e3acd86e5d38f7087ec5043f3681e.zip FreeBSD-src-5737790e1e0e3acd86e5d38f7087ec5043f3681e.tar.gz |
Minor style tweaks.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/include/frame.h | 12 | ||||
-rw-r--r-- | sys/powerpc/include/ucontext.h | 7 |
2 files changed, 11 insertions, 8 deletions
diff --git a/sys/powerpc/include/frame.h b/sys/powerpc/include/frame.h index ee32172..b392f7e 100644 --- a/sys/powerpc/include/frame.h +++ b/sys/powerpc/include/frame.h @@ -1,6 +1,3 @@ -/* $FreeBSD$ */ -/* $NetBSD: frame.h,v 1.2 1999/01/10 10:13:15 tsubai Exp $ */ - /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. * Copyright (C) 1995, 1996 TooLs GmbH. @@ -30,7 +27,11 @@ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * $NetBSD: frame.h,v 1.2 1999/01/10 10:13:15 tsubai Exp $ + * $FreeBSD$ */ + #ifndef _MACHINE_FRAME_H_ #define _MACHINE_FRAME_H_ @@ -54,7 +55,7 @@ struct trapframe { register_t ctr; register_t srr0; register_t srr1; - register_t dar; /* dar & dsisr are only filled on a DSI trap */ + register_t dar; /* dar & dsisr are only filled on a DSI trap */ int dsisr; int exc; }; @@ -62,7 +63,8 @@ struct trapframe { * This is to ensure alignment of the stackpointer */ #define FRAMELEN roundup(sizeof(struct trapframe) + 8, 16) -#define trapframe(p) ((struct trapframe *)((char *)(p)->p_addr + USPACE - FRAMELEN + 8)) +#define trapframe(p) ((struct trapframe *)((char *)(p)->p_addr \ + + USPACE - FRAMELEN + 8)) struct switchframe { register_t sp; diff --git a/sys/powerpc/include/ucontext.h b/sys/powerpc/include/ucontext.h index 005bcdb..28e50f3 100644 --- a/sys/powerpc/include/ucontext.h +++ b/sys/powerpc/include/ucontext.h @@ -1,6 +1,3 @@ -/* $FreeBSD$ */ -/* $NetBSD: signal.h,v 1.4 1998/09/14 02:48:34 thorpej Exp $ */ - /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. * Copyright (C) 1995, 1996 TooLs GmbH. @@ -30,7 +27,11 @@ * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + * + * $NetBSD: signal.h,v 1.4 1998/09/14 02:48:34 thorpej Exp $ + * $FreeBSD$ */ + #ifndef _MACHINE_UCONTEXT_H_ #define _MACHINE_UCONTEXT_H_ |