Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Fix XER comment.
details: https://anonhg.NetBSD.org/src/rev/600c57725f49
branches: trunk
changeset: 761556:600c57725f49
user: matt <matt%NetBSD.org@localhost>
date: Tue Feb 01 01:21:29 2011 +0000
description:
Fix XER comment.
Add spe variants for vectors.
diffstat:
sys/arch/powerpc/include/mcontext.h | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (30 lines):
diff -r 640ccde696f9 -r 600c57725f49 sys/arch/powerpc/include/mcontext.h
--- a/sys/arch/powerpc/include/mcontext.h Tue Feb 01 01:20:14 2011 +0000
+++ b/sys/arch/powerpc/include/mcontext.h Tue Feb 01 01:21:29 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.9 2011/01/18 01:02:54 matt Exp $ */
+/* $NetBSD: mcontext.h,v 1.10 2011/02/01 01:21:29 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -82,7 +82,7 @@
#define _REG_PC 34 /* PC (copy of SRR0) */
#define _REG_MSR 35 /* MSR (copy of SRR1) */
#define _REG_CTR 36 /* Count Register */
-#define _REG_XER 37 /* Integet Exception Reigster */
+#define _REG_XER 37 /* Integer Exception Register */
#define _REG_MQ 38 /* MQ Register (POWER only) */
typedef struct {
@@ -98,7 +98,10 @@
unsigned char __vr8[16];
unsigned short __vr16[8];
unsigned int __vr32[4];
- } __vrs[_NVR] __attribute__((__aligned__(16)));
+ unsigned char __spe8[8];
+ unsigned short __spe16[4];
+ unsigned int __spe32[2];
+ } __vrs[_NVR] __aligned(16);
unsigned int __vscr; /* VSCR */
unsigned int __vrsave; /* VRSAVE */
} __vrf_t;
Home |
Main Index |
Thread Index |
Old Index