EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

OvmfPkg/AcpiTables/Platform.h

Go to the documentation of this file.
00001 
00015 #ifndef _Platform_h_INCLUDED_
00016 #define _Platform_h_INCLUDED_
00017 
00018 #include <PiDxe.h> 
00019 #include <IndustryStandard/Acpi.h>
00020 
00021 //
00022 // ACPI table information used to initialize tables.
00023 //
00024 #define EFI_ACPI_OEM_ID           'O','V','M','F',' ',' '   // OEMID 6 bytes long
00025 #define EFI_ACPI_OEM_TABLE_ID     SIGNATURE_64('O','V','M','F','E','D','K','2') // OEM table id 8 bytes long
00026 #define EFI_ACPI_OEM_REVISION     0x02000820
00027 #define EFI_ACPI_CREATOR_ID       SIGNATURE_32('O','V','M','F')
00028 #define EFI_ACPI_CREATOR_REVISION 0x00000097
00029 
00030 #define INT_MODEL       0x01
00031 #define SCI_INT_VECTOR  0x0009 
00032 #define SMI_CMD_IO_PORT 0 // If SMM was supported, then this would be 0xB2
00033 #define ACPI_ENABLE     0x0E1
00034 #define ACPI_DISABLE    0x01E
00035 #define S4BIOS_REQ      0x00
00036 #define PM1a_EVT_BLK    0x00000400
00037 #define PM1b_EVT_BLK    0x00000000
00038 #define PM1a_CNT_BLK    0x00000404
00039 #define PM1b_CNT_BLK    0x00000000
00040 #define PM2_CNT_BLK     0x00000022
00041 #define PM_TMR_BLK      0x00000408
00042 #define GPE0_BLK        0x0000040C
00043 #define GPE1_BLK        0x00000000
00044 #define PM1_EVT_LEN     0x04
00045 #define PM1_CNT_LEN     0x02
00046 #define PM2_CNT_LEN     0x01
00047 #define PM_TM_LEN       0x04
00048 #define GPE0_BLK_LEN    0x04
00049 #define GPE1_BLK_LEN    0x00
00050 #define GPE1_BASE       0x00
00051 #define RESERVED        0x00
00052 #define P_LVL2_LAT      0x0065
00053 #define P_LVL3_LAT      0x03E9
00054 #define FLUSH_SIZE      0x0400
00055 #define FLUSH_STRIDE    0x0010
00056 #define DUTY_OFFSET     0x00
00057 #define DUTY_WIDTH      0x00
00058 #define DAY_ALRM        0x0D
00059 #define MON_ALRM        0x00
00060 #define CENTURY         0x00
00061 #define FLAG            EFI_ACPI_1_0_WBINVD | EFI_ACPI_1_0_PROC_C1 | EFI_ACPI_1_0_SLP_BUTTON | EFI_ACPI_1_0_RTC_S4 | EFI_ACPI_1_0_TMR_VAL_EXT
00062 
00063 #endif
00064 
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines