Module Name: src
Committed By: matt
Date: Tue Jan 11 07:11:59 UTC 2011
Modified Files:
src/sys/arch/powerpc/include [matt-nb5-pq3]: mcontext.h
Log Message:
Add a _UC_POWERPC_SPE bit to indicate the vectors are from SPE.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.8.26.1 src/sys/arch/powerpc/include/mcontext.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/include/mcontext.h
diff -u src/sys/arch/powerpc/include/mcontext.h:1.8 src/sys/arch/powerpc/include/mcontext.h:1.8.26.1
--- src/sys/arch/powerpc/include/mcontext.h:1.8 Mon Apr 28 20:23:32 2008
+++ src/sys/arch/powerpc/include/mcontext.h Tue Jan 11 07:11:59 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.8 2008/04/28 20:23:32 martin Exp $ */
+/* $NetBSD: mcontext.h,v 1.8.26.1 2011/01/11 07:11:59 matt Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -111,6 +111,7 @@
/* Machine-dependent uc_flags */
#define _UC_POWERPC_VEC 0x00010000 /* Vector Register File valid */
+#define _UC_POWERPC_SPE 0x00020000 /* Vector Register File valid */
#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_R1])
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.__gregs[_REG_PC])