qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 1 | #/** @file
|
klu2 | 217b992 | 2009-06-19 08:48:13 +0000 | [diff] [blame] | 2 | # Intel Framework Module Package contains the definitions and module implementation
|
| 3 | # which follows Intel EFI Framework Specification.
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 4 | #
|
klu2 | 217b992 | 2009-06-19 08:48:13 +0000 | [diff] [blame] | 5 | # Copyright (c) 2007 - 2009, Intel Corporation.
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 6 | #
|
klu2 | f8cd287 | 2007-07-20 09:34:04 +0000 | [diff] [blame] | 7 | # All rights reserved. This program and the accompanying materials
|
| 8 | # are licensed and made available under the terms and conditions of the BSD License
|
| 9 | # which accompanies this distribution. The full text of the license may be found at
|
| 10 | # http://opensource.org/licenses/bsd-license.php
|
| 11 | #
|
| 12 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 13 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 14 | #
|
| 15 | #**/
|
| 16 |
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 17 | [Defines]
|
| 18 | DEC_SPECIFICATION = 0x00010005
|
| 19 | PACKAGE_NAME = IntelFrameworkModulePkg
|
| 20 | PACKAGE_GUID = 88894582-7553-4822-B484-624E24B6DECF
|
| 21 | PACKAGE_VERSION = 0.1
|
| 22 |
|
mdkinney | 19525fe | 2009-07-13 19:05:07 +0000 | [diff] [blame] | 23 | [Includes]
|
qwang12 | 479922d | 2007-06-29 07:23:08 +0000 | [diff] [blame] | 24 | Include # Root include for the package
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 25 |
|
mdkinney | 19525fe | 2009-07-13 19:05:07 +0000 | [diff] [blame] | 26 | [LibraryClasses]
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 27 | ## @libraryclass OEM status code libary is used to report status code to OEM device.
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 28 | OemHookStatusCodeLib|Include/Library/OemHookStatusCodeLib.h
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 29 |
|
klu2 | ddac74d | 2009-02-24 15:53:05 +0000 | [diff] [blame] | 30 | ## @libraryclass Platform BDS library definition about platform specific behavior.
|
| 31 | PlatformBdsLib|Include/Library/PlatformBdsLib.h
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 32 |
|
klu2 | ddac74d | 2009-02-24 15:53:05 +0000 | [diff] [blame] | 33 | ## @libraryclass Generic BDS library definition, include the data structure and function.
|
| 34 | GenericBdsLib|Include/Library/GenericBdsLib.h
|
| 35 |
|
mdkinney | 19525fe | 2009-07-13 19:05:07 +0000 | [diff] [blame] | 36 | [Guids]
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 37 | ## IntelFrameworkModule package token space guid
|
| 38 | ## Include/Guid/IntelFrameworkModulePkgTokenSpace.h
|
| 39 | gEfiIntelFrameworkModulePkgTokenSpaceGuid = { 0xD3705011, 0xBC19, 0x4af7, { 0xBE, 0x16, 0xF6, 0x80, 0x30, 0x37, 0x8C, 0x15 }}
|
| 40 |
|
| 41 | ## GUID identifies status code records HOB that originate from the PEI status code
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 42 | ## Include/Guid/MemoryStatusCodeRecord.h
|
klu2 | 29941df | 2007-07-19 02:23:08 +0000 | [diff] [blame] | 43 | gMemoryStatusCodeRecordGuid = { 0x060CC026, 0x4C0D, 0x4DDA, { 0x8F, 0x41, 0x59, 0x5F, 0xEF, 0x00, 0xA5, 0x02 }}
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 44 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 45 | ## GUID identifies Data Hub records logged by Status Code Runtime Protocol.
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 46 | ## Include/Guid/DataHubStatusCodeRecord.h
|
yshang1 | 351986a | 2007-07-23 06:43:10 +0000 | [diff] [blame] | 47 | gEfiDataHubStatusCodeRecordGuid = { 0xD083E94C, 0x6560, 0x42E4, { 0xB6, 0xD4, 0x2D, 0xF7, 0x5A, 0xDF, 0x6A, 0x2A }}
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 48 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 49 | ## GUID indicates the tiano custom compress/decompress algorithm.
|
| 50 | ## Include/Guid/TianoDecompress.h
|
lgao4 | d8c79a8 | 2007-08-08 10:17:57 +0000 | [diff] [blame] | 51 | gTianoCustomDecompressGuid = { 0xA31280AD, 0x481E, 0x41B6, { 0x95, 0xE8, 0x12, 0x7F, 0x4C, 0x98, 0x47, 0x79 }}
|
qhuang8 | 4bf32fb | 2009-03-02 06:08:22 +0000 | [diff] [blame] | 52 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 53 | ## GUID indicates the LZMA custom compress/decompress algorithm.
|
jljusten | 306bf4e | 2009-05-01 00:28:19 +0000 | [diff] [blame] | 54 | ## Include/Guid/LzmaDecompress.h
|
| 55 | gLzmaCustomDecompressGuid = { 0xEE4E5898, 0x3914, 0x4259, { 0x9D, 0x6E, 0xDC, 0x7B, 0xD7, 0x94, 0x03, 0xCF }}
|
| 56 |
|
mdkinney | 3a6064f | 2009-06-01 21:17:41 +0000 | [diff] [blame] | 57 | ## GUID used to pass DEBUG() macro information through the Status Code Protocol and Status Code PPI
|
| 58 | ## Include/Guid/StatusCodeDataTypeDebug.h
|
| 59 | gEfiStatusCodeDataTypeDebugGuid = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}
|
| 60 |
|
mdkinney | 19525fe | 2009-07-13 19:05:07 +0000 | [diff] [blame] | 61 | [Protocols]
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 62 | ## Vga Mini port binding for a VGA controller
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 63 | ## Include/Protocol/VgaMiniPort.h
|
yshang1 | 351986a | 2007-07-23 06:43:10 +0000 | [diff] [blame] | 64 | gEfiVgaMiniPortProtocolGuid = { 0xc7735a2f, 0x88f5, 0x4882, { 0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3 }}
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 65 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 66 | ## ISA I/O Protocol is used to perform ISA device Io/Mem operations.
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 67 | ## Include/Protocol/IsaIo.h
|
yshang1 | c390237 | 2007-07-02 09:09:00 +0000 | [diff] [blame] | 68 | gEfiIsaIoProtocolGuid = { 0x7ee2bd44, 0x3da0, 0x11d4, { 0x9a, 0x38, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }}
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 69 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 70 | ## ISA Acpi Protocol is used to operate and communicate with ISA device.
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 71 | ## Include/Protocol/IsaAcpi.h
|
yshang1 | 351986a | 2007-07-23 06:43:10 +0000 | [diff] [blame] | 72 | gEfiIsaAcpiProtocolGuid = { 0x64a892dc, 0x5561, 0x4536, { 0x92, 0xc7, 0x79, 0x9b, 0xfc, 0x18, 0x33, 0x55 }}
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 73 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 74 | ## PS/2 policy protocol abstracts the specific platform initialization and setting.
|
gikidy | e8eecbf | 2009-04-27 02:28:39 +0000 | [diff] [blame] | 75 | ## Include/Protocol/Ps2Policy.h
|
qwang12 | 75d51bc | 2007-07-06 09:11:10 +0000 | [diff] [blame] | 76 | gEfiPs2PolicyProtocolGuid = { 0x4DF19259, 0xDC71, 0x4D46, { 0xBE, 0xF1, 0x35, 0x7B, 0xB5, 0x78, 0xC4, 0x18 }}
|
qhuang8 | a910261 | 2007-06-26 08:14:44 +0000 | [diff] [blame] | 77 |
|
klu2 | da4483c | 2009-02-26 04:36:27 +0000 | [diff] [blame] | 78 | ## OEM Badging Protocol defines the interface to get the OEM badging image with the dispaly attribute.
|
| 79 | ## Include/Protocol/OEMBadging.h
|
| 80 | gEfiOEMBadgingProtocolGuid = { 0x170E13C0, 0xBF1B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }}
|
| 81 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 82 | [PcdsFeatureFlag]
|
klu2 | 588e329 | 2009-06-24 06:21:49 +0000 | [diff] [blame] | 83 | ## This PCD specifies whether StatusCode is reported via Serial port.
|
qhuang8 | 1f6727d | 2007-12-05 07:14:27 +0000 | [diff] [blame] | 84 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 85 |
|
| 86 | ## This PCD specifies whether StatusCode is stored in memory.
|
klu2 | 588e329 | 2009-06-24 06:21:49 +0000 | [diff] [blame] | 87 | # The memory is boot time memory in PEI Phase and is runtime memory in DXE Phase.
|
qhuang8 | b3af5df | 2007-08-30 09:11:54 +0000 | [diff] [blame] | 88 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 89 |
|
klu2 | 588e329 | 2009-06-24 06:21:49 +0000 | [diff] [blame] | 90 | ## This PCD specifies whether StatusCode is reported via OEM device.
|
qhuang8 | b3af5df | 2007-08-30 09:11:54 +0000 | [diff] [blame] | 91 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM|FALSE|BOOLEAN|0x00010024
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 92 |
|
| 93 | ## This PCD specifies whether StatusCode is loged into DataHub.
|
qhuang8 | b3af5df | 2007-08-30 09:11:54 +0000 | [diff] [blame] | 94 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseDataHub|FALSE|BOOLEAN|0x00010029
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 95 |
|
| 96 | ## This PCD specifies whether Peiphase StatusCode is replayed in DxePhase.
|
| 97 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeReplayIn|FALSE|BOOLEAN|0x0001002d
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 98 |
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 99 | ## This PCD specifies whether PciBus supports the hot plug device.
|
qhuang8 | b3af5df | 2007-08-30 09:11:54 +0000 | [diff] [blame] | 100 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|TRUE|BOOLEAN|0x0001003d
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 101 |
|
gikidy | 77b91d8 | 2009-07-10 07:55:14 +0000 | [diff] [blame] | 102 | ## This PCD specifies whether Serial device use half hand shake.
|
| 103 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSerialUseHalfHandshake|FALSE|BOOLEAN|0x00010043
|
| 104 |
|
lgao4 | d46f363 | 2009-07-09 05:48:35 +0000 | [diff] [blame] | 105 | [PcdsFixedAtBuild]
|
| 106 | ## FFS filename to find the default BMP Logo file.
|
| 107 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile |{ 0x99, 0x8b, 0xB2, 0x7B, 0xBB, 0x61, 0xD5, 0x11, 0x9A, 0x5D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D }|VOID*|16
|
| 108 |
|
| 109 | ## FFS filename to find the shell application.
|
| 110 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile|{ 0xB7, 0xD6, 0x7A, 0xC5, 0x15, 0x05, 0xA8, 0x40, 0x9D, 0x21, 0x55, 0x16, 0x52, 0x85, 0x4E, 0x37 }|VOID*|16
|
| 111 |
|
xli24 | 10c1a4c | 2009-07-10 07:01:42 +0000 | [diff] [blame] | 112 | ## ISA bus related PCD to support DMA, SlaveDMA and ISA Memory features.
|
| 113 | # BIT0 indicates if DMA is supported
|
| 114 | # BIT1 indicates if only slave DMA is supported
|
| 115 | # BIT2 indicates if ISA memory is supported
|
| 116 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSupportedFeatures|0x05|UINT8|0x00010040
|
| 117 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 118 | [PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 119 | ## PcdStatusCodeMemorySize is used when PcdStatusCodeUseMemory is set to true
|
| 120 | # (PcdStatusCodeMemorySize * KBytes) is the total taken memory size.
|
| 121 | # The default value in PeiPhase is 1 KBytes.
|
| 122 | # The default value in DxePhase is 128 KBytes.
|
qhuang8 | b3af5df | 2007-08-30 09:11:54 +0000 | [diff] [blame] | 123 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010025
|
klu2 | a2b3599 | 2009-02-26 08:19:38 +0000 | [diff] [blame] | 124 |
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 125 | [PcdsDynamic]
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 126 | ## PCD is used to mark if the machine has complete one boot cycle before.
|
| 127 | # After the complete boot, the variable BootState will be set to TRUE.
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 128 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|TRUE|BOOLEAN|0x0001002f
|
| 129 |
|
| 130 | ## Timeout value for displaying progressing bar in before boot OS.
|
lgao4 | d2c315e | 2009-06-16 01:16:27 +0000 | [diff] [blame] | 131 | # According to UEFI 2.0 spec, the default TimeOut should be 0xffff.
|
lgao4 | f467179 | 2009-06-08 06:59:54 +0000 | [diff] [blame] | 132 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x40000001
|
| 133 |
|
| 134 | ## Error level for hardware recorder. If value 0, platform does not support feature of hardware error record.
|
| 135 | # This PCD should be set as HII type PCD by platform integrator mapped to variable L"HwErrRecSupport"
|
| 136 | gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|0|UINT16|0x40000002
|