PERFORCE change 38848 for review

Peter Wemm peter at FreeBSD.org
Mon Sep 29 23:48:13 PDT 2003


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

Change 38848 by peter at peter_hammer on 2003/09/29 23:48:11

	do not pad the stack to make a different clockframe.  Unlike
	the i386, the clockframe isn't different.  The vector (when
	needed) is passed in integer argument in a register.

Affected files ...

.. //depot/projects/hammer/sys/amd64/amd64/apic_vector.s#6 edit

Differences ...

==== //depot/projects/hammer/sys/amd64/amd64/apic_vector.s#6 (text+ko) ====

@@ -242,9 +242,7 @@
 
 	movq	PCPU(CURTHREAD),%rbx
 	incl	TD_INTR_NESTING_LEVEL(%rbx)
-	pushq	$0		/* XXX convert trapframe to clockframe */
 	call	forwarded_hardclock
-	addq	$8, %rsp	/* XXX convert clockframe to trapframe */
 	decl	TD_INTR_NESTING_LEVEL(%rbx)
 	MEXITCOUNT
 	jmp	doreti
@@ -265,9 +263,7 @@
 
 	movq	PCPU(CURTHREAD),%rbx
 	incl	TD_INTR_NESTING_LEVEL(%rbx)
-	pushq	$0		/* XXX convert trapframe to clockframe */
 	call	forwarded_statclock
-	addq	$8, %rsp	/* XXX convert clockframe to trapframe */
 	decl	TD_INTR_NESTING_LEVEL(%rbx)
 	MEXITCOUNT
 	jmp	doreti


More information about the p4-projects mailing list