PERFORCE change 42577 for review

Peter Wemm peter at FreeBSD.org
Sun Nov 16 13:40:49 PST 2003


http://perforce.freebsd.org/chv.cgi?CH=42577

Change 42577 by peter at peter_overcee on 2003/11/16 13:40:41

	initialize the stack from pcpu->pc_rsp0 on fast_syscall

Affected files ...

.. //depot/projects/hammer/sys/amd64/amd64/exception.S#22 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/amd64/exception.S#22 (text+ko) ====

@@ -218,7 +218,7 @@
 IDTVEC(fast_syscall)
 	swapgs
 	movq	%rsp,PCPU(SCRATCH_RSP)
-	movq	common_tss+COMMON_TSS_RSP0,%rsp
+	movq	PCPU(RSP0),%rsp
 	/* Now emulate a trapframe. Make the 8 byte alignment odd for call. */
 	subq	$TF_SIZE,%rsp
 	/* defer TF_RSP till we have a spare register */


More information about the p4-projects mailing list