From: Tim Deegan Subject: Re: Symbol definition not found Date: Sun, 28 Oct 2007 21:51:55 +0000 Message-ID: <20071028215155.GA10591@york.uk.xensource.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Return-path: Content-Disposition: inline In-Reply-To: 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: Zhe FANG , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org At 06:26 +0000 on 28 Oct (1193552791), Keir Fraser wrote: > I think it's constructed by name splicing inside a macro ('_ ## _name', or > something like that). mfn_x gets constructed the same way. The definitions have moved around a bit; they're currently in include/asm-x86/mm.h, at about line 500 (the TYPE_SAFE macro). They don't do anything except make it harder to forget to translate between frame-number spaces -- in the shadow code there's an equivalent type 'gfn_t' for untranslated frame numbers from the guest's page tables. Cheers, Tim. -- Tim Deegan , XenSource UK Limited Registered office c/o EC2Y 5EB, UK; company number 05334508