diff options
Diffstat (limited to 'lib/libc_r/arch')
-rw-r--r-- | lib/libc_r/arch/sparc/uthread_machdep_asm.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc_r/arch/sparc/uthread_machdep_asm.S b/lib/libc_r/arch/sparc/uthread_machdep_asm.S index 52a41d472f8..4e85e368a31 100644 --- a/lib/libc_r/arch/sparc/uthread_machdep_asm.S +++ b/lib/libc_r/arch/sparc/uthread_machdep_asm.S @@ -1,4 +1,4 @@ -/* $OpenBSD: uthread_machdep_asm.S,v 1.2 2001/09/10 19:39:27 jason Exp $ */ +/* $OpenBSD: uthread_machdep_asm.S,v 1.3 2001/12/18 03:44:40 marc Exp $ */ /* David Leonard <d@csee.uq.edu.au>. Public domain. */ #include <machine/asm.h> @@ -12,11 +12,11 @@ #ifdef __sparcv9__ #define flushw .word 0x81580000 #else -#define flushw t T_FLUSHWIN +#define flushw t ST_FLUSHWIN #endif -#define SA(x) (((x)+15)&(~0x1f)) -#define MINFRAME ((16+1+6)*8) +#define SA(x) (((x)+7)&(~0x7)) +#define MINFRAME ((16+1+6)*4) /* void _thread_switch(int newstate[2], int savestate[2], int flags); */ ENTRY(_thread_machdep_switch) |