svn commit: r276635 - head/sys/powerpc/include
Justin Hibbits
jhibbits at FreeBSD.org
Sat Jan 3 21:08:28 UTC 2015
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. */
More information about the svn-src-head
mailing list