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] support protected mode mmio with non-zero CS bas

To: Jan Beulich <jbeulich@xxxxxxxxxx>, Mats Petersson <Mats.Petersson@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] support protected mode mmio with non-zero CS base
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 22 Nov 2006 07:51:56 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 21 Nov 2006 23:52:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <45640C04.76E4.0078.0@xxxxxxxxxx>
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: AccOCxTQUy/Hann+Edut4AANk04WTA==
Thread-topic: [Xen-devel] [PATCH] support protected mode mmio with non-zero CS base
User-agent: Microsoft-Entourage/11.2.5.060620


On 22/11/06 7:36 am, "Jan Beulich" <jbeulich@xxxxxxxxxx> wrote:

>> Remove the "if ( realmode ) " and just use the segment base address. The
>> base-address in the register should be correct even in realmod, or the
>> processor is broken. [I don't think this code is being executed from
>> vmxassist - if it is, then that's a different special case!].
> 
> I intentionally didn't, as at least on VMX the read operation could
> be significantly slower than a shift (and due to the indirect call it will
> be slower even on SVM).

We'll be using the segment base info everywhere in future, otherwise big
real mode does not work. Also, realmode is going to be the uncommon case by
far here (and we don't care that much for its performance as long as it
doesn't noticeably suck too badly).

 -- Keir



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