WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] confusion about the meaning of CONFIG_XEN

To: "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] confusion about the meaning of CONFIG_XEN
From: "Zang Hongyong" <zanghongyong@xxxxxxxxxx>
Date: Mon, 7 Jul 2008 15:57:30 +0800
Delivery-date: Mon, 07 Jul 2008 00:58:56 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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 <platform-pci.h> 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@xxxxxxxxxx
2008-07-07


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>