Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/mips/include Add ALIGNBYTES32/ALIGN32 (same as ALIG...
details: https://anonhg.NetBSD.org/src/rev/3e19680c75a8
branches: trunk
changeset: 772880:3e19680c75a8
user: matt <matt%NetBSD.org@localhost>
date: Thu Jan 19 20:55:38 2012 +0000
description:
Add ALIGNBYTES32/ALIGN32 (same as ALIGNBYTES/ALIGN).
diffstat:
sys/arch/mips/include/mips_param.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r b9bbb2d041a0 -r 3e19680c75a8 sys/arch/mips/include/mips_param.h
--- a/sys/arch/mips/include/mips_param.h Thu Jan 19 19:58:16 2012 +0000
+++ b/sys/arch/mips/include/mips_param.h Thu Jan 19 20:55:38 2012 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index