re: (PReP 7248) battable address to align
matthew green <[email protected]> Sat, 05 Jul 2014 23:48:49 +1000
| Newsgroups | gmane.os.netbsd.ports.powerpc,gmane.os.netbsd.ports.prep |
|---|---|
| Message-ID | <[email protected]> |
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): */