Port-powerpc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: (PReP 7248) battable address to align



nicely found!  thanks to yourself and kiyohara!

would you mind testing if this works instead of your patch?


.mrg.


Index: include/oea/bat.h
===================================================================
RCS file: /cvsroot/src/sys/arch/powerpc/include/oea/bat.h,v
retrieving revision 1.14
diff -p -u -r1.14 bat.h
--- include/oea/bat.h   20 Jun 2011 06:04:33 -0000      1.14
+++ include/oea/bat.h   5 Jul 2014 13:47:30 -0000
@@ -69,7 +69,7 @@
 struct bat {
        register_t batu;
        register_t batl;
-};
+} __aligned(8);
 #endif
 
 /* Lower BAT bits (all but PowerPC 601): */


Home | Main Index | Thread Index | Old Index