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] 32on64 call gate support

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] 32on64 call gate support
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 26 Jan 2007 10:14:23 +0000
Cc: Xen Development Mailing List <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Fri, 26 Jan 2007 02:14:05 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E18E9@xxxxxxxxxxxxxxxxx>
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: AcdBMTKDcN+Ii60kEduhMgANk04WTAAAFCIwAABPQvo=
Thread-topic: [Xen-devel] [PATCH] 32on64 call gate support
User-agent: Microsoft-Entourage/11.3.3.061214
On 26/1/07 10:07 am, "Petersson, Mats" <Mats.Petersson@xxxxxxx> wrote:

>> Do we know that anyone uses 64-bit call gates? I would have thought it
>> unlikely.
> 
> I agree, it's VERY unlikely that anyone uses call-gates in 64-bit mode.
> There are other, better, ways to do system calls, including the
> dedicated SYSCALL instruction. Since 64-bit code is "new", it's unlikely
> to use old ways of doing things "just because there was nothing else
> around at the time".

Of course, it begs the question why call gates weren't stripped from long
mode along with other ancient architectural baggage.

Perhaps the idea was to allow compat-mode applications relying on call gates
to be supported? So the OS would be responsible for allocating 64-bit call
gates instead of 32-bit call gates?

Anyhow, this is a bridge we should probably only cross if we come to it.

 -- Keir



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