]>
git.proxmox.com Git - mirror_edk2.git/blob - Vlv2DeviceRefCodePkg/AcpiTablesPCAT/AcpiTablePlatform.h
3 Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
5 SPDX-License-Identifier: BSD-2-Clause-Patent
14 Abstract: File contains platform specific ACPI defines for use in ACPI tables
18 #ifndef _Platform_h_INCLUDED_
19 #define _Platform_h_INCLUDED_
22 #include "EdkIIGlueDxe.h"
24 #include <IndustryStandard/Acpi.h>
26 // ACPI table information used to initialize tables.
28 #define EFI_ACPI_OEM_ID 'O','E','M','I','D',' ' // OEMID 6 bytes long
29 #define EFI_ACPI_OEM_TABLE_ID SIGNATURE_64('O','E','M','T','A','B','L','E') // OEM table id 8 bytes long
30 #define EFI_ACPI_OEM_REVISION 0x00000005
31 #define EFI_ACPI_CREATOR_ID SIGNATURE_32('C','R','E','A')
32 #define EFI_ACPI_CREATOR_REVISION 0x0100000D
33 #define INT_MODEL 0x01
34 #define PM_PROFILE EFI_ACPI_4_0_PM_PROFILE_MOBILE
35 #define SCI_INT_VECTOR 0x0009
36 #define SMI_CMD_IO_PORT 0x000000B2
37 #define ACPI_ENABLE 0x0A0
38 #define ACPI_DISABLE 0x0A1
39 #define S4BIOS_REQ 0x00
40 #define PSTATE_CNT 0x00
41 #define PM1a_EVT_BLK 0x00000400
42 #define PM1b_EVT_BLK 0x00000000
43 #define PM1a_CNT_BLK 0x00000404
44 #define PM1b_CNT_BLK 0x00000000
45 #define PM2_CNT_BLK 0x00000450
46 #define PM_TMR_BLK 0x00000408
47 #define GPE0_BLK 0x00000420
48 #define GPE1_BLK 0x00000000
49 #define PM1_EVT_LEN 0x04
50 #define PM1_CNT_LEN 0x02
51 #define PM2_CNT_LEN 0x01
52 #define PM_TM_LEN 0x04
53 #define GPE0_BLK_LEN 0x10
54 #define GPE1_BLK_LEN 0x00
55 #define GPE1_BASE 0x00
57 #define P_LVL2_LAT 0x0064
58 #define P_LVL3_LAT 0x01F4
59 #define FLUSH_SIZE 0x0400
60 #define FLUSH_STRIDE 0x0010
61 #define DUTY_OFFSET 0x01
62 #define DUTY_WIDTH 0x03
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)
67 #define IAPC_BOOT_ARCH ( EFI_ACPI_4_0_VGA_NOT_PRESENT | EFI_ACPI_4_0_8042 | EFI_ACPI_4_0_LEGACY_DEVICES)