actbl.h revision 7b1019a6d29ccb7999dc76cba3dde1c627e8e609
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/******************************************************************************
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Name: actbl.h - Basic ACPI Table Definitions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin *****************************************************************************/
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Copyright (C) 2000 - 2016, Intel Corp.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * All rights reserved.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Redistribution and use in source and binary forms, with or without
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * modification, are permitted provided that the following conditions
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * are met:
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 1. Redistributions of source code must retain the above copyright
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * notice, this list of conditions, and the following disclaimer,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * without modification.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 2. Redistributions in binary form must reproduce at minimum a disclaimer
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * substantially similar to the "NO WARRANTY" disclaimer below
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * ("Disclaimer") and any redistribution must be conditioned upon
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * including a substantially similar Disclaimer requirement for further
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * binary redistribution.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * 3. Neither the names of the above-listed copyright holders nor the names
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * of any contributors may be used to endorse or promote products derived
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * from this software without specific prior written permission.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Alternatively, this software may be distributed under the terms of the
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * GNU General Public License ("GPL") version 2 as published by the Free
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Software Foundation.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * NO WARRANTY
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * HOLDERS OR CONTRIBUTORS BE LIABLE FOR SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * POSSIBILITY OF SUCH DAMAGES.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/*******************************************************************************
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * Fundamental ACPI tables
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * This file contains definitions for the ACPI tables that are directly consumed
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * by ACPICA. All other tables are consumed by the OS-dependent ACPI-related
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * device drivers and other OS support code.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * The RSDP and FACS do not use the common ACPI table header. All other ACPI
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin * tables use the header.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin ******************************************************************************/
typedef struct acpi_table_header
typedef struct acpi_generic_address
typedef struct acpi_table_rsdp
typedef struct acpi_rsdp_common
typedef struct acpi_rsdp_extension
typedef struct acpi_table_rsdt
typedef struct acpi_table_xsdt
typedef struct acpi_table_facs
typedef struct acpi_table_fadt
/* Masks for FADT IA-PC Boot Architecture Flags (boot_flags) [Vx]=Introduced in this FADT revision */
#define ACPI_FADT_NO_MSI (1<<3) /* 03: [V4] Message Signaled Interrupts (MSI) must not be enabled */
#define ACPI_FADT_PSCI_USE_HVC (1<<1) /* 01: [V5+] HVC must be used instead of SMC as the PSCI conduit */
#define ACPI_FADT_POWER_BUTTON (1<<4) /* 04: [V1] Power button is handled as a control method device */
#define ACPI_FADT_SLEEP_BUTTON (1<<5) /* 05: [V1] Sleep button is handled as a control method device */
#define ACPI_FADT_RESET_REGISTER (1<<10) /* 10: [V2] System reset via the FADT RESET_REG supported */
#define ACPI_FADT_SEALED_CASE (1<<11) /* 11: [V3] No internal expansion capabilities and case is sealed */
#define ACPI_FADT_HEADLESS (1<<12) /* 12: [V3] No local video capabilities or local input devices */
#define ACPI_FADT_SLEEP_TYPE (1<<13) /* 13: [V3] Must execute native instruction after writing SLP_TYPx register */
#define ACPI_FADT_PCI_EXPRESS_WAKE (1<<14) /* 14: [V4] System supports PCIEXP_WAKE (STS/EN) bits (ACPI 3.0) */
#define ACPI_FADT_PLATFORM_CLOCK (1<<15) /* 15: [V4] OSPM should use platform-provided timer (ACPI 3.0) */
#define ACPI_FADT_S4_RTC_VALID (1<<16) /* 16: [V4] Contents of RTC_STS valid after S4 wake (ACPI 3.0) */
#define ACPI_FADT_REMOTE_POWER_ON (1<<17) /* 17: [V4] System is compatible with remote power on (ACPI 3.0) */
#define ACPI_FADT_APIC_CLUSTER (1<<18) /* 18: [V4] All local APICs must use cluster model (ACPI 3.0) */
#define ACPI_FADT_APIC_PHYSICAL (1<<19) /* 19: [V4] All local xAPICs must use physical dest mode (ACPI 3.0) */
#define ACPI_FADT_LOW_POWER_S0 (1<<21) /* 21: [V5] S0 power savings are equal or better than S3 (ACPI 5.0) */
PM_UNSPECIFIED = 0,
#pragma pack()
typedef union acpi_name_union
typedef struct acpi_table_desc
#include "actbl1.h"
#include "actbl2.h"
#include "actbl3.h"