Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2002 12:04:44 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Peter Wemm <peter@FreeBSD.org>
Cc:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   RE: PERFORCE change 17851 for review
Message-ID:  <XFMail.20020923120444.jhb@FreeBSD.org>
In-Reply-To: <200209211027.g8LARV58027571@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 21-Sep-2002 Peter Wemm wrote:
> http://people.freebsd.org/~peter/p4db/chv.cgi?CH=17851
> 
> Change 17851 by peter@peter_overcee on 2002/09/21 03:27:15
> 
>       nuke tf_isp, it wasn't worth a lot.

Errm, does 'pusha' not push ESP on x86-64?  It does on i386,
and the trapframe contents are partially determined by
that.  You can't just remove it from the trapframe unless
pusha has changed or you will hose all the other variables
in the frame.

> Affected files ...
> 
> .. //depot/projects/hammer/sys/x86_64/include/reg.h#2 edit
> .. //depot/projects/hammer/sys/x86_64/include/signal.h#3 edit
> .. //depot/projects/hammer/sys/x86_64/include/ucontext.h#2 edit
> .. //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#17 edit
> 
> Differences ...
> 
> ==== //depot/projects/hammer/sys/x86_64/include/reg.h#2 (text+ko) ====
> 
> @@ -88,7 +88,6 @@
>       unsigned int    r_edi;
>       unsigned int    r_esi;
>       unsigned int    r_ebp;
> -     unsigned int    r_isp;
>       unsigned int    r_ebx;
>       unsigned int    r_edx;
>       unsigned int    r_ecx;
> 
> ==== //depot/projects/hammer/sys/x86_64/include/signal.h#3 (text+ko) ====
> 
> @@ -77,7 +77,6 @@
>       int     sc_edi;
>       int     sc_esi;
>       int     sc_ebp;
> -     int     sc_isp;
>       int     sc_ebx;
>       int     sc_edx;
>       int     sc_ecx;
> 
> ==== //depot/projects/hammer/sys/x86_64/include/ucontext.h#2 (text+ko) ====
> 
> @@ -45,7 +45,6 @@
>       int     mc_edi;
>       int     mc_esi;
>       int     mc_ebp;
> -     int     mc_isp;
>       int     mc_ebx;
>       int     mc_edx;
>       int     mc_ecx;
> 
> ==== //depot/projects/hammer/sys/x86_64/x86_64/machdep.c#17 (text+ko) ====
> 
> @@ -1502,7 +1502,6 @@
>       mcp->mc_edi = tp->tf_edi;
>       mcp->mc_esi = tp->tf_esi;
>       mcp->mc_ebp = tp->tf_ebp;
> -     mcp->mc_isp = tp->tf_isp;
>       mcp->mc_ebx = tp->tf_ebx;
>       mcp->mc_edx = tp->tf_edx;
>       mcp->mc_ecx = tp->tf_ecx;

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020923120444.jhb>