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/
Home Products Support Community News


RE: [Xen-devel] Updating built-in GDT

To: "Ivan Kelly" <ivan@xxxxxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>
Subject: RE: [Xen-devel] Updating built-in GDT
From: "Petersson, Mats" <mats.petersson@xxxxxxx>
Date: Tue, 24 Jan 2006 13:08:33 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Jan 2006 12:20:41 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcYg3ogj1BMbTjBlS12Sh8YbSi4iAQAADD5g
Thread-topic: [Xen-devel] Updating built-in GDT

> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Ivan Kelly
> Sent: 24 January 2006 12:02
> To: Keir Fraser
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
> Subject: Re: [Xen-devel] Updating built-in GDT
> On Tue, Jan 24, 2006 at 12:04:00PM +0000, Keir Fraser wrote:
> > Nope, it's a u64 machine address.
> 32bit machine here, so i guess that should be u32

It would still need to be > 32 bits, as 32-bit machines may have PAE
enabled -> 36 bits of addressable memory. You wouldn't want your code to
break just because your GDT is above the 4G boundary, would you?

> > 
> > Precisely, it's (MFN << 12) + offset
> ya, thats what i meant :)
> Thanks
> Ivan
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

Xen-devel mailing list