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][VT]vga acceleration for cirrus logic device mode

To: "Jiang, Yunhong" <yunhong.jiang@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH][VT]vga acceleration for cirrus logic device model
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 23 Sep 2005 15:02:24 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Fri, 23 Sep 2005 13:55:15 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <FFEFE1749526634699CD3AC2EDB7627A4AE145@pdsmsx406>
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>
References: <FFEFE1749526634699CD3AC2EDB7627A4AE145@pdsmsx406>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 23 Sep 2005, at 14:46, Jiang, Yunhong wrote:

I think 1:1 page table is used for both paging disabled running AND
physical-to-machine table, so agree that if we ignore the
physical-to-machine table, it is ok with current 1:1 page table
implementaion, but just as you said, we need work out later for
phys-to-machine mapping.

Currently that works by mapping the 1:1 top-level page directory as a second-level page directory in the monitor pagetables. Obviously that doesn't work if the monitor is using 64-bit pagetables and the 1:1 tables are in 32-bit pae mode. :-) This cannot be solved by using 64-bit 1:1 pagetables though (e.g., in that mode we cannot use vm86 mode).

I think the correct approach will be to create extra page directories in the monitor pagetables to map all the 1:1 l1's, plus extra l1's that map pseudophys memory above 4GB.

In summary, you were correct in the first place. :-)

 -- Keir


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