svn commit: r198938 - projects/ppc64/sys/powerpc/include

Nathan Whitehorn nwhitehorn at FreeBSD.org
Thu Nov 5 03:07:37 UTC 2009


Author: nwhitehorn
Date: Thu Nov  5 03:07:37 2009
New Revision: 198938
URL: http://svn.freebsd.org/changeset/base/198938

Log:
  Fix some types in the ucontext struct to handle 64-bit and Book-E.

Modified:
  projects/ppc64/sys/powerpc/include/ucontext.h

Modified: projects/ppc64/sys/powerpc/include/ucontext.h
==============================================================================
--- projects/ppc64/sys/powerpc/include/ucontext.h	Thu Nov  5 02:31:10 2009	(r198937)
+++ projects/ppc64/sys/powerpc/include/ucontext.h	Thu Nov  5 03:07:37 2009	(r198938)
@@ -44,7 +44,7 @@ typedef struct __mcontext {
 	int		mc_len;			/* sizeof(__mcontext) */
 	uint64_t	mc_avec[32*2];		/* vector register file */
 	uint32_t	mc_av[2];
-	uint32_t	mc_frame[41];
+	register_t	mc_frame[42];
 	uint64_t	mc_fpreg[33];
 } mcontext_t __aligned(16);
 


More information about the svn-src-projects mailing list