]> git.proxmox.com Git - mirror_edk2.git/blame - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/AcpiTablePlatform.h
Vlv2DeviceRefCodePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / Vlv2DeviceRefCodePkg / AcpiTablesPCAT / AcpiTablePlatform.h
CommitLineData
3cbfba02
DW
1/*++\r
2\r
3Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved\r
4\r
7ede8060 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
3cbfba02
DW
6\r
7\r
8\r
9Module Name:\r
10\r
11 AcpiTablePlatform.h\r
12\r
13\r
14Abstract: File contains platform specific ACPI defines for use in ACPI tables\r
15\r
16\r
17--*/\r
18#ifndef _Platform_h_INCLUDED_\r
19#define _Platform_h_INCLUDED_\r
20\r
21#ifdef ECP_FLAG\r
22#include "EdkIIGlueDxe.h"\r
23#endif\r
24#include <IndustryStandard/Acpi.h>\r
25//\r
26// ACPI table information used to initialize tables.\r
27//\r
28#define EFI_ACPI_OEM_ID 'O','E','M','I','D',' ' // OEMID 6 bytes long\r
29#define EFI_ACPI_OEM_TABLE_ID SIGNATURE_64('O','E','M','T','A','B','L','E') // OEM table id 8 bytes long\r
30#define EFI_ACPI_OEM_REVISION 0x00000005\r
31#define EFI_ACPI_CREATOR_ID SIGNATURE_32('C','R','E','A')\r
32#define EFI_ACPI_CREATOR_REVISION 0x0100000D\r
33#define INT_MODEL 0x01\r
34#define PM_PROFILE EFI_ACPI_4_0_PM_PROFILE_MOBILE\r
35#define SCI_INT_VECTOR 0x0009\r
36#define SMI_CMD_IO_PORT 0x000000B2\r
37#define ACPI_ENABLE 0x0A0\r
38#define ACPI_DISABLE 0x0A1\r
39#define S4BIOS_REQ 0x00\r
40#define PSTATE_CNT 0x00\r
41#define PM1a_EVT_BLK 0x00000400\r
42#define PM1b_EVT_BLK 0x00000000\r
43#define PM1a_CNT_BLK 0x00000404\r
44#define PM1b_CNT_BLK 0x00000000\r
45#define PM2_CNT_BLK 0x00000450\r
46#define PM_TMR_BLK 0x00000408\r
47#define GPE0_BLK 0x00000420\r
48#define GPE1_BLK 0x00000000\r
49#define PM1_EVT_LEN 0x04\r
50#define PM1_CNT_LEN 0x02\r
51#define PM2_CNT_LEN 0x01\r
52#define PM_TM_LEN 0x04\r
53#define GPE0_BLK_LEN 0x10\r
54#define GPE1_BLK_LEN 0x00\r
55#define GPE1_BASE 0x00\r
56#define CST_CNT 0x00\r
57#define P_LVL2_LAT 0x0064\r
58#define P_LVL3_LAT 0x01F4\r
59#define FLUSH_SIZE 0x0400\r
60#define FLUSH_STRIDE 0x0010\r
61#define DUTY_OFFSET 0x01\r
62#define DUTY_WIDTH 0x03\r
63#define DAY_ALRM 0x0D\r
64#define MON_ALRM 0x00\r
65#define CENTURY 0x32\r
66#define FLAG ( EFI_ACPI_4_0_WBINVD | EFI_ACPI_4_0_SLP_BUTTON | EFI_ACPI_4_0_RESET_REG_SUP | EFI_ACPI_4_0_RTC_S4)\r
67#define IAPC_BOOT_ARCH ( EFI_ACPI_4_0_VGA_NOT_PRESENT | EFI_ACPI_4_0_8042 | EFI_ACPI_4_0_LEGACY_DEVICES)\r
68#define RESERVED 0x00\r
69\r
70#endif\r