Module Name: src
Committed By: matt
Date: Thu Jan 19 20:55:38 UTC 2012
Modified Files:
src/sys/arch/mips/include: mips_param.h
Log Message:
Add ALIGNBYTES32/ALIGN32 (same as ALIGNBYTES/ALIGN).
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/mips/include/mips_param.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/mips_param.h
diff -u src/sys/arch/mips/include/mips_param.h:1.29 src/sys/arch/mips/include/mips_param.h:1.30
--- src/sys/arch/mips/include/mips_param.h:1.29 Sat Mar 5 14:26:01 2011
+++ src/sys/arch/mips/include/mips_param.h Thu Jan 19 20:55:38 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_param.h,v 1.29 2011/03/05 14:26:01 matt Exp $ */
+/* $NetBSD: mips_param.h,v 1.30 2012/01/19 20:55:38 matt Exp $ */
#ifdef _KERNEL
#include <machine/cpu.h>
@@ -79,7 +79,9 @@
*
*/
#define ALIGNBYTES 7
+#define ALIGNBYTES32 ALIGNBYTES
#define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) & ~ALIGNBYTES)
+#define ALIGN32(p) (((uintptr_t)(p) + ALIGNBYTES32) & ~ALIGNBYTES32)
#define ALIGNED_POINTER(p,t) ((((uintptr_t)(p)) & (sizeof(t)-1)) == 0)
#ifdef ENABLE_MIPS_16KB_PAGE