Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 Use BLOCK_ALIGN rather than BLOCK_S...
details: https://anonhg.NetBSD.org/src/rev/129a9f1784b7
branches: trunk
changeset: 546436:129a9f1784b7
user: nakayama <nakayama%NetBSD.org@localhost>
date: Tue Apr 29 05:53:11 2003 +0000
description:
Use BLOCK_ALIGN rather than BLOCK_SIZE for aligning a pointer.
diffstat:
sys/arch/sparc64/sparc64/locore.s | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9e5045a871e5 -r 129a9f1784b7 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Tue Apr 29 05:42:43 2003 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Tue Apr 29 05:53:11 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.175 2003/04/27 10:42:53 ragge Exp $ */
+/* $NetBSD: locore.s,v 1.176 2003/04/29 05:53:11 nakayama Exp $ */
/*
* Copyright (c) 1996-2002 Eduardo Horvath
@@ -333,7 +333,7 @@
sethi %hi(FPLWP), %l1; \
add %fp, STKB-FS_SIZE, %l0; /* Allocate a fpstate */ \
LDPTR [%l1 + %lo(FPLWP)], %l2; /* Load fplwp */ \
- andn %l0, BLOCK_SIZE, %l0; /* Align it */ \
+ andn %l0, BLOCK_ALIGN, %l0; /* Align it */ \
clr %l3; /* NULL fpstate */ \
brz,pt %l2, 1f; /* fplwp == NULL? */ \
add %l0, -STKB-CC64FSZ-(siz), %sp; /* Set proper %sp */ \
Home |
Main Index |
Thread Index |
Old Index