PERFORCE change 42576 for review
Peter Wemm
peter at FreeBSD.org
Sun Nov 16 13:40:48 PST 2003
http://perforce.freebsd.org/chv.cgi?CH=42576
Change 42576 by peter at peter_overcee on 2003/11/16 13:40:07
update the tss_rsp0 and pc_rsp0. the more expensive form should
be #ifdef SMP
Affected files ...
.. //depot/projects/hammer/sys/amd64/amd64/cpu_switch.S#11 edit
Differences ...
==== //depot/projects/hammer/sys/amd64/amd64/cpu_switch.S#11 (text+ko) ====
@@ -201,8 +201,11 @@
wrmsr
/* Update the TSS_RSP0 pointer for the next interrupt */
+ movq PCPU(TSSP), %rax
+ addq $COMMON_TSS_RSP0, %rax
leaq -16(%r8), %rbx
- movq %rbx, common_tss + COMMON_TSS_RSP0
+ movq %rbx, (%rax)
+ movq %rbx, PCPU(RSP0)
/* Restore context. */
movq PCB_RBX(%r8),%rbx
More information about the p4-projects
mailing list