Module Name: src Committed By: mrg Date: Sun Mar 7 01:52:44 UTC 2010
Modified Files: src/sys/arch/sparc64/include: locore.h src/sys/arch/sparc64/sparc64: locore.s Log Message: need _ALIGN in locore.h as well, for DEBUG kernels. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/arch/sparc64/include/locore.h cvs rdiff -u -r1.324 -r1.325 src/sys/arch/sparc64/sparc64/locore.s 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/sparc64/include/locore.h diff -u src/sys/arch/sparc64/include/locore.h:1.2 src/sys/arch/sparc64/include/locore.h:1.3 --- src/sys/arch/sparc64/include/locore.h:1.2 Sun Mar 7 00:42:58 2010 +++ src/sys/arch/sparc64/include/locore.h Sun Mar 7 01:52:44 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.h,v 1.2 2010/03/07 00:42:58 mrg Exp $ */ +/* $NetBSD: locore.h,v 1.3 2010/03/07 01:52:44 mrg Exp $ */ /* * Copyright (c) 1996-2002 Eduardo Horvath @@ -86,3 +86,7 @@ /* if < 32, copy by bytes, memcpy, kcopy, ... */ #define BCOPY_SMALL 32 + +/* use as needed to align things on longword boundaries */ +#define _ALIGN .align 8 +#define ICACHE_ALIGN .align 32 Index: src/sys/arch/sparc64/sparc64/locore.s diff -u src/sys/arch/sparc64/sparc64/locore.s:1.324 src/sys/arch/sparc64/sparc64/locore.s:1.325 --- src/sys/arch/sparc64/sparc64/locore.s:1.324 Sun Mar 7 00:42:58 2010 +++ src/sys/arch/sparc64/sparc64/locore.s Sun Mar 7 01:52:44 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: locore.s,v 1.324 2010/03/07 00:42:58 mrg Exp $ */ +/* $NetBSD: locore.s,v 1.325 2010/03/07 01:52:44 mrg Exp $ */ /* * Copyright (c) 1996-2002 Eduardo Horvath @@ -117,10 +117,6 @@ .register %g2,#scratch .register %g3,#scratch -/* use as needed to align things on longword boundaries */ -#define _ALIGN .align 8 -#define ICACHE_ALIGN .align 32 - /* * This macro will clear out a cache line before an explicit * access to that location. It's mostly used to make certain