summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-08 06:59:54 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-08 06:59:54 +0000
commitf4671790b4cb76c888b8e41bebd0c33477dbd940 (patch)
tree581b9c13a64c5a4a7285935d4d4cb619daacfdd3
parent6a194b7f2d9a60b9a42fdc8bdeb69bcc189fd0ed (diff)
downloadedk2-platforms-f4671790b4cb76c888b8e41bebd0c33477dbd940.tar.xz
Add comments for Include header files
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8499 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h5
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h (renamed from IntelFrameworkModulePkg/Include/Guid/CustomDecompress.h)4
-rw-r--r--IntelFrameworkModulePkg/Include/Protocol/IsaAcpi.h93
-rw-r--r--IntelFrameworkModulePkg/Include/Protocol/IsaIo.h121
-rw-r--r--IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h16
-rw-r--r--IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h4
-rw-r--r--IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec60
-rw-r--r--IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c1
-rw-r--r--IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h1
9 files changed, 253 insertions, 52 deletions
diff --git a/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h b/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h
index 5e3e709fbc..cbea8d56f9 100644
--- a/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h
+++ b/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h
@@ -1,8 +1,7 @@
/** @file
- GUID used to identify Data Hub records that originate from the Tiano
- ReportStatusCode API.
+ GUID used to identify Data Hub records logged by Status Code Runtime Protocol.
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
diff --git a/IntelFrameworkModulePkg/Include/Guid/CustomDecompress.h b/IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h
index 610443c54b..e395cbc0ea 100644
--- a/IntelFrameworkModulePkg/Include/Guid/CustomDecompress.h
+++ b/IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h
@@ -1,7 +1,7 @@
/** @file
- Custom decompress Guid definitions
+ Tiano Custom decompress Guid definition
-Copyright (c) 2006 - 2007, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
diff --git a/IntelFrameworkModulePkg/Include/Protocol/IsaAcpi.h b/IntelFrameworkModulePkg/Include/Protocol/IsaAcpi.h
index 573d5a4a60..e3ad06f60f 100644
--- a/IntelFrameworkModulePkg/Include/Protocol/IsaAcpi.h
+++ b/IntelFrameworkModulePkg/Include/Protocol/IsaAcpi.h
@@ -1,7 +1,7 @@
/** @file
- EFI ISA Acpi Protocol
+ ISA Acpi Protocol is used to operate and communicate with ISA device.
-Copyright (c) 2006 - 2007, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -56,11 +56,7 @@ typedef struct _EFI_ISA_ACPI_PROTOCOL EFI_ISA_ACPI_PROTOCOL;
//
// Resource List definition:
-// at first, the resource was defined as below
-// but in the future, it will be defined again that follow ACPI spec: ACPI resource type
-// so that, in this driver, we can interpret the ACPI table and get the ISA device information.
//
-
typedef enum {
EfiIsaAcpiResourceEndOfList,
EfiIsaAcpiResourceIo,
@@ -86,16 +82,33 @@ typedef struct {
EFI_ISA_ACPI_RESOURCE *ResourceItem;
} EFI_ISA_ACPI_RESOURCE_LIST;
-//
-// Prototypes for the ISA ACPI Protocol
-//
+/**
+ Enumerate the ISA devices on the ISA bus.
+
+ @param This Pointer to EFI_ISA_ACPI_PROTOCOL.
+ @param Device Found next ISA device.
+
+ @retval EFI_NOT_FOUND No device found.
+ @retval EFI_SUCCESS Success get the next ISA device.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_DEVICE_ENUMERATE) (
IN EFI_ISA_ACPI_PROTOCOL *This,
OUT EFI_ISA_ACPI_DEVICE_ID **Device
);
-
+
+/**
+ Set ISA device power.
+
+ @param This Pointer to EFI_ISA_ACPI_PROTOCOL.
+ @param Device ISA device.
+ @param OnOff Whether to set power on or off.
+
+ @retval EFI_SUCCESS Successfully set ISA device.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_SET_DEVICE_POWER) (
@@ -104,6 +117,17 @@ EFI_STATUS
IN BOOLEAN OnOff
);
+/**
+ Get current Resource of the specific ISA device.
+
+ @param This Pointer to EFI_ISA_ACPI_PROTOCOL.
+ @param Device ISA device.
+ @param ResourceList Returned resource list.
+
+ @retval EFI_SUCCESS Successfully get current resource.
+ @retval EFI_NOT_FOUND No resource found.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_GET_CUR_RESOURCE) (
@@ -112,6 +136,16 @@ EFI_STATUS
OUT EFI_ISA_ACPI_RESOURCE_LIST **ResourceList
);
+/**
+ Get possible resource for the specific ISA device.
+
+ @param This Pointer to EFI_ISA_ACPI_PROTOCOL.
+ @param Device ISA device.
+ @param ResourceList Returned resource list.
+
+ @retval EFI_SUCCESS Successfully get possible resource.
+ @retval EFI_NOT_FOUND No resource found.
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_GET_POS_RESOURCE) (
@@ -119,7 +153,17 @@ EFI_STATUS
IN EFI_ISA_ACPI_DEVICE_ID *Device,
OUT EFI_ISA_ACPI_RESOURCE_LIST **ResourceList
);
-
+
+/**
+ Set resources for the specific ISA device.
+
+ @param This Pointer to EFI_ISA_ACPI_PROTOCOL.
+ @param Device ISA device.
+ @param ResourceList Resource list will be set.
+
+ @retval EFI_SUCCESS Successfully set resource.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_SET_RESOURCE) (
@@ -128,6 +172,16 @@ EFI_STATUS
IN EFI_ISA_ACPI_RESOURCE_LIST *ResourceList
);
+/**
+ Enable or disable ISA device.
+
+ @param This Pointer of EFI_ISA_ACPI_PROTOCOL.
+ @param Device ISA device.
+ @param Enable Enable/Disable.
+
+ @retval EFI_SUCCESS Successfully perform this action.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_ENABLE_DEVICE) (
@@ -136,6 +190,15 @@ EFI_STATUS
IN BOOLEAN Enable
);
+/**
+ Init ISA device.
+
+ @param This Pointer to EFI_ISA_ACPI_PROTOCOL.
+ @param Device ISA device.
+
+ @retval EFI_SUCCESS Successfully initialize ISA device.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_INIT_DEVICE) (
@@ -143,6 +206,14 @@ EFI_STATUS
IN EFI_ISA_ACPI_DEVICE_ID *Device
);
+/**
+ ISA Interface Init.
+
+ @param This Pointer of EFI_ISA_ACPI_PROTOCOL.
+
+ @retval EFI_SUCCESS Successfully initialize ISA interface.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_ACPI_INTERFACE_INIT) (
diff --git a/IntelFrameworkModulePkg/Include/Protocol/IsaIo.h b/IntelFrameworkModulePkg/Include/Protocol/IsaIo.h
index ce7f615621..9a2822937f 100644
--- a/IntelFrameworkModulePkg/Include/Protocol/IsaIo.h
+++ b/IntelFrameworkModulePkg/Include/Protocol/IsaIo.h
@@ -1,7 +1,7 @@
/** @file
- EFI ISA I/O Protocol
+ ISA I/O Protocol is used to perform ISA device Io/Mem operations.
-Copyright (c) 2006 - 2007, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -19,18 +19,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Protocol/IsaAcpi.h>
//
-// Global ID for the ISA I/O Protocol
+// Global GUID for the ISA I/O Protocol
//
-
#define EFI_ISA_IO_PROTOCOL_GUID \
{ 0x7ee2bd44, 0x3da0, 0x11d4, { 0x9a, 0x38, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d } }
typedef struct _EFI_ISA_IO_PROTOCOL EFI_ISA_IO_PROTOCOL;
//
-// Prototypes for the ISA I/O Protocol
+// Width of ISA Io/Mem operation
//
-
typedef enum {
EfiIsaIoWidthUint8,
EfiIsaIoWidthUint16,
@@ -50,9 +48,9 @@ typedef enum {
//
// Attributes for common buffer allocations
//
-#define EFI_ISA_IO_ATTRIBUTE_MEMORY_WRITE_COMBINE 0x080 // Map a memory range so write are combined
-#define EFI_ISA_IO_ATTRIBUTE_MEMORY_CACHED 0x800 // Map a memory range so all r/w accesses are cached
-#define EFI_ISA_IO_ATTRIBUTE_MEMORY_DISABLE 0x1000 // Disable a memory range
+#define EFI_ISA_IO_ATTRIBUTE_MEMORY_WRITE_COMBINE 0x080 ///< Map a memory range so write are combined
+#define EFI_ISA_IO_ATTRIBUTE_MEMORY_CACHED 0x800 ///< Map a memory range so all r/w accesses are cached
+#define EFI_ISA_IO_ATTRIBUTE_MEMORY_DISABLE 0x1000 ///< Disable a memory range
//
// Channel attribute for DMA operations
@@ -76,6 +74,22 @@ typedef enum {
EfiIsaIoOperationMaximum
} EFI_ISA_IO_PROTOCOL_OPERATION;
+/**
+ Performs an ISA Io/Memory Read/Write Cycle
+
+ @param This A pointer to the EFI_ISA_IO_PROTOCOL instance.
+ @param Width Signifies the width of the Io/Memory operation.
+ @param Offset The offset in ISA Io/Memory space to start the Io/Memory operation.
+ @param Count The number of Io/Memory operations to perform.
+ @param Buffer [OUT] The destination buffer to store the results.
+ [IN] The source buffer to write data to the device.
+
+ @retval EFI_SUCCESS The data was read from / written to the device sucessfully.
+ @retval EFI_UNSUPPORTED The Offset is not valid for this device.
+ @retval EFI_INVALID_PARAMETER Width or Count, or both, were invalid.
+ @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_IO_PROTOCOL_IO_MEM) (
@@ -91,6 +105,21 @@ typedef struct {
EFI_ISA_IO_PROTOCOL_IO_MEM Write;
} EFI_ISA_IO_PROTOCOL_ACCESS;
+/**
+ Performs an ISA I/O Copy Memory
+
+ @param This A pointer to the EFI_ISA_IO_PROTOCOL instance.
+ @param Width Signifies the width of the memory copy operation.
+ @param DestOffset The offset of the destination
+ @param SrcOffset The offset of the source
+ @param Count The number of memory copy operations to perform
+
+ @retval EFI_SUCCESS The data was copied sucessfully.
+ @retval EFI_UNSUPPORTED The DestOffset or SrcOffset is not valid for this device.
+ @retval EFI_INVALID_PARAMETER Width or Count, or both, were invalid.
+ @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_IO_PROTOCOL_COPY_MEM) (
@@ -101,6 +130,32 @@ EFI_STATUS
IN UINTN Count
);
+/**
+ Maps a memory region for DMA
+
+ @param This A pointer to the EFI_ISA_IO_PROTOCOL instance.
+ @param Operation Indicates the type of DMA (slave or bus master), and if
+ the DMA operation is going to read or write to system memory.
+ @param ChannelNumber The slave channel number to use for this DMA operation.
+ If Operation and ChannelAttributes shows that this device
+ performs bus mastering DMA, then this field is ignored.
+ The legal range for this field is 0..7.
+ @param ChannelAttributes The attributes of the DMA channel to use for this DMA operation
+ @param HostAddress The system memory address to map to the device.
+ @param NumberOfBytes On input the number of bytes to map. On output the number
+ of bytes that were mapped.
+ @param DeviceAddress The resulting map address for the bus master device to use
+ to access the hosts HostAddress.
+ @param Mapping A resulting value to pass to EFI_ISA_IO.Unmap().
+
+
+ @retval EFI_SUCCESS The range was mapped for the returned NumberOfBytes.
+ @retval EFI_INVALID_PARAMETER The Operation or HostAddress is undefined.
+ @retval EFI_UNSUPPORTED The HostAddress can not be mapped as a common buffer.
+ @retval EFI_DEVICE_ERROR The system hardware could not map the requested address.
+ @retval EFI_OUT_OF_RESOURCES The memory pages could not be allocated.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_IO_PROTOCOL_MAP) (
@@ -114,6 +169,16 @@ EFI_STATUS
OUT VOID **Mapping
);
+/**
+ Unmaps a memory region for DMA
+
+ @param This A pointer to the EFI_ISA_IO_PROTOCOL instance.
+ @param Mapping The mapping value returned from EFI_ISA_IO.Map().
+
+ @retval EFI_SUCCESS The range was unmapped.
+ @retval EFI_DEVICE_ERROR The data was not committed to the target system memory.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_IO_PROTOCOL_UNMAP) (
@@ -121,6 +186,23 @@ EFI_STATUS
IN VOID *Mapping
);
+/**
+ Allocates a common buffer for DMA
+
+ @param This A pointer to the EFI_ISA_IO_PROTOCOL instance.
+ @param Type The type allocation to perform.
+ @param MemoryType The type of memory to allocate.
+ @param Pages The number of pages to allocate.
+ @param HostAddress A pointer to store the base address of the allocated range.
+ @param Attributes The requested bit mask of attributes for the allocated range.
+
+ @retval EFI_SUCCESS The requested memory pages were allocated.
+ @retval EFI_INVALID_PARAMETER Type is invalid or MemoryType is invalid or HostAddress is NULL
+ @retval EFI_UNSUPPORTED Attributes is unsupported or the memory range specified
+ by HostAddress, Pages, and Type is not available for common buffer use.
+ @retval EFI_OUT_OF_RESOURCES The memory pages could not be allocated.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_IO_PROTOCOL_ALLOCATE_BUFFER) (
@@ -132,6 +214,18 @@ EFI_STATUS
IN UINT64 Attributes
);
+/**
+ Frees a common buffer
+
+ @param This A pointer to the EFI_ISA_IO_PROTOCOL instance.
+ @param Pages The number of pages to free.
+ @param HostAddress The base address of the allocated range.
+
+
+ @retval EFI_SUCCESS The requested memory pages were freed.
+ @retval EFI_INVALID_PARAMETER The memory was not allocated with EFI_ISA_IO.AllocateBufer().
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_IO_PROTOCOL_FREE_BUFFER) (
@@ -140,6 +234,15 @@ EFI_STATUS
IN VOID *HostAddress
);
+/**
+ Flushes a DMA buffer
+
+ @param This A pointer to the EFI_ISA_IO_PROTOCOL instance.
+
+ @retval EFI_SUCCESS The buffers were flushed.
+ @retval EFI_DEVICE_ERROR The buffers were not flushed due to a hardware error.
+
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_ISA_IO_PROTOCOL_FLUSH) (
diff --git a/IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h b/IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h
index 748ec103d6..996b5b3265 100644
--- a/IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h
+++ b/IntelFrameworkModulePkg/Include/Protocol/PciHotPlugRequest.h
@@ -1,6 +1,7 @@
/** @file
+ This protocol is used to add or remove all PCI child devices on the PCI root bridge.
-Copyright (c) 2006 - 2007, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -24,6 +25,19 @@ typedef enum {
typedef struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL EFI_PCI_HOTPLUG_REQUEST_PROTOCOL;
+/**
+ Hot plug request notify.
+
+ @param This A pointer to the hot plug request protocol.
+ @param Operation The operation.
+ @param Controller A pointer to the controller.
+ @param RemainingDevicePath A pointer to the device path.
+ @param NumberOfChildren A the number of child handle in the ChildHandleBuffer.
+ @param ChildHandleBuffer A pointer to the array contain the child handle.
+
+ @retval EFI_NOT_FOUND Can not find bridge according to controller handle.
+ @retval EFI_SUCCESS Success operating.
+**/
typedef
EFI_STATUS
(EFIAPI *EFI_PCI_HOTPLUG_REQUEST_NOTIFY) (
diff --git a/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h b/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
index e6d20a8d0d..0ea26bdfc5 100644
--- a/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
+++ b/IntelFrameworkModulePkg/Include/Protocol/Ps2Policy.h
@@ -1,7 +1,7 @@
/** @file
- Protocol used for PS/2 Policy definition.
+ PS/2 policy protocol abstracts the specific platform initialization and setting.
-Copyright (c) 2006 - 2007, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
diff --git a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
index 0f31f934a6..1123af3e46 100644
--- a/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
+++ b/IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
@@ -24,27 +24,36 @@
Include # Root include for the package
[LibraryClasses.common]
+ ## @libraryclass This libary is used to support the incompatible PCI devices.
PciIncompatibleDeviceSupportLib|Include/Library/PciIncompatibleDeviceSupportLib.h
+
+ ## @libraryclass OEM status code libary is used to report status code to OEM device.
OemHookStatusCodeLib|Include/Library/OemHookStatusCodeLib.h
## @libraryclass Platform BDS library definition about platform specific behavior.
PlatformBdsLib|Include/Library/PlatformBdsLib.h
-
+
## @libraryclass Generic BDS library definition, include the data structure and function.
GenericBdsLib|Include/Library/GenericBdsLib.h
[Guids.common]
+ ## IntelFrameworkModule package token space guid
+ ## Include/Guid/IntelFrameworkModulePkgTokenSpace.h
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid = { 0xD3705011, 0xBC19, 0x4af7, { 0xBE, 0x16, 0xF6, 0x80, 0x30, 0x37, 0x8C, 0x15 }}
+
+ ## GUID identifies status code records HOB that originate from the PEI status code
## Include/Guid/MemoryStatusCodeRecord.h
gMemoryStatusCodeRecordGuid = { 0x060CC026, 0x4C0D, 0x4DDA, { 0x8F, 0x41, 0x59, 0x5F, 0xEF, 0x00, 0xA5, 0x02 }}
+ ## GUID identifies Data Hub records logged by Status Code Runtime Protocol.
## Include/Guid/DataHubStatusCodeRecord.h
gEfiDataHubStatusCodeRecordGuid = { 0xD083E94C, 0x6560, 0x42E4, { 0xB6, 0xD4, 0x2D, 0xF7, 0x5A, 0xDF, 0x6A, 0x2A }}
- gEfiIntelFrameworkModulePkgTokenSpaceGuid = { 0xD3705011, 0xBC19, 0x4af7, { 0xBE, 0x16, 0xF6, 0x80, 0x30, 0x37, 0x8C, 0x15 }}
-
- ## Include/Guid/CustomDecompress.h
+ ## GUID indicates the tiano custom compress/decompress algorithm.
+ ## Include/Guid/TianoDecompress.h
gTianoCustomDecompressGuid = { 0xA31280AD, 0x481E, 0x41B6, { 0x95, 0xE8, 0x12, 0x7F, 0x4C, 0x98, 0x47, 0x79 }}
+ ## GUID indicates the LZMA custom compress/decompress algorithm.
## Include/Guid/LzmaDecompress.h
gLzmaCustomDecompressGuid = { 0xEE4E5898, 0x3914, 0x4259, { 0x9D, 0x6E, 0xDC, 0x7B, 0xD7, 0x94, 0x03, 0xCF }}
@@ -60,7 +69,6 @@
## Include/Guid/StatusCodeDataTypeDebug.h
gEfiStatusCodeDataTypeDebugGuid = { 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xB9 }}
-
## Guid for EFI_DISK_INFO_PROTOCOL.Interface to specify Usb interface.
## Include/Protocol/DiskInfo.h
gEfiDiskInfoUsbInterfaceGuid = { 0xCB871572, 0xC11A, 0x47B5, { 0xB4, 0x92, 0x67, 0x5E, 0xAF, 0xA7, 0x77, 0x27 }}
@@ -78,18 +86,23 @@
gEfiDiskInfoAhciInterfaceGuid = { 0x9e498932, 0x4abc, 0x45af, { 0xa3, 0x4d, 0x02, 0x47, 0x78, 0x7b, 0xe7, 0xc6 }}
[Protocols.common]
+ ## This protocol is used to add or remove all PCI child devices on the PCI root bridge.
## Include/Protocol/PciHotPlugRequest.h
gEfiPciHotPlugRequestProtocolGuid = { 0x19CB87AB, 0x2CB9, 0x4665, { 0x83, 0x60, 0xDD, 0xCF, 0x60, 0x54, 0xF7, 0x9D }}
+ ## Vga Mini port binding for a VGA controller
## Include/Protocol/VgaMiniPort.h
gEfiVgaMiniPortProtocolGuid = { 0xc7735a2f, 0x88f5, 0x4882, { 0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3 }}
+ ## ISA I/O Protocol is used to perform ISA device Io/Mem operations.
## Include/Protocol/IsaIo.h
gEfiIsaIoProtocolGuid = { 0x7ee2bd44, 0x3da0, 0x11d4, { 0x9a, 0x38, 0x0, 0x90, 0x27, 0x3f, 0xc1, 0x4d }}
+ ## ISA Acpi Protocol is used to operate and communicate with ISA device.
## Include/Protocol/IsaAcpi.h
gEfiIsaAcpiProtocolGuid = { 0x64a892dc, 0x5561, 0x4536, { 0x92, 0xc7, 0x79, 0x9b, 0xfc, 0x18, 0x33, 0x55 }}
+ ## PS/2 policy protocol abstracts the specific platform initialization and setting.
## Include/Protocol/Ps2Policy.h
gEfiPs2PolicyProtocolGuid = { 0x4DF19259, 0xDC71, 0x4D46, { 0xBE, 0xF1, 0x35, 0x7B, 0xB5, 0x78, 0xC4, 0x18 }}
@@ -101,20 +114,8 @@
## Include/Protocol/OEMBadging.h
gEfiOEMBadgingProtocolGuid = { 0x170E13C0, 0xBF1B, 0x4218, { 0x87, 0x1D, 0x2A, 0xBD, 0xC6, 0xF8, 0x87, 0xBC }}
-[PcdsDynamic.common]
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010025
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeRuntimeMemorySize|128|UINT16|0x0001002e
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|TRUE|BOOLEAN|0x0001002f
-
- ## Timeout value for displaying progressing bar in before boot OS.
- # According to UEFI 2.0 spec, it should treat the Timeout value as 0xffff.
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x40000001
-
- ## Error level for hardware recorder. If value 0, platform does not support feature of hardware error record.
- # This PCD should be set as HII type PCD by platform integrator mapped to variable L"HwErrRecSupport"
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|0|UINT16|0x40000002
-
-[PcdsFeatureFlag.common]
+[PcdsFeatureFlag]
+ ## if required, only one mask PCD to support all features to reduces PCD number.
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseSerial|TRUE|BOOLEAN|0x00010022
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseMemory|FALSE|BOOLEAN|0x00010023
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeUseOEM|FALSE|BOOLEAN|0x00010024
@@ -126,21 +127,34 @@
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeReplayInRuntimeMemory|FALSE|BOOLEAN|0x0001002b
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeReplayInDataHub|FALSE|BOOLEAN|0x0001002c
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeReplayInOEM|FALSE|BOOLEAN|0x0001002d
+
+ ##
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciIsaEnable|FALSE|BOOLEAN|0x00010039
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciVgaEnable|FALSE|BOOLEAN|0x0001003a
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciBusHotplugDeviceSupport|TRUE|BOOLEAN|0x0001003d
+
+ ##
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSupportDma|TRUE|BOOLEAN|0x00010040
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusOnlySupportSlaveDma|FALSE|BOOLEAN|0x00010041
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdIsaBusSupportIsaMemory|TRUE|BOOLEAN|0x00010042
+
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciCfgDisable|FALSE|BOOLEAN|0x00010043
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciCfg2Disable|FALSE|BOOLEAN|0x00010044
-[PcdsFixedAtBuild.common]
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010025
- gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeRuntimeMemorySize|128|UINT16|0x0001002e
+[PcdsFixedAtBuild]
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPciIncompatibleDeviceSupportMask|0|UINT8|0x0001003f
-[PcdsPatchableInModule.common]
+[PcdsFixedAtBuild,PcdsPatchableInModule,PcdsDynamic]
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeMemorySize|1|UINT16|0x00010025
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdStatusCodeRuntimeMemorySize|128|UINT16|0x0001002e
+[PcdsDynamic]
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdBootState|TRUE|BOOLEAN|0x0001002f
+
+ ## Timeout value for displaying progressing bar in before boot OS.
+ # According to UEFI 2.0 spec, it should treat the Timeout value as 0xffff.
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut|0xffff|UINT16|0x40000001
+
+ ## Error level for hardware recorder. If value 0, platform does not support feature of hardware error record.
+ # This PCD should be set as HII type PCD by platform integrator mapped to variable L"HwErrRecSupport"
+ gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdHardwareErrorRecordLevel|0|UINT16|0x40000002
diff --git a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
index 9872ded38f..ad80f2b6be 100644
--- a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
+++ b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLib.c
@@ -16,7 +16,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#include "BaseUefiTianoCustomDecompressLibInternals.h"
-#include <Guid/CustomDecompress.h>
/**
Shift mBitBuf NumOfBits left. Read in NumOfBits of bits from source.
diff --git a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
index d2695fa469..7f7fc50c7d 100644
--- a/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
+++ b/IntelFrameworkModulePkg/Library/BaseUefiTianoCustomDecompressLib/BaseUefiTianoCustomDecompressLibInternals.h
@@ -19,6 +19,7 @@
#include <PiPei.h>
+#include <Guid/TianoDecompress.h>
#include <Library/BaseLib.h>
#include <Library/UefiDecompressLib.h>
#include <Library/DebugLib.h>