Module Name: src
Committed By: matt
Date: Sat Sep 5 03:18:49 UTC 2009
Modified Files:
src/sys/arch/mips/include [matt-nb5-mips64]: locore.h
Log Message:
Change padding in kern_frame so it has quad-word (16 bytes) alignment.
Then when allocated on a stack, the stack keeps 16 byte alignment.
To generate a diff of this commit:
cvs rdiff -u -r1.78.36.1.2.3 -r1.78.36.1.2.4 \
src/sys/arch/mips/include/locore.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/include/locore.h
diff -u src/sys/arch/mips/include/locore.h:1.78.36.1.2.3 src/sys/arch/mips/include/locore.h:1.78.36.1.2.4
--- src/sys/arch/mips/include/locore.h:1.78.36.1.2.3 Sun Aug 30 10:01:03 2009
+++ src/sys/arch/mips/include/locore.h Sat Sep 5 03:18:49 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.h,v 1.78.36.1.2.3 2009/08/30 10:01:03 matt Exp $ */
+/* $NetBSD: locore.h,v 1.78.36.1.2.4 2009/09/05 03:18:49 matt Exp $ */
/*
* Copyright 1996 The Board of Trustees of The Leland Stanford
@@ -483,7 +483,7 @@
#endif
#endif
#if defined(__mips_n32) || defined(__mips_n64)
- register_t cf_pad;
+ register_t cf_pad[2]; /* for 16 byte alignment */
#endif
register_t cf_sp;
register_t cf_ra;