diff options
author | mp <mp@FreeBSD.org> | 2001-09-20 00:47:17 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2001-09-20 00:47:17 +0000 |
commit | a2e5cb9c1ece11bd25f867c25e6f34022389125f (patch) | |
tree | c07dd541ea7e2e8cf948e0f0147a7d96d38bf958 /sys/powerpc/aim/swtch.S | |
parent | 7418b6f0974dece312233d4ca5fd06777377bf9c (diff) | |
download | FreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.zip FreeBSD-src-a2e5cb9c1ece11bd25f867c25e6f34022389125f.tar.gz |
Update PowerPC MD code to compile and do initial bootstrap based on
recent changes (KSE and VM requiring physmem to be setup).
Reviewed by: benno, jhb, julian
Diffstat (limited to 'sys/powerpc/aim/swtch.S')
-rw-r--r-- | sys/powerpc/aim/swtch.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/powerpc/aim/swtch.S b/sys/powerpc/aim/swtch.S index af18976..bcdfcae 100644 --- a/sys/powerpc/aim/swtch.S +++ b/sys/powerpc/aim/swtch.S @@ -154,7 +154,7 @@ ENTRY(cpu_switch) stw 3,PCB_SPL(31) /* save spl */ /* Find a new process */ - bl chooseproc + bl choosethread 1: /* record new process */ @@ -172,7 +172,7 @@ ENTRY(cpu_switch) mr 12,2 /* save r2 */ stwu 1,-SFRAMELEN(1) /* still running on old stack */ stmw 10,8(1) - lwz 3,TD_ADDR(30) + lwz 3,TD_PCB(30) stw 1,PCB_SP(3) /* save SP */ switch_exited: @@ -182,7 +182,7 @@ switch_exited: mtmsr 3 /* indicate new pcb */ - lwz 4,TD_ADDR(31) + lwz 4,TD_PCB(31) mfsprg 5,0 stw 4,GD_CURPCB(5) |