From: Keir Fraser Subject: Re: Hypercall interface changes for PAE Date: Tue, 31 May 2005 19:26:51 +0100 Message-ID: <8013a228218edd6c3b74a5b5974e0553@cl.cam.ac.uk> References: <20050530125247.GA12140@bytesex> <61adb21cca3abe8c474f66040037da6a@cl.cam.ac.uk> <20050531101851.GB22211@bytesex> <20050531113614.GB22913@bytesex> <15fad2b24c731550fee5cffc747ae3c9@cl.cam.ac.uk> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <15fad2b24c731550fee5cffc747ae3c9@cl.cam.ac.uk> 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: Gerd Knorr , xen-devel List List-Id: xen-devel@lists.xenproject.org On 31 May 2005, at 19:21, Keir Fraser wrote: > The downside of this approach is that the C declarations of > mmu_update_t, update_va_mapping, etc are different on 32-bit PAE > builds. But only low-level guest code will touch those interfaces > anyway, and there is unlikely to be code sharing between PAE and > non-PAE at that level. > > What do you think? Actually, we could export intpte_t and physaddr_t at the guest interface and declare mmu_update_t and friends in terms of those typedefs. This would also avoid needing different wrapper implementations of those hypercalls within Xen itself. Neat. :-) -- Keir