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] Setting up page directories and tables

To: Dave Pacheco <dap@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Setting up page directories and tables
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Fri, 27 Apr 2007 22:39:02 +0100
Cc: Joel Weinberger <joel@xxxxxxxxxxxx>
Delivery-date: Fri, 27 Apr 2007 14:36:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <2d88d46a0704271311m4f41aa6bna46cc903bb619f32@xxxxxxxxxxxxxx>
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: AceJFHioty90jvUHEduLrgAWy6hiGQ==
Thread-topic: [Xen-devel] Setting up page directories and tables
User-agent: Microsoft-Entourage/11.3.3.061214



On 27/4/07 21:11, "Dave Pacheco" <dap@xxxxxxxxxxxx> wrote:

All of these steps succeed (the hypercall returns 0, and the argument indicating how many updates succeeded is 1 in both cases). But later, when switching into the context of this process, I try to update the user base pointer with

 HYPERVISOR_mmuext_op({MMUEXT_NEW_USER_BASEPTR, mfn of P}...).

Only x86/64 has a separate USER_BASEPTR. You want to use just MMUEXT_NEW_BASEPTR.

 -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>