From: "Zang Hongyong" Subject: confusion about the meaning of CONFIG_XEN Date: Mon, 7 Jul 2008 15:57:30 +0800 Message-ID: <20080707074731.DF82913682B@ncic.ac.cn> Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel List-Id: xen-devel@lists.xenproject.org hi all, I noticed "CONFIG_XEN" appears many times in Xen source code. I'm confused about the meaning of "CONFIG_XEN". For example, in "gnttab.c", the definations of gnttab_map() and gnttab_resume() vary with "ifdef CONFIG_XEN" or not. And I also noticed ifndef CONFIG_XEN , the file is included. So my questions are 1)What's the meanning of CONFIG_XEN? and on which kind of conditions, CONFIG_XEN should not be defined? 2)What is platform-pci for? Any advice would be welcome. Thanks in advance. Zang Hongyong zanghongyong@ncic.ac.cn 2008-07-07