128c506b8Sjruoho /****************************************************************************** 228c506b8Sjruoho * 328c506b8Sjruoho * Name: accommon.h - Common include files for generation of ACPICA source 428c506b8Sjruoho * 528c506b8Sjruoho *****************************************************************************/ 628c506b8Sjruoho 7124f4c82Sjruoho /* 8*046a2985Schristos * Copyright (C) 2000 - 2023, Intel Corp. 928c506b8Sjruoho * All rights reserved. 1028c506b8Sjruoho * 11124f4c82Sjruoho * Redistribution and use in source and binary forms, with or without 12124f4c82Sjruoho * modification, are permitted provided that the following conditions 13124f4c82Sjruoho * are met: 14124f4c82Sjruoho * 1. Redistributions of source code must retain the above copyright 15124f4c82Sjruoho * notice, this list of conditions, and the following disclaimer, 16124f4c82Sjruoho * without modification. 17124f4c82Sjruoho * 2. Redistributions in binary form must reproduce at minimum a disclaimer 18124f4c82Sjruoho * substantially similar to the "NO WARRANTY" disclaimer below 19124f4c82Sjruoho * ("Disclaimer") and any redistribution must be conditioned upon 20124f4c82Sjruoho * including a substantially similar Disclaimer requirement for further 21124f4c82Sjruoho * binary redistribution. 22124f4c82Sjruoho * 3. Neither the names of the above-listed copyright holders nor the names 23124f4c82Sjruoho * of any contributors may be used to endorse or promote products derived 24124f4c82Sjruoho * from this software without specific prior written permission. 2528c506b8Sjruoho * 26124f4c82Sjruoho * Alternatively, this software may be distributed under the terms of the 27124f4c82Sjruoho * GNU General Public License ("GPL") version 2 as published by the Free 28124f4c82Sjruoho * Software Foundation. 2928c506b8Sjruoho * 30124f4c82Sjruoho * NO WARRANTY 31124f4c82Sjruoho * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 32124f4c82Sjruoho * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 3346a330b4Schristos * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 34124f4c82Sjruoho * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 35124f4c82Sjruoho * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 36124f4c82Sjruoho * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 37124f4c82Sjruoho * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 38124f4c82Sjruoho * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 39124f4c82Sjruoho * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING 40124f4c82Sjruoho * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 41124f4c82Sjruoho * POSSIBILITY OF SUCH DAMAGES. 42124f4c82Sjruoho */ 4328c506b8Sjruoho 4428c506b8Sjruoho #ifndef __ACCOMMON_H__ 4528c506b8Sjruoho #define __ACCOMMON_H__ 4628c506b8Sjruoho 4728c506b8Sjruoho /* 4828c506b8Sjruoho * Common set of includes for all ACPICA source files. 4928c506b8Sjruoho * We put them here because we don't want to duplicate them 50360a9019Schristos * in the source code again and again. 5128c506b8Sjruoho * 5228c506b8Sjruoho * Note: The order of these include files is important. 5328c506b8Sjruoho */ 5428c506b8Sjruoho #include "acconfig.h" /* Global configuration constants */ 5528c506b8Sjruoho #include "acmacros.h" /* C macros */ 5628c506b8Sjruoho #include "aclocal.h" /* Internal data types */ 5728c506b8Sjruoho #include "acobject.h" /* ACPI internal object */ 5828c506b8Sjruoho #include "acstruct.h" /* Common structures */ 5928c506b8Sjruoho #include "acglobal.h" /* All global variables */ 6028c506b8Sjruoho #include "achware.h" /* Hardware defines and interfaces */ 6128c506b8Sjruoho #include "acutils.h" /* Utility interfaces */ 62c72da027Schristos #ifndef ACPI_USE_SYSTEM_CLIBRARY 63c72da027Schristos #include "acclib.h" /* C library interfaces */ 64c72da027Schristos #endif /* !ACPI_USE_SYSTEM_CLIBRARY */ 6528c506b8Sjruoho 6628c506b8Sjruoho 6728c506b8Sjruoho #endif /* __ACCOMMON_H__ */ 68