From: Keir Fraser Subject: Re: Setting up page directories and tables Date: Fri, 27 Apr 2007 22:39:02 +0100 Message-ID: References: <2d88d46a0704271311m4f41aa6bna46cc903bb619f32@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1413849008==" Return-path: In-Reply-To: <2d88d46a0704271311m4f41aa6bna46cc903bb619f32@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Dave Pacheco , xen-devel@lists.xensource.com Cc: Joel Weinberger List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============1413849008== Content-type: multipart/alternative; boundary="B_3260558344_24089588" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3260558344_24089588 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit On 27/4/07 21:11, "Dave Pacheco" 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 --B_3260558344_24089588 Content-type: text/html; charset="US-ASCII" Content-transfer-encoding: quoted-printable Re: [Xen-devel] Setting up page directories and tables


On 27/4/07 21:11, "Dave Pacheco" <dap@cs.brown.edu> wrote:<= BR>
All of these steps succeed (the hypercall returns 0, an= d the argument indicating how many updates succeeded is 1 in both cases). Bu= t later, when switching into the context of this process, I try to update th= e 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_BA= SEPTR.

 -- Keir
--B_3260558344_24089588-- --===============1413849008== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1413849008==--