1ff4a156dSchristos /****************************************************************************** 2ff4a156dSchristos * 3ff4a156dSchristos * Module Name: examples.h - Common include for Examples program 4ff4a156dSchristos * 5ff4a156dSchristos *****************************************************************************/ 6ff4a156dSchristos 7ff4a156dSchristos /* 8*046a2985Schristos * Copyright (C) 2000 - 2023, Intel Corp. 9ff4a156dSchristos * All rights reserved. 10ff4a156dSchristos * 11ff4a156dSchristos * Redistribution and use in source and binary forms, with or without 12ff4a156dSchristos * modification, are permitted provided that the following conditions 13ff4a156dSchristos * are met: 14ff4a156dSchristos * 1. Redistributions of source code must retain the above copyright 15ff4a156dSchristos * notice, this list of conditions, and the following disclaimer, 16ff4a156dSchristos * without modification. 17ff4a156dSchristos * 2. Redistributions in binary form must reproduce at minimum a disclaimer 18ff4a156dSchristos * substantially similar to the "NO WARRANTY" disclaimer below 19ff4a156dSchristos * ("Disclaimer") and any redistribution must be conditioned upon 20ff4a156dSchristos * including a substantially similar Disclaimer requirement for further 21ff4a156dSchristos * binary redistribution. 22ff4a156dSchristos * 3. Neither the names of the above-listed copyright holders nor the names 23ff4a156dSchristos * of any contributors may be used to endorse or promote products derived 24ff4a156dSchristos * from this software without specific prior written permission. 25ff4a156dSchristos * 26ff4a156dSchristos * Alternatively, this software may be distributed under the terms of the 27ff4a156dSchristos * GNU General Public License ("GPL") version 2 as published by the Free 28ff4a156dSchristos * Software Foundation. 29ff4a156dSchristos * 30ff4a156dSchristos * NO WARRANTY 31ff4a156dSchristos * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32ff4a156dSchristos * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3346a330b4Schristos * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 34ff4a156dSchristos * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35ff4a156dSchristos * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36ff4a156dSchristos * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37ff4a156dSchristos * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38ff4a156dSchristos * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39ff4a156dSchristos * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40ff4a156dSchristos * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41ff4a156dSchristos * POSSIBILITY OF SUCH DAMAGES. 42ff4a156dSchristos */ 43ff4a156dSchristos 44ff4a156dSchristos #ifndef _EXAMPLES_H 45ff4a156dSchristos #define _EXAMPLES_H 46ff4a156dSchristos 47ff4a156dSchristos #include "acpi.h" 48ff4a156dSchristos #include "accommon.h" 49ff4a156dSchristos #include "acapps.h" 50ff4a156dSchristos #include "../acpiexec/aecommon.h" 51ff4a156dSchristos 52ff4a156dSchristos #include <stdio.h> 53ff4a156dSchristos 54ff4a156dSchristos 55ff4a156dSchristos void 56ff4a156dSchristos ExInitializeAcpiTables ( 57ff4a156dSchristos void); 58ff4a156dSchristos 59ff4a156dSchristos #endif 60