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

[Xen-devel] 4gb_segments & movzbl

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] 4gb_segments & movzbl
From: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Date: Wed, 7 Mar 2007 01:25:28 +0100
Delivery-date: Wed, 07 Mar 2007 01:36:34 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.12-2006-07-14
Hi,

I'm using VMASS_4gb_segments for now, and tried the following program:

__thread char a;
int main(void) {
        printf("%d\n",a);
}

And I'm getting a SIGILL at

 8048450:       65 0f b6 05 ff ff ff    movzbl %gs:0xffffffff,%eax

When turning `a' into an int, the program works.  I guess this is
because movzbl is somehow not correctly supported by the 4gb segment
emulation?

Samuel

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

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