PERFORCE change 30242 for review
Juli Mallett
jmallett at FreeBSD.org
Wed Apr 30 19:51:40 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30242
Change 30242 by jmallett at jmallett_dalek on 2003/04/30 19:50:52
We want offsets relative to the value in pcpup not relative
to pcpup.
Affected files ...
.. //depot/projects/mips/sys/mips/mips/locore_mips3.S#7 edit
.. //depot/projects/mips/sys/mips/mips/mips_subr.S#3 edit
Differences ...
==== //depot/projects/mips/sys/mips/mips/locore_mips3.S#7 (text+ko) ====
@@ -388,7 +388,7 @@
* if t1 is non-zero.
*/
LEAF(mips_maybewait_idle)
- la t0, pcpup
+ ld t0, pcpup
sd zero, PC_CURTHREAD(t0) # set curthread NULL
#if defined(LOCKDEBUG)
jal sched_unlock_idle # release sched_lock
==== //depot/projects/mips/sys/mips/mips/mips_subr.S#3 (text+ko) ====
@@ -586,7 +586,7 @@
/*
* Save all of the registers except for the kernel temporaries in u_pcb.
*/
- la k1, pcpup
+ ld k1, pcpup
ld k1, PC_CURPCB(k1)
#nop # -slip-
addu k1, k1, USPACE - FRAME_SIZ
@@ -655,7 +655,7 @@
/*
* Check pending asynchronous traps.
*/
- la t0, pcpup
+ ld t0, pcpup
ld t0, PC_CURTHREAD(t0)
lw t0, TD_FLAGS(t0)
and t0, TDF_ASTPENDING
@@ -750,7 +750,7 @@
NESTED_NOPROFILE(MIPSX(SystemCall), CALLFRAME_SIZ, ra)
.set noat
.mask 0x80000000, -4
- la k1, pcpup
+ ld k1, pcpup
ld k1, PC_CURPCB(k1)
#nop # -slip-
addu k1, k1, USPACE - FRAME_SIZ
@@ -762,7 +762,7 @@
REG_S a1, FRAME_A1(k1)
REG_S a2, FRAME_A2(k1)
REG_S a3, FRAME_A3(k1)
- la a0, pcpup
+ ld a0, pcpup
ld a0, PC_CURTHREAD(a0)
mfhi v1
#REG_S t0, FRAME_T0(k1) # no need to save temp regs
@@ -825,7 +825,7 @@
/*
* Check pending asynchronous traps.
*/
- la t0, pcpup
+ ld t0, pcpup
ld t0, PC_CURTHREAD(t0)
lw t0, TD_FLAGS(t0)
and t0, TDF_ASTPENDING
@@ -1090,7 +1090,7 @@
* Save the relevant user registers into the u_pcb.
* We don't need to save s0 - s8 because the compiler does it for us.
*/
- la k1, pcpup
+ ld k1, pcpup
ld k1, PC_CURPCB(k1)
#nop # -slip-
addu k1, k1, USPACE - FRAME_SIZ
@@ -1165,7 +1165,7 @@
nop # 3 nop hazard
nop
nop
- la v0, pcpup
+ ld v0, pcpup
ld v0, PC_CURTHREAD(v0)
addu a1, sp, CALLFRAME_SIZ
lw v0, TD_FLAGS
More information about the p4-projects
mailing list