Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jan 2015 21:08:28 +0000 (UTC)
From:      Justin Hibbits <jhibbits@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276635 - head/sys/powerpc/include
Message-ID:  <201501032108.t03L8Sxi070809@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhibbits
Date: Sat Jan  3 21:08:27 2015
New Revision: 276635
URL: https://svnweb.freebsd.org/changeset/base/276635

Log:
  Resort and resize the altivec registers in the pcb.  vrsave and vscr are both
  32-bit registers via the PowerPC spec.
  
  X-MFC-with:	r276634
  MFC after:	2 weeks

Modified:
  head/sys/powerpc/include/pcb.h

Modified: head/sys/powerpc/include/pcb.h
==============================================================================
--- head/sys/powerpc/include/pcb.h	Sat Jan  3 21:06:06 2015	(r276634)
+++ head/sys/powerpc/include/pcb.h	Sat Jan  3 21:08:27 2015	(r276635)
@@ -58,9 +58,9 @@ struct pcb {
 							stuff. */
 	struct vec {
 		uint32_t vr[32][4];
-		register_t vrsave;
-		register_t spare[2];
-		register_t vscr;	/* aligned at vector element 3 */
+		uint32_t spare[2];
+		uint32_t vrsave;
+		uint32_t vscr;	/* aligned at vector element 3 */
 	} pcb_vec __aligned(16);	/* Vector processor */
 	unsigned int	pcb_veccpu;		/* which CPU had our vector
 							stuff. */



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