\r
typedef UINT64 PHYSICAL_ADDRESS;\r
\r
-//\r
-// LIST_ENTRY definition\r
-//\r
+///\r
+/// LIST_ENTRY definition\r
+///\r
typedef struct _LIST_ENTRY LIST_ENTRY;\r
\r
struct _LIST_ENTRY {\r
#define __PROCESSOR_BIND_H__\r
\r
\r
-//\r
-// Define the processor type so other code can make processor based choices\r
-//\r
+///\r
+/// Define the processor type so other code can make processor based choices\r
+///\r
#define MDE_CPU_IPF\r
\r
\r
#define GLOBAL_REMOVE_IF_UNREFERENCED\r
#endif\r
\r
-//\r
-// A pointer to a function in IPF points to a plabel.\r
-//\r
+///\r
+/// A pointer to a function in IPF points to a plabel.\r
+///\r
typedef struct {\r
UINT64 EntryPoint;\r
UINT64 GP;\r
#ifndef __PI_DEPENDENCY_H__\r
#define __PI_DEPENDENCY_H__\r
\r
-// \r
-// If present, this must be the first and only opcode\r
-// \r
+/// \r
+/// If present, this must be the first and only opcode\r
+/// \r
#define EFI_DEP_BEFORE 0x00\r
\r
-// \r
-// If present, this must be the first and only opcode\r
-// \r
+/// \r
+/// If present, this must be the first and only opcode\r
+/// \r
#define EFI_DEP_AFTER 0x01\r
\r
#define EFI_DEP_PUSH 0x02\r
#define EFI_DEP_END 0x08\r
\r
\r
-// \r
-// If present, this must be the first opcode.\r
-// \r
+/// \r
+/// If present, this must be the first opcode.\r
+/// \r
#define EFI_DEP_SOR 0x09\r
\r
#endif \r
typedef UINT64 EFI_PHYSICAL_ADDRESS;\r
typedef UINT64 EFI_VIRTUAL_ADDRESS;\r
\r
-//\r
-// EFI Time Abstraction:\r
-// Year: 2000 - 20XX\r
-// Month: 1 - 12\r
-// Day: 1 - 31\r
-// Hour: 0 - 23\r
-// Minute: 0 - 59\r
-// Second: 0 - 59\r
-// Nanosecond: 0 - 999,999,999\r
-// TimeZone: -1440 to 1440 or 2047\r
-//\r
+///\r
+/// EFI Time Abstraction:\r
+/// Year: 2000 - 20XX\r
+/// Month: 1 - 12\r
+/// Day: 1 - 31\r
+/// Hour: 0 - 23\r
+/// Minute: 0 - 59\r
+/// Second: 0 - 59\r
+/// Nanosecond: 0 - 999,999,999\r
+/// TimeZone: -1440 to 1440 or 2047\r
+///\r
typedef struct {\r
UINT16 Year;\r
UINT8 Month;\r
#ifndef __UEFI_INTERNAL_FORMREPRESENTATION_H__\r
#define __UEFI_INTERNAL_FORMREPRESENTATION_H__\r
\r
-//\r
-// The following types are currently defined:\r
-//\r
+///\r
+/// The following types are currently defined:\r
+///\r
typedef UINT32 RELOFST;\r
\r
typedef VOID* EFI_HII_HANDLE;\r
//UINT8 bCertificate[ANYSIZE_ARRAY];\r
} WIN_CERTIFICATE;\r
\r
-//\r
-// WIN_CERTIFICATE_UEFI_GUID.CertType\r
-// \r
+///\r
+/// WIN_CERTIFICATE_UEFI_GUID.CertType\r
+/// \r
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \\r
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }\r
\r
-//\r
-// WIN_CERTIFICATE_UEFI_GUID.CertData\r
-// \r
+///\r
+/// WIN_CERTIFICATE_UEFI_GUID.CertData\r
+/// \r
typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {\r
UINT32 HashType;\r
UINT8 PublicKey[256];\r
#define TCG_DIGEST TPM_DIGEST\r
#define TCG_PCRINDEX TPM_PCRINDEX\r
\r
-//\r
-// TCG_PCR_EVENT\r
-//\r
+///\r
+/// TCG_PCR_EVENT\r
+///\r
typedef struct tdTCG_PCR_EVENT {\r
TCG_PCRINDEX PCRIndex; // PCRIndex event extended to\r
TCG_EVENTTYPE EventType; // TCG EFI event type\r
UINT8 Event[1]; // The event data\r
} TCG_PCR_EVENT;\r
\r
-//\r
-// TCG_PCR_EVENT_HDR\r
-//\r
+///\r
+/// TCG_PCR_EVENT_HDR\r
+///\r
typedef struct tdTCG_PCR_EVENT_HDR {\r
TCG_PCRINDEX PCRIndex;\r
TCG_EVENTTYPE EventType;\r
UINT32 EventSize;\r
} TCG_PCR_EVENT_HDR;\r
\r
-//\r
-// EFI_PLATFORM_FIRMWARE_BLOB\r
-//\r
-// BlobLength should be of type UINTN but we use UINT64 here\r
-// because PEI is 32-bit while DXE is 64-bit on x64 platforms\r
-//\r
+///\r
+/// EFI_PLATFORM_FIRMWARE_BLOB\r
+///\r
+/// BlobLength should be of type UINTN but we use UINT64 here\r
+/// because PEI is 32-bit while DXE is 64-bit on x64 platforms\r
+///\r
typedef struct tdEFI_PLATFORM_FIRMWARE_BLOB {\r
EFI_PHYSICAL_ADDRESS BlobBase;\r
UINT64 BlobLength;\r
} EFI_PLATFORM_FIRMWARE_BLOB;\r
\r
-//\r
-// EFI_IMAGE_LOAD_EVENT\r
-//\r
-// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION,\r
-// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER\r
-//\r
+///\r
+/// EFI_IMAGE_LOAD_EVENT\r
+///\r
+/// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION,\r
+/// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER\r
+///\r
typedef struct tdEFI_IMAGE_LOAD_EVENT {\r
EFI_PHYSICAL_ADDRESS ImageLocationInMemory;\r
UINTN ImageLengthInMemory;\r
EFI_DEVICE_PATH_PROTOCOL DevicePath[1];\r
} EFI_IMAGE_LOAD_EVENT;\r
\r
-//\r
-// EFI_HANDOFF_TABLE_POINTERS\r
-//\r
-// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate\r
-// the measurement of given configuration tables.\r
-//\r
+///\r
+/// EFI_HANDOFF_TABLE_POINTERS\r
+///\r
+/// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate\r
+/// the measurement of given configuration tables.\r
+///\r
typedef struct tdEFI_HANDOFF_TABLE_POINTERS {\r
UINTN NumberOfTables;\r
EFI_CONFIGURATION_TABLE TableEntry[1];\r
} EFI_HANDOFF_TABLE_POINTERS;\r
\r
-//\r
-// EFI_VARIABLE_DATA\r
-//\r
-// This structure serves as the header for measuring variables. The name of the\r
-// variable (in Unicode format) should immediately follow, then the variable\r
-// data.\r
-//\r
+///\r
+/// EFI_VARIABLE_DATA\r
+///\r
+/// This structure serves as the header for measuring variables. The name of the\r
+/// variable (in Unicode format) should immediately follow, then the variable\r
+/// data.\r
+///\r
typedef struct tdEFI_VARIABLE_DATA {\r
EFI_GUID VariableName;\r
UINTN UnicodeNameLength;\r
#ifndef __PROCESSOR_BIND_H__\r
#define __PROCESSOR_BIND_H__\r
\r
-//\r
-// Define the processor type so other code can make processor based choices\r
-//\r
+///\r
+/// Define the processor type so other code can make processor based choices\r
+///\r
#define MDE_CPU_X64\r
\r
\r