Date: Sun, 16 Nov 2003 13:40:46 -0800 (PST) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 42576 for review Message-ID: <200311162140.hAGLekKl021857@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=42576 Change 42576 by peter@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311162140.hAGLekKl021857>