Annotation of Gnu-Mach/xen/configfrag.ac, revision 1.1.1.1

1.1       root        1: dnl Configure fragment for the Xen platform.
                      2: 
                      3: dnl Copyright (C) 2007 Free Software Foundation, Inc.
                      4: 
                      5: dnl This program is free software; you can redistribute it and/or modify it
                      6: dnl under the terms of the GNU General Public License as published by the
                      7: dnl Free Software Foundation; either version 2, or (at your option) any later
                      8: dnl version.
                      9: dnl
                     10: dnl This program is distributed in the hope that it will be useful, but
                     11: dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
                     12: dnl or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
                     13: dnl for more details.
                     14: dnl
                     15: dnl You should have received a copy of the GNU General Public License along
                     16: dnl with this program; if not, write to the Free Software Foundation, Inc.,
                     17: dnl 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
                     18: 
                     19: #
                     20: # Xen platform.
                     21: #
                     22: 
                     23: [if [ "$host_platform" = xen ]; then]
                     24:   AC_DEFINE([MACH_XEN], [], [build a MachXen kernel])
                     25:   AC_DEFINE([MACH_HYP], [], [be a hypervisor guest])
                     26:   AM_CONDITIONAL([PLATFORM_xen], [true])
                     27: 
                     28: dnl These are experimental
                     29: 
                     30:   AC_ARG_ENABLE([pseudo-phys],
                     31:     AS_HELP_STRING([--disable-pseudo-phys], [Pseudo physical pages support]))
                     32:   [if [ x"$enable_pseudo_phys" = xno ]; then]
                     33:     AM_CONDITIONAL([enable_pseudo_phys], [false])
                     34:   [else]
                     35:     AC_DEFINE([MACH_PSEUDO_PHYS], [], [Enable pseudo physical memory support])
                     36:     AM_CONDITIONAL([enable_pseudo_phys], [true])
                     37:   [fi]
                     38: 
                     39:   AC_ARG_ENABLE([pv-pagetables],
                     40:     AS_HELP_STRING([--disable-pv-pagetables], [Paravirtualized page tables support]))
                     41:   [if [ x"$enable_pv_pagetables" = xno ]; then]
                     42:     AM_CONDITIONAL([enable_pv_pagetables], [false])
                     43:   [else]
                     44:     AC_DEFINE([MACH_PV_PAGETABLES], [], [Enable paravirtualized page tables support])
                     45:     AM_CONDITIONAL([enable_pv_pagetables], [true])
                     46:   [fi]
                     47: 
                     48:   AC_ARG_ENABLE([pv-descriptors],
                     49:     AS_HELP_STRING([--disable-pv-descriptors], [Paravirtualized segment descriptors support]))
                     50:   [if [ x"$enable_pv_descriptors" = xno ]; then]
                     51:     AM_CONDITIONAL([enable_pv_descriptors], [false])
                     52:   [else]
                     53:     AC_DEFINE([MACH_PV_DESCRIPTORS], [], [Enable paravirtualized segment descriptors support])
                     54:     AM_CONDITIONAL([enable_pv_descriptors], [true])
                     55:   [fi]
                     56: 
                     57:   AC_ARG_ENABLE([ring1],
                     58:     AS_HELP_STRING([--disable-ring1], [ring1 kernel support]))
                     59:   [if [ x"$enable_ring1" = xno ]; then]
                     60:     AM_CONDITIONAL([enable_ring1], [false])
                     61:   [else]
                     62:     AC_DEFINE([MACH_RING1], [], [Enable ring1 kernel support])
                     63:     AM_CONDITIONAL([enable_ring1], [true])
                     64:   [fi]
                     65: 
                     66: [else]
                     67:   AM_CONDITIONAL([PLATFORM_xen], [false])
                     68:   AM_CONDITIONAL([enable_pseudo_phys], [false])
                     69:   AM_CONDITIONAL([enable_pv_pagetables], [false])
                     70:   AM_CONDITIONAL([enable_pv_descriptors], [false])
                     71:   AM_CONDITIONAL([enable_ring1], [false])
                     72: [fi]
                     73: 
                     74: dnl Local Variables:
                     75: dnl mode: autoconf
                     76: dnl End:

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.