Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax use PR_IPL instead of 0x12.
details: https://anonhg.NetBSD.org/src/rev/cff92ee8a45a
branches: trunk
changeset: 487230:cff92ee8a45a
user: matt <matt%NetBSD.org@localhost>
date: Sun Jun 04 18:13:06 2000 +0000
description:
use PR_IPL instead of 0x12.
align entries of various symbols.
diffstat:
sys/arch/vax/vax/subr.s | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diffs (83 lines):
diff -r 6391302670bc -r cff92ee8a45a sys/arch/vax/vax/subr.s
--- a/sys/arch/vax/vax/subr.s Sun Jun 04 18:10:40 2000 +0000
+++ b/sys/arch/vax/vax/subr.s Sun Jun 04 18:13:06 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subr.s,v 1.45 2000/06/04 02:19:28 matt Exp $ */
+/* $NetBSD: subr.s,v 1.46 2000/06/04 18:13:06 matt Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
@@ -102,6 +102,7 @@
* Signal handler code.
*/
+ .align 2
.globl _sigcode,_esigcode
_sigcode: pushr $0x3f
subl2 $0xc,sp
@@ -111,10 +112,10 @@
chmk $SYS___sigreturn14
chmk $SYS_exit
halt
- .align 2
_esigcode:
#ifdef COMPAT_IBCS2
+ .align 2
.globl _ibcs2_sigcode,_ibcs2_esigcode
_ibcs2_sigcode: pushr $0x3f
subl2 $0xc,sp
@@ -124,11 +125,11 @@
chmk $SYS___sigreturn14
chmk $SYS_exit
halt
- .align 2
_ibcs2_esigcode:
#endif /* COMPAT_IBCS2 */
#ifdef COMPAT_ULTRIX
+ .align 2
.globl _ultrix_sigcode,_ultrix_esigcode
_ultrix_sigcode: pushr $0x3f
subl2 $0xc,sp
@@ -138,10 +139,10 @@
chmk $ULTRIX_SYS_sigreturn
chmk $SYS_exit
halt
- .align 2
_ultrix_esigcode:
#endif
+ .align 2
.globl _idsptch, _eidsptch
_idsptch: pushr $0x3f
.word 0x9f16 # jsb to absolute address
@@ -163,8 +164,8 @@
rei # return from interrut
ENTRY(badaddr,0) # Called with addr,b/w/l
- mfpr $0x12,r0 # splhigh()
- mtpr $IPL_HIGH,$0x12
+ mfpr $PR_IPL,r0 # splhigh()
+ mtpr $IPL_HIGH,$PR_IPL
movl 4(ap),r2 # First argument, the address
movl 8(ap),r1 # Sec arg, b,w,l
pushl r0 # Save old IPL
@@ -187,7 +188,7 @@
brb 5f
4: incl r3 # Got machine chk => addr bad
-5: mtpr (sp)+,$0x12
+5: mtpr (sp)+,$PR_IPL
movl r3,r0
ret
@@ -201,7 +202,7 @@
movl 8(fp), (r0)
movl 12(fp), 4(r0)
movl 16(fp), 8(r0)
- addl3 fp,$28,12(r0)
+ moval 28(fp),12(r0)
clrl r0
ret
Home |
Main Index |
Thread Index |
Old Index