/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */1/******************************************************************************2*3* Name: actbl3.h - ACPI Table Definitions4*5* Copyright (C) 2000 - 2025, Intel Corp.6*7*****************************************************************************/89#ifndef __ACTBL3_H__10#define __ACTBL3_H__1112/*******************************************************************************13*14* Additional ACPI Tables15*16* These tables are not consumed directly by the ACPICA subsystem, but are17* included here to support device drivers and the AML disassembler.18*19******************************************************************************/2021/*22* Values for description table header signatures for tables defined in this23* file. Useful because they make it more difficult to inadvertently type in24* the wrong signature.25*/26#define ACPI_SIG_SLIC "SLIC" /* Software Licensing Description Table */27#define ACPI_SIG_SLIT "SLIT" /* System Locality Distance Information Table */28#define ACPI_SIG_SPCR "SPCR" /* Serial Port Console Redirection table */29#define ACPI_SIG_SPMI "SPMI" /* Server Platform Management Interface table */30#define ACPI_SIG_SRAT "SRAT" /* System Resource Affinity Table */31#define ACPI_SIG_STAO "STAO" /* Status Override table */32#define ACPI_SIG_TCPA "TCPA" /* Trusted Computing Platform Alliance table */33#define ACPI_SIG_TPM2 "TPM2" /* Trusted Platform Module 2.0 H/W interface table */34#define ACPI_SIG_UEFI "UEFI" /* Uefi Boot Optimization Table */35#define ACPI_SIG_VIOT "VIOT" /* Virtual I/O Translation Table */36#define ACPI_SIG_WAET "WAET" /* Windows ACPI Emulated devices Table */37#define ACPI_SIG_WDAT "WDAT" /* Watchdog Action Table */38#define ACPI_SIG_WDDT "WDDT" /* Watchdog Timer Description Table */39#define ACPI_SIG_WDRT "WDRT" /* Watchdog Resource Table */40#define ACPI_SIG_WPBT "WPBT" /* Windows Platform Binary Table */41#define ACPI_SIG_WSMT "WSMT" /* Windows SMM Security Mitigations Table */42#define ACPI_SIG_XENV "XENV" /* Xen Environment table */43#define ACPI_SIG_XXXX "XXXX" /* Intermediate AML header for ASL/ASL+ converter */4445/*46* All tables must be byte-packed to match the ACPI specification, since47* the tables are provided by the system BIOS.48*/49#pragma pack(1)5051/*52* Note: C bitfields are not used for this reason:53*54* "Bitfields are great and easy to read, but unfortunately the C language55* does not specify the layout of bitfields in memory, which means they are56* essentially useless for dealing with packed data in on-disk formats or57* binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,58* this decision was a design error in C. Ritchie could have picked an order59* and stuck with it." Norman Ramsey.60* See http://stackoverflow.com/a/1053662/4166161*/6263/*******************************************************************************64*65* SLIC - Software Licensing Description Table66*67* Conforms to "Microsoft Software Licensing Tables (SLIC and MSDM)",68* November 29, 2011. Copyright 2011 Microsoft69*70******************************************************************************/7172/* Basic SLIC table is only the common ACPI header */7374struct acpi_table_slic {75struct acpi_table_header header; /* Common ACPI table header */76};7778/*******************************************************************************79*80* SLIT - System Locality Distance Information Table81* Version 182*83******************************************************************************/8485struct acpi_table_slit {86struct acpi_table_header header; /* Common ACPI table header */87u64 locality_count;88u8 entry[]; /* Real size = localities^2 */89};9091/*******************************************************************************92*93* SPCR - Serial Port Console Redirection table94* Version 495*96* Conforms to "Serial Port Console Redirection Table",97* Version 1.10, Jan 5, 202398*99******************************************************************************/100101struct acpi_table_spcr {102struct acpi_table_header header; /* Common ACPI table header */103u8 interface_type; /* 0=full 16550, 1=subset of 16550 */104u8 reserved[3];105struct acpi_generic_address serial_port;106u8 interrupt_type;107u8 pc_interrupt;108u32 interrupt;109u8 baud_rate;110u8 parity;111u8 stop_bits;112u8 flow_control;113u8 terminal_type;114u8 language;115u16 pci_device_id;116u16 pci_vendor_id;117u8 pci_bus;118u8 pci_device;119u8 pci_function;120u32 pci_flags;121u8 pci_segment;122u32 uart_clk_freq;123u32 precise_baudrate;124u16 name_space_string_length;125u16 name_space_string_offset;126char name_space_string[];127};128129/* Masks for pci_flags field above */130131#define ACPI_SPCR_DO_NOT_DISABLE (1)132133/* Values for Interface Type: See the definition of the DBG2 table */134135/*******************************************************************************136*137* SPMI - Server Platform Management Interface table138* Version 5139*140* Conforms to "Intelligent Platform Management Interface Specification141* Second Generation v2.0", Document Revision 1.0, February 12, 2004 with142* June 12, 2009 markup.143*144******************************************************************************/145146struct acpi_table_spmi {147struct acpi_table_header header; /* Common ACPI table header */148u8 interface_type;149u8 reserved; /* Must be 1 */150u16 spec_revision; /* Version of IPMI */151u8 interrupt_type;152u8 gpe_number; /* GPE assigned */153u8 reserved1;154u8 pci_device_flag;155u32 interrupt;156struct acpi_generic_address ipmi_register;157u8 pci_segment;158u8 pci_bus;159u8 pci_device;160u8 pci_function;161u8 reserved2;162};163164/* Values for interface_type above */165166enum acpi_spmi_interface_types {167ACPI_SPMI_NOT_USED = 0,168ACPI_SPMI_KEYBOARD = 1,169ACPI_SPMI_SMI = 2,170ACPI_SPMI_BLOCK_TRANSFER = 3,171ACPI_SPMI_SMBUS = 4,172ACPI_SPMI_RESERVED = 5 /* 5 and above are reserved */173};174175/*******************************************************************************176*177* SRAT - System Resource Affinity Table178* Version 3179*180******************************************************************************/181182struct acpi_table_srat {183struct acpi_table_header header; /* Common ACPI table header */184u32 table_revision; /* Must be value '1' */185u64 reserved; /* Reserved, must be zero */186};187188/* Values for subtable type in struct acpi_subtable_header */189190enum acpi_srat_type {191ACPI_SRAT_TYPE_CPU_AFFINITY = 0,192ACPI_SRAT_TYPE_MEMORY_AFFINITY = 1,193ACPI_SRAT_TYPE_X2APIC_CPU_AFFINITY = 2,194ACPI_SRAT_TYPE_GICC_AFFINITY = 3,195ACPI_SRAT_TYPE_GIC_ITS_AFFINITY = 4, /* ACPI 6.2 */196ACPI_SRAT_TYPE_GENERIC_AFFINITY = 5, /* ACPI 6.3 */197ACPI_SRAT_TYPE_GENERIC_PORT_AFFINITY = 6, /* ACPI 6.4 */198ACPI_SRAT_TYPE_RINTC_AFFINITY = 7, /* ACPI 6.6 */199ACPI_SRAT_TYPE_RESERVED = 8 /* 8 and greater are reserved */200};201202/*203* SRAT Subtables, correspond to Type in struct acpi_subtable_header204*/205206/* 0: Processor Local APIC/SAPIC Affinity */207208struct acpi_srat_cpu_affinity {209struct acpi_subtable_header header;210u8 proximity_domain_lo;211u8 apic_id;212u32 flags;213u8 local_sapic_eid;214u8 proximity_domain_hi[3];215u32 clock_domain;216};217218/* Flags */219220#define ACPI_SRAT_CPU_USE_AFFINITY (1) /* 00: Use affinity structure */221222/* 1: Memory Affinity */223224struct acpi_srat_mem_affinity {225struct acpi_subtable_header header;226u32 proximity_domain;227u16 reserved; /* Reserved, must be zero */228u64 base_address;229u64 length;230u32 reserved1;231u32 flags;232u64 reserved2; /* Reserved, must be zero */233};234235/* Flags */236237#define ACPI_SRAT_MEM_ENABLED (1) /* 00: Use affinity structure */238#define ACPI_SRAT_MEM_HOT_PLUGGABLE (1<<1) /* 01: Memory region is hot pluggable */239#define ACPI_SRAT_MEM_NON_VOLATILE (1<<2) /* 02: Memory region is non-volatile */240241/* 2: Processor Local X2_APIC Affinity (ACPI 4.0) */242243struct acpi_srat_x2apic_cpu_affinity {244struct acpi_subtable_header header;245u16 reserved; /* Reserved, must be zero */246u32 proximity_domain;247u32 apic_id;248u32 flags;249u32 clock_domain;250u32 reserved2;251};252253/* Flags for struct acpi_srat_cpu_affinity and struct acpi_srat_x2apic_cpu_affinity */254255#define ACPI_SRAT_CPU_ENABLED (1) /* 00: Use affinity structure */256257/* 3: GICC Affinity (ACPI 5.1) */258259struct acpi_srat_gicc_affinity {260struct acpi_subtable_header header;261u32 proximity_domain;262u32 acpi_processor_uid;263u32 flags;264u32 clock_domain;265};266267/* Flags for struct acpi_srat_gicc_affinity */268269#define ACPI_SRAT_GICC_ENABLED (1) /* 00: Use affinity structure */270271/* 4: GIC ITS Affinity (ACPI 6.2) */272273struct acpi_srat_gic_its_affinity {274struct acpi_subtable_header header;275u32 proximity_domain;276u16 reserved;277u32 its_id;278};279280/*281* Common structure for SRAT subtable types:282* 5: ACPI_SRAT_TYPE_GENERIC_AFFINITY283* 6: ACPI_SRAT_TYPE_GENERIC_PORT_AFFINITY284*/285286#define ACPI_SRAT_DEVICE_HANDLE_SIZE 16287288struct acpi_srat_generic_affinity {289struct acpi_subtable_header header;290u8 reserved;291u8 device_handle_type;292u32 proximity_domain;293u8 device_handle[ACPI_SRAT_DEVICE_HANDLE_SIZE];294u32 flags;295u32 reserved1;296};297298/* Flags for struct acpi_srat_generic_affinity */299300#define ACPI_SRAT_GENERIC_AFFINITY_ENABLED (1) /* 00: Use affinity structure */301#define ACPI_SRAT_ARCHITECTURAL_TRANSACTIONS (1<<1) /* ACPI 6.4 */302303/* 7: RINTC Affinity Structure(ACPI 6.6) */304305struct acpi_srat_rintc_affinity {306struct acpi_subtable_header header;307u16 reserved;308u32 proximity_domain;309u32 acpi_processor_uid;310u32 flags;311u32 clock_domain;312};313314/* Flags for struct acpi_srat_rintc_affinity */315316#define ACPI_SRAT_RINTC_ENABLED (1) /* 00: Use affinity structure */317318/*******************************************************************************319*320* STAO - Status Override Table (_STA override) - ACPI 6.0321* Version 1322*323* Conforms to "ACPI Specification for Status Override Table"324* 6 January 2015325*326******************************************************************************/327328struct acpi_table_stao {329struct acpi_table_header header; /* Common ACPI table header */330u8 ignore_uart;331};332333/*******************************************************************************334*335* TCPA - Trusted Computing Platform Alliance table336* Version 2337*338* TCG Hardware Interface Table for TPM 1.2 Clients and Servers339*340* Conforms to "TCG ACPI Specification, Family 1.2 and 2.0",341* Version 1.2, Revision 8342* February 27, 2017343*344* NOTE: There are two versions of the table with the same signature --345* the client version and the server version. The common platform_class346* field is used to differentiate the two types of tables.347*348******************************************************************************/349350struct acpi_table_tcpa_hdr {351struct acpi_table_header header; /* Common ACPI table header */352u16 platform_class;353};354355/*356* Values for platform_class above.357* This is how the client and server subtables are differentiated358*/359#define ACPI_TCPA_CLIENT_TABLE 0360#define ACPI_TCPA_SERVER_TABLE 1361362struct acpi_table_tcpa_client {363u32 minimum_log_length; /* Minimum length for the event log area */364u64 log_address; /* Address of the event log area */365};366367struct acpi_table_tcpa_server {368u16 reserved;369u64 minimum_log_length; /* Minimum length for the event log area */370u64 log_address; /* Address of the event log area */371u16 spec_revision;372u8 device_flags;373u8 interrupt_flags;374u8 gpe_number;375u8 reserved2[3];376u32 global_interrupt;377struct acpi_generic_address address;378u32 reserved3;379struct acpi_generic_address config_address;380u8 group;381u8 bus; /* PCI Bus/Segment/Function numbers */382u8 device;383u8 function;384};385386/* Values for device_flags above */387388#define ACPI_TCPA_PCI_DEVICE (1)389#define ACPI_TCPA_BUS_PNP (1<<1)390#define ACPI_TCPA_ADDRESS_VALID (1<<2)391392/* Values for interrupt_flags above */393394#define ACPI_TCPA_INTERRUPT_MODE (1)395#define ACPI_TCPA_INTERRUPT_POLARITY (1<<1)396#define ACPI_TCPA_SCI_VIA_GPE (1<<2)397#define ACPI_TCPA_GLOBAL_INTERRUPT (1<<3)398399/*******************************************************************************400*401* TPM2 - Trusted Platform Module (TPM) 2.0 Hardware Interface Table402* Version 4403*404* TCG Hardware Interface Table for TPM 2.0 Clients and Servers405*406* Conforms to "TCG ACPI Specification, Family 1.2 and 2.0",407* Version 1.2, Revision 8408* February 27, 2017409*410******************************************************************************/411412/* Revision 3 */413414struct acpi_table_tpm23 {415struct acpi_table_header header; /* Common ACPI table header */416u32 reserved;417u64 control_address;418u32 start_method;419};420421/* Value for start_method above */422423#define ACPI_TPM23_ACPI_START_METHOD 2424425/*426* Optional trailer for revision 3. If start method is 2, there is a 4 byte427* reserved area of all zeros.428*/429struct acpi_tmp23_trailer {430u32 reserved;431};432433/* Revision 4 */434435struct acpi_table_tpm2 {436struct acpi_table_header header; /* Common ACPI table header */437u16 platform_class;438u16 reserved;439u64 control_address;440u32 start_method;441442/* Platform-specific data follows */443};444445/* Optional trailer for revision 4 holding platform-specific data */446struct acpi_tpm2_phy {447u8 start_method_specific[12];448u32 log_area_minimum_length;449u64 log_area_start_address;450};451452/* Values for start_method above */453454#define ACPI_TPM2_NOT_ALLOWED 0455#define ACPI_TPM2_RESERVED1 1456#define ACPI_TPM2_START_METHOD 2457#define ACPI_TPM2_RESERVED3 3458#define ACPI_TPM2_RESERVED4 4459#define ACPI_TPM2_RESERVED5 5460#define ACPI_TPM2_MEMORY_MAPPED 6461#define ACPI_TPM2_COMMAND_BUFFER 7462#define ACPI_TPM2_COMMAND_BUFFER_WITH_START_METHOD 8463#define ACPI_TPM2_RESERVED9 9464#define ACPI_TPM2_RESERVED10 10465#define ACPI_TPM2_COMMAND_BUFFER_WITH_ARM_SMC 11 /* V1.2 Rev 8 */466#define ACPI_TPM2_RESERVED 12467#define ACPI_TPM2_COMMAND_BUFFER_WITH_PLUTON 13468#define ACPI_TPM2_CRB_WITH_ARM_FFA 15469470/* Optional trailer appears after any start_method subtables */471472struct acpi_tpm2_trailer {473u8 method_parameters[12];474u32 minimum_log_length; /* Minimum length for the event log area */475u64 log_address; /* Address of the event log area */476};477478/*479* Subtables (start_method-specific)480*/481482/* 11: Start Method for ARM SMC (V1.2 Rev 8) */483484struct acpi_tpm2_arm_smc {485u32 global_interrupt;486u8 interrupt_flags;487u8 operation_flags;488u16 reserved;489u32 function_id;490};491492/* Values for interrupt_flags above */493494#define ACPI_TPM2_INTERRUPT_SUPPORT (1)495496/* Values for operation_flags above */497498#define ACPI_TPM2_IDLE_SUPPORT (1)499500/*******************************************************************************501*502* UEFI - UEFI Boot optimization Table503* Version 1504*505* Conforms to "Unified Extensible Firmware Interface Specification",506* Version 2.3, May 8, 2009507*508******************************************************************************/509510struct acpi_table_uefi {511struct acpi_table_header header; /* Common ACPI table header */512u8 identifier[16]; /* UUID identifier */513u16 data_offset; /* Offset of remaining data in table */514};515516/*******************************************************************************517*518* VIOT - Virtual I/O Translation Table519* Version 1520*521******************************************************************************/522523struct acpi_table_viot {524struct acpi_table_header header; /* Common ACPI table header */525u16 node_count;526u16 node_offset;527u8 reserved[8];528};529530/* VIOT subtable header */531532struct acpi_viot_header {533u8 type;534u8 reserved;535u16 length;536};537538/* Values for Type field above */539540enum acpi_viot_node_type {541ACPI_VIOT_NODE_PCI_RANGE = 0x01,542ACPI_VIOT_NODE_MMIO = 0x02,543ACPI_VIOT_NODE_VIRTIO_IOMMU_PCI = 0x03,544ACPI_VIOT_NODE_VIRTIO_IOMMU_MMIO = 0x04,545ACPI_VIOT_RESERVED = 0x05546};547548/* VIOT subtables */549550struct acpi_viot_pci_range {551struct acpi_viot_header header;552u32 endpoint_start;553u16 segment_start;554u16 segment_end;555u16 bdf_start;556u16 bdf_end;557u16 output_node;558u8 reserved[6];559};560561struct acpi_viot_mmio {562struct acpi_viot_header header;563u32 endpoint;564u64 base_address;565u16 output_node;566u8 reserved[6];567};568569struct acpi_viot_virtio_iommu_pci {570struct acpi_viot_header header;571u16 segment;572u16 bdf;573u8 reserved[8];574};575576struct acpi_viot_virtio_iommu_mmio {577struct acpi_viot_header header;578u8 reserved[4];579u64 base_address;580};581582/*******************************************************************************583*584* WAET - Windows ACPI Emulated devices Table585* Version 1586*587* Conforms to "Windows ACPI Emulated Devices Table", version 1.0, April 6, 2009588*589******************************************************************************/590591struct acpi_table_waet {592struct acpi_table_header header; /* Common ACPI table header */593u32 flags;594};595596/* Masks for Flags field above */597598#define ACPI_WAET_RTC_NO_ACK (1) /* RTC requires no int acknowledge */599#define ACPI_WAET_TIMER_ONE_READ (1<<1) /* PM timer requires only one read */600601/*******************************************************************************602*603* WDAT - Watchdog Action Table604* Version 1605*606* Conforms to "Hardware Watchdog Timers Design Specification",607* Copyright 2006 Microsoft Corporation.608*609******************************************************************************/610611struct acpi_table_wdat {612struct acpi_table_header header; /* Common ACPI table header */613u32 header_length; /* Watchdog Header Length */614u16 pci_segment; /* PCI Segment number */615u8 pci_bus; /* PCI Bus number */616u8 pci_device; /* PCI Device number */617u8 pci_function; /* PCI Function number */618u8 reserved[3];619u32 timer_period; /* Period of one timer count (msec) */620u32 max_count; /* Maximum counter value supported */621u32 min_count; /* Minimum counter value */622u8 flags;623u8 reserved2[3];624u32 entries; /* Number of watchdog entries that follow */625};626627/* Masks for Flags field above */628629#define ACPI_WDAT_ENABLED (1)630#define ACPI_WDAT_STOPPED 0x80631632/* WDAT Instruction Entries (actions) */633634struct acpi_wdat_entry {635u8 action;636u8 instruction;637u16 reserved;638struct acpi_generic_address register_region;639u32 value; /* Value used with Read/Write register */640u32 mask; /* Bitmask required for this register instruction */641};642643/* Values for Action field above */644645enum acpi_wdat_actions {646ACPI_WDAT_RESET = 1,647ACPI_WDAT_GET_CURRENT_COUNTDOWN = 4,648ACPI_WDAT_GET_COUNTDOWN = 5,649ACPI_WDAT_SET_COUNTDOWN = 6,650ACPI_WDAT_GET_RUNNING_STATE = 8,651ACPI_WDAT_SET_RUNNING_STATE = 9,652ACPI_WDAT_GET_STOPPED_STATE = 10,653ACPI_WDAT_SET_STOPPED_STATE = 11,654ACPI_WDAT_GET_REBOOT = 16,655ACPI_WDAT_SET_REBOOT = 17,656ACPI_WDAT_GET_SHUTDOWN = 18,657ACPI_WDAT_SET_SHUTDOWN = 19,658ACPI_WDAT_GET_STATUS = 32,659ACPI_WDAT_SET_STATUS = 33,660ACPI_WDAT_ACTION_RESERVED = 34 /* 34 and greater are reserved */661};662663/* Values for Instruction field above */664665enum acpi_wdat_instructions {666ACPI_WDAT_READ_VALUE = 0,667ACPI_WDAT_READ_COUNTDOWN = 1,668ACPI_WDAT_WRITE_VALUE = 2,669ACPI_WDAT_WRITE_COUNTDOWN = 3,670ACPI_WDAT_INSTRUCTION_RESERVED = 4, /* 4 and greater are reserved */671ACPI_WDAT_PRESERVE_REGISTER = 0x80 /* Except for this value */672};673674/*******************************************************************************675*676* WDDT - Watchdog Descriptor Table677* Version 1678*679* Conforms to "Using the Intel ICH Family Watchdog Timer (WDT)",680* Version 001, September 2002681*682******************************************************************************/683684struct acpi_table_wddt {685struct acpi_table_header header; /* Common ACPI table header */686u16 spec_version;687u16 table_version;688u16 pci_vendor_id;689struct acpi_generic_address address;690u16 max_count; /* Maximum counter value supported */691u16 min_count; /* Minimum counter value supported */692u16 period;693u16 status;694u16 capability;695};696697/* Flags for Status field above */698699#define ACPI_WDDT_AVAILABLE (1)700#define ACPI_WDDT_ACTIVE (1<<1)701#define ACPI_WDDT_TCO_OS_OWNED (1<<2)702#define ACPI_WDDT_USER_RESET (1<<11)703#define ACPI_WDDT_WDT_RESET (1<<12)704#define ACPI_WDDT_POWER_FAIL (1<<13)705#define ACPI_WDDT_UNKNOWN_RESET (1<<14)706707/* Flags for Capability field above */708709#define ACPI_WDDT_AUTO_RESET (1)710#define ACPI_WDDT_ALERT_SUPPORT (1<<1)711712/*******************************************************************************713*714* WDRT - Watchdog Resource Table715* Version 1716*717* Conforms to "Watchdog Timer Hardware Requirements for Windows Server 2003",718* Version 1.01, August 28, 2006719*720******************************************************************************/721722struct acpi_table_wdrt {723struct acpi_table_header header; /* Common ACPI table header */724struct acpi_generic_address control_register;725struct acpi_generic_address count_register;726u16 pci_device_id;727u16 pci_vendor_id;728u8 pci_bus; /* PCI Bus number */729u8 pci_device; /* PCI Device number */730u8 pci_function; /* PCI Function number */731u8 pci_segment; /* PCI Segment number */732u16 max_count; /* Maximum counter value supported */733u8 units;734};735736/*******************************************************************************737*738* WPBT - Windows Platform Environment Table (ACPI 6.0)739* Version 1740*741* Conforms to "Windows Platform Binary Table (WPBT)" 29 November 2011742*743******************************************************************************/744745struct acpi_table_wpbt {746struct acpi_table_header header; /* Common ACPI table header */747u32 handoff_size;748u64 handoff_address;749u8 layout;750u8 type;751u16 arguments_length;752};753754struct acpi_wpbt_unicode {755u16 *unicode_string;756};757758/*******************************************************************************759*760* WSMT - Windows SMM Security Mitigations Table761* Version 1762*763* Conforms to "Windows SMM Security Mitigations Table",764* Version 1.0, April 18, 2016765*766******************************************************************************/767768struct acpi_table_wsmt {769struct acpi_table_header header; /* Common ACPI table header */770u32 protection_flags;771};772773/* Flags for protection_flags field above */774775#define ACPI_WSMT_FIXED_COMM_BUFFERS (1)776#define ACPI_WSMT_COMM_BUFFER_NESTED_PTR_PROTECTION (2)777#define ACPI_WSMT_SYSTEM_RESOURCE_PROTECTION (4)778779/*******************************************************************************780*781* XENV - Xen Environment Table (ACPI 6.0)782* Version 1783*784* Conforms to "ACPI Specification for Xen Environment Table" 4 January 2015785*786******************************************************************************/787788struct acpi_table_xenv {789struct acpi_table_header header; /* Common ACPI table header */790u64 grant_table_address;791u64 grant_table_size;792u32 event_interrupt;793u8 event_flags;794};795796/* Reset to default packing */797798#pragma pack()799800#endif /* __ACTBL3_H__ */801802803