From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Knorr Subject: Re: Build break with PAE enabled Date: Tue, 2 Aug 2005 13:07:47 +0200 Message-ID: <20050802110747.GB27233@bytesex> References: <20050802094827.GC25337@bytesex> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20050802094827.GC25337@bytesex> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Natasha Jarymowycz Cc: xen-devel List-Id: xen-devel@lists.xenproject.org > to "CONFIG_PAGING_LEVELS >= 3", maybe I forgot to include some > into the patch ... Yep, I did, shadow_public.c bits are missing, sorry for trouble. Gerd Index: xen/arch/x86/shadow_public.c =================================================================== --- xen.orig/arch/x86/shadow_public.c 2005-08-02 12:16:16.000000000 +0200 +++ xen/arch/x86/shadow_public.c 2005-08-02 13:05:27.000000000 +0200 @@ -30,7 +30,7 @@ #include #include -#if CONFIG_PAGING_LEVELS >= 4 +#if CONFIG_PAGING_LEVELS >= 3 #include extern struct shadow_ops MODE_F_HANDLER; @@ -233,7 +233,20 @@ void free_monitor_pagetable(struct vcpu v->arch.monitor_vtable = 0; } +#elif CONFIG_PAGING_LEVELS == 3 + +static void alloc_monitor_pagetable(struct vcpu *v) +{ + BUG(); /* PAE not implemented yet */ +} + +void free_monitor_pagetable(struct vcpu *v) +{ + BUG(); /* PAE not implemented yet */ +} + #elif CONFIG_PAGING_LEVELS == 2 + static void alloc_monitor_pagetable(struct vcpu *v) { unsigned long mmfn;