diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-12 09:02:15 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-12 09:02:15 +0000 |
commit | 20774adc0f4a334aef9e05e6e61a762aa3acef53 (patch) | |
tree | ca29ec229685056351a055f98217dd7b20226ca7 /IntelFrameworkModulePkg/Include/Guid | |
parent | f423cbf1e9222c32e1f9974dc6621c5a37cb5c05 (diff) | |
download | edk2-platforms-20774adc0f4a334aef9e05e6e61a762aa3acef53.tar.xz |
Add comments for IntelFrameworkModulePkg Header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8539 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Include/Guid')
-rw-r--r-- | IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h | 28 | ||||
-rw-r--r-- | IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h | 27 |
2 files changed, 44 insertions, 11 deletions
diff --git a/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h b/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h index cbea8d56f9..0f11c7a8b6 100644 --- a/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h +++ b/IntelFrameworkModulePkg/Include/Guid/DataHubStatusCodeRecord.h @@ -13,8 +13,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/
-#ifndef __STATUS_CODE_H__
-#define __STATUS_CODE_H__
+#ifndef __DATA_HUB_STATUS_CODE_RECORD_H__
+#define __DATA_HUB_STATUS_CODE_RECORD_H__
#define EFI_DATA_HUB_STATUS_CODE_RECORD_GUID \
{ \
@@ -22,14 +22,34 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. }
typedef struct {
+ ///
+ /// Status Code type to be reported.
+ ///
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;
+
+ ///
+ /// The enumeration of a hardware or software entity within
+ /// the system. Valid instance numbers start with 1
+ ///
UINT32 Instance;
+
+ ///
+ /// Identify the caller.
+ ///
EFI_GUID CallerId;
+
+ ///
+ /// Additional status code data
+ ///
EFI_STATUS_CODE_DATA Data;
} DATA_HUB_STATUS_CODE_DATA_RECORD;
extern EFI_GUID gEfiDataHubStatusCodeRecordGuid;
-#endif // __STATUS_CODE_H__
-
+#endif
diff --git a/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h b/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h index 4f623b5de6..fcc7a0d72e 100644 --- a/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h +++ b/IntelFrameworkModulePkg/Include/Guid/MemoryStatusCodeRecord.h @@ -1,7 +1,7 @@ /** @file
GUID used to identify status code records HOB that originate from the PEI status code
-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
@@ -30,15 +30,28 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +---------------- MaxRecordsNumber----------------------+
**/
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.
+ UINT16 PacketIndex; ///< Index of the Packet.
+ UINT16 RecordIndex; ///< Index of record in the packet.
+ UINT32 MaxRecordsNumber; ///< Max number of records in the packet.
} MEMORY_STATUSCODE_PACKET_HEADER;
typedef struct {
- EFI_STATUS_CODE_TYPE CodeType;
- EFI_STATUS_CODE_VALUE Value;
- UINT32 Instance;
+ ///
+ /// Status Code type to be reported.
+ ///
+ 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;
+
+ ///
+ /// The enumeration of a hardware or software entity within
+ /// the system. Valid instance numbers start with 1
+ ///
+ UINT32 Instance;
} MEMORY_STATUSCODE_RECORD;
|