From: "Jiang, Yunhong" Subject: RE: [PATCH][VT]vga acceleration for cirrus logic device model Date: Sun, 25 Sep 2005 23:45:36 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Content-class: urn:content-classes:message List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > On 23 Sep 2005, at 14:46, Jiang, Yunhong wrote: >=20 >> 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. >=20 > 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). >=20 > 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. >=20 > In summary, you were correct in the first place. :-) >=20 > -- Keir Thanks for your suggestion very much ! I will work out a fix for it. Yunhong Jiang