WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] Mini-os get_current() fixup

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] [PATCH] Mini-os get_current() fixup
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>
Date: Mon, 15 Oct 2007 17:30:58 +0100
Delivery-date: Mon, 15 Oct 2007 09:31:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20071015162332.GB26450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Mail-followup-to: Samuel Thibault <samuel.thibault@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
References: <20071015162332.GB26450@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Samuel Thibault, le Mon 15 Oct 2007 17:23:32 +0100, a écrit :
> 0x00019301 <do_page_fault+81>:  mov    $0x1,%ecx
> 0x00019306 <do_page_fault+86>:  mov    $0xffffe000,%eax
> 0x0001930b <do_page_fault+91>:  mov    %ecx,0x32980
> 0x00019311 <do_page_fault+97>:  and    %esp,%edx
> 0x00019313 <do_page_fault+99>:  mov    (%edx),%ecx
> 0x00019315 <do_page_fault+101>: mov    (%ecx),%eax
> 
> Which is supposed to approximately correspond to get_current(). It
> happens that %edx is never set to 0xfffff000. The attached patch fixes

(I meant 0xffffe000 of course)

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>