Add comments for IntelFrameworkModulePkg Header file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8539 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -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
|
||||
|
@@ -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;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user