summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Include
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-03 22:40:21 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-03 22:40:21 +0000
commit0e0ab7060e5ef7819dea67362904763c209e4cd6 (patch)
tree0903a1f6554a8c81d0d8497a472e27d5e01ed9fe /IntelFrameworkModulePkg/Include
parent03df16089fb335449f7ce9b72fa6ba2bac7bcc67 (diff)
downloadedk2-0e0ab7060e5ef7819dea67362904763c209e4cd6.zip
edk2-0e0ab7060e5ef7819dea67362904763c209e4cd6.tar.gz
edk2-0e0ab7060e5ef7819dea67362904763c209e4cd6.tar.bz2
Update comments
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8744 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Include')
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h40
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/IntelFrameworkModulePkgTokenSpace.h3
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/LzmaDecompress.h4
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h71
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h4
-rw-r--r--IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h5
6 files changed, 84 insertions, 43 deletions
diff --git a/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h b/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h
index 0f11c7a..8ebc369 100644
--- a/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h
+++ b/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h
@@ -1,53 +1,59 @@
/** @file
- GUID used to identify Data Hub records logged by Status Code Runtime Protocol.
+ GUID used to identify Data Hub records logged by Status Code Protocol.
-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
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ 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
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
-
#ifndef __DATA_HUB_STATUS_CODE_RECORD_H__
#define __DATA_HUB_STATUS_CODE_RECORD_H__
+///
+/// Global ID used to identify a structure of type DATA_HUB_STATUS_CODE_DATA_RECORD
+///
#define EFI_DATA_HUB_STATUS_CODE_RECORD_GUID \
{ \
0xd083e94c, 0x6560, 0x42e4, {0xb6, 0xd4, 0x2d, 0xf7, 0x5a, 0xdf, 0x6a, 0x2a } \
}
+///
+/// Data Hub data record that is used to store all the parameters passed into
+/// the ReportStatusCode() service of the EFI_STATUS_CODE_PROTOCOL.
+///
typedef struct {
///
/// Status Code type to be reported.
///
- EFI_STATUS_CODE_TYPE CodeType;
+ EFI_STATUS_CODE_TYPE CodeType;
///
- /// Valu information about the class and subclass is used to
+ /// Value information about the class and subclass is used to
/// classify the hardware and software entity as well as an operation.
///
- EFI_STATUS_CODE_VALUE Value;
+ EFI_STATUS_CODE_VALUE Value;
///
/// The enumeration of a hardware or software entity within
- /// the system. Valid instance numbers start with 1
+ /// the system. Valid instance numbers start with 1
///
- UINT32 Instance;
+ UINT32 Instance;
///
/// Identify the caller.
///
- EFI_GUID CallerId;
+ EFI_GUID CallerId;
///
/// Additional status code data
///
- EFI_STATUS_CODE_DATA Data;
+ EFI_STATUS_CODE_DATA Data;
} DATA_HUB_STATUS_CODE_DATA_RECORD;
extern EFI_GUID gEfiDataHubStatusCodeRecordGuid;
diff --git a/IntelFrameworkModulePkg/Include/Guid/IntelFrameworkModulePkgTokenSpace.h b/IntelFrameworkModulePkg/Include/Guid/IntelFrameworkModulePkgTokenSpace.h
index 00e0bca..ac674b0 100644
--- a/IntelFrameworkModulePkg/Include/Guid/IntelFrameworkModulePkgTokenSpace.h
+++ b/IntelFrameworkModulePkg/Include/Guid/IntelFrameworkModulePkgTokenSpace.h
@@ -15,6 +15,9 @@
#ifndef _INTEL_FRAMEWOKR_MODULEPKG_TOKEN_SPACE_GUID_H_
#define _INTEL_FRAMEWOKR_MODULEPKG_TOKEN_SPACE_GUID_H_
+///
+/// Global ID for the IntelFrameworkModulePkg PCD Token Space
+///
#define INTEL_FRAMEWORK_MODULEPKG_TOKEN_SPACE_GUID \
{ \
0xD3705011, 0xBC19, 0x4af7, { 0xBE, 0x16, 0xF6, 0x80, 0x30, 0x37, 0x8C, 0x15 } \
diff --git a/IntelFrameworkModulePkg/Include/Guid/LzmaDecompress.h b/IntelFrameworkModulePkg/Include/Guid/LzmaDecompress.h
index 65031ab..554f0c6 100644
--- a/IntelFrameworkModulePkg/Include/Guid/LzmaDecompress.h
+++ b/IntelFrameworkModulePkg/Include/Guid/LzmaDecompress.h
@@ -15,6 +15,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef __LZMA_DECOMPRESS_GUID_H__
#define __LZMA_DECOMPRESS_GUID_H__
+///
+/// Global ID used to identify a section of an FFS file of type
+/// EFI_SECTION_GUID_DEFINED whose contents have been compressed using LZMA.
+///
#define LZMA_CUSTOM_DECOMPRESS_GUID \
{ 0xEE4E5898, 0x3914, 0x4259, { 0x9D, 0x6E, 0xDC, 0x7B, 0xD7, 0x94, 0x03, 0xCF } }
diff --git a/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h b/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h
index fcc7a0d..c435aab 100644
--- a/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h
+++ b/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h
@@ -1,60 +1,83 @@
/** @file
GUID used to identify status code records HOB that originate from the PEI status code
-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
-http://opensource.org/licenses/bsd-license.php
-
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ 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
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef __MEMORY_STATUS_CODE_RECORD_H__
#define __MEMORY_STATUS_CODE_RECORD_H__
+///
+/// Global ID used to identify GUIDed HOBs that start with a structure of type
+/// MEMORY_STATUSCODE_PACKET_HEADER followed by an arry of structures of type
+/// MEMORY_STATUSCODE_RECORD. These GUIDed HOBs record all the information
+/// passed into the ReportStatusCode() service of PEI Services Table.
+///
+/// <pre>
+/// Memory status code records packet structure :
+/// +---------------+----------+----------+-----+----------+-----+----------+
+/// | Packet Header | Record 1 | Record 2 | ... + Record n | ... | Record m |
+/// +---------------+----------+----------+-----+----------+-----+----------+
+/// ^ ^ ^
+/// +--------- RecordIndex -----------+ |
+/// +---------------- MaxRecordsNumber----------------------+
+/// </pre>
+///
#define MEMORY_STATUS_CODE_RECORD_GUID \
{ \
0x60cc026, 0x4c0d, 0x4dda, {0x8f, 0x41, 0x59, 0x5f, 0xef, 0x0, 0xa5, 0x2} \
}
-/**
- Memory status code records packet structure :
- +---------------+----------+----------+-----+----------+-----+----------+
- | Packet Header | Record 1 | Record 2 | ... + Record n | ... | Record m |
- +---------------+----------+----------+-----+----------+-----+----------+
- ^ ^ ^
- +--------- RecordIndex -----------+ |
- +---------------- MaxRecordsNumber----------------------+
-**/
+///
+/// A header structure that is followed by an array of records that contain the
+/// parameters passed into the ReportStatusCode() service in the PEI Services Table.
+///
typedef struct {
- UINT16 PacketIndex; ///< Index of the Packet.
- UINT16 RecordIndex; ///< Index of record in the packet.
- UINT32 MaxRecordsNumber; ///< Max number of records in the packet.
+ ///
+ /// Index of the packet
+ ///
+ UINT16 PacketIndex;
+ ///
+ /// The number of active records in the packet
+ ///
+ UINT16 RecordIndex;
+ ///
+ /// The maximum number of records that the packet can store
+ ///
+ UINT32 MaxRecordsNumber;
} MEMORY_STATUSCODE_PACKET_HEADER;
+///
+/// A structure that contains the parameters passed into the ReportStatusCode()
+/// service in the PEI Services Table.
+///
typedef struct {
///
/// Status Code type to be reported.
///
- EFI_STATUS_CODE_TYPE CodeType;
+ EFI_STATUS_CODE_TYPE CodeType;
///
/// Valu information about the class and subclass is used to
/// classify the hardware and software entity as well as an operation.
///
- EFI_STATUS_CODE_VALUE Value;
+ EFI_STATUS_CODE_VALUE Value;
///
/// The enumeration of a hardware or software entity within
/// the system. Valid instance numbers start with 1
///
- UINT32 Instance;
+ UINT32 Instance;
} MEMORY_STATUSCODE_RECORD;
-
extern EFI_GUID gMemoryStatusCodeRecordGuid;
#endif
diff --git a/IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h b/IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
index 28a39a7..ee679cf 100644
--- a/IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
+++ b/IntelFrameworkModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
@@ -30,12 +30,12 @@
#define EFI_STATUS_CODE_DATA_MAX_SIZE 200
///
-/// This structire contains the ErrorLevel passed into the DEBUG() macro followed
+/// This structure contains the ErrorLevel passed into the DEBUG() macro followed
/// by a 96-byte buffer that contains the variable argument list passed to the
// DEBUG() macro that has been converted to a BASE_LIST. The 96-byte buffer is
/// followed by a Null terminated ASCII string that is the Format string passed
/// to the DEBUG() macro. The maximum size of this structure is defined by
-/// EFI_STATUS_CODE_DATAS_MAX_SIZE.
+/// EFI_STATUS_CODE_DATA_MAX_SIZE.
///
typedef struct {
///
diff --git a/IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h b/IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h
index c59ae5f..7b97889 100644
--- a/IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h
+++ b/IntelFrameworkModulePkg/Include/Guid/TianoDecompress.h
@@ -15,6 +15,11 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#ifndef __TIANO_CUSTOM_DECOMPRESS_GUID_H__
#define __TIANO_CUSTOM_DECOMPRESS_GUID_H__
+///
+/// Global ID used to identify a section of an FFS file of type
+/// EFI_SECTION_GUID_DEFINED whose contents have been compressed using
+/// Tiano Custom compression.
+///
#define TIANO_CUSTOM_DECOMPRESS_GUID \
{ 0xA31280AD, 0x481E, 0x41B6, { 0x95, 0xE8, 0x12, 0x7F, 0x4C, 0x98, 0x47, 0x79 } }