summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Base.h6
-rw-r--r--MdePkg/Include/Ipf/ProcessorBind.h12
-rw-r--r--MdePkg/Include/Pi/PiDependency.h18
-rw-r--r--MdePkg/Include/Uefi/UefiBaseType.h22
-rw-r--r--MdePkg/Include/Uefi/UefiInternalFormRepresentation.h6
-rw-r--r--MdePkg/Include/Uefi/UefiMultiPhase.h12
-rw-r--r--MdePkg/Include/Uefi/UefiTcgPlatform.h62
-rw-r--r--MdePkg/Include/x64/ProcessorBind.h6
8 files changed, 72 insertions, 72 deletions
diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index a08ea34e90..a103d93491 100644
--- a/MdePkg/Include/Base.h
+++ b/MdePkg/Include/Base.h
@@ -36,9 +36,9 @@ typedef struct {
typedef UINT64 PHYSICAL_ADDRESS;
-//
-// LIST_ENTRY definition
-//
+///
+/// LIST_ENTRY definition
+///
typedef struct _LIST_ENTRY LIST_ENTRY;
struct _LIST_ENTRY {
diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h
index 9bce825cbe..1021917b2f 100644
--- a/MdePkg/Include/Ipf/ProcessorBind.h
+++ b/MdePkg/Include/Ipf/ProcessorBind.h
@@ -16,9 +16,9 @@
#define __PROCESSOR_BIND_H__
-//
-// Define the processor type so other code can make processor based choices
-//
+///
+/// Define the processor type so other code can make processor based choices
+///
#define MDE_CPU_IPF
@@ -220,9 +220,9 @@ typedef INT64 INTN;
#define GLOBAL_REMOVE_IF_UNREFERENCED
#endif
-//
-// A pointer to a function in IPF points to a plabel.
-//
+///
+/// A pointer to a function in IPF points to a plabel.
+///
typedef struct {
UINT64 EntryPoint;
UINT64 GP;
diff --git a/MdePkg/Include/Pi/PiDependency.h b/MdePkg/Include/Pi/PiDependency.h
index 055b5ddb3f..4dbf42ffad 100644
--- a/MdePkg/Include/Pi/PiDependency.h
+++ b/MdePkg/Include/Pi/PiDependency.h
@@ -17,14 +17,14 @@
#ifndef __PI_DEPENDENCY_H__
#define __PI_DEPENDENCY_H__
-//
-// If present, this must be the first and only opcode
-//
+///
+/// If present, this must be the first and only opcode
+///
#define EFI_DEP_BEFORE 0x00
-//
-// If present, this must be the first and only opcode
-//
+///
+/// If present, this must be the first and only opcode
+///
#define EFI_DEP_AFTER 0x01
#define EFI_DEP_PUSH 0x02
@@ -36,9 +36,9 @@
#define EFI_DEP_END 0x08
-//
-// If present, this must be the first opcode.
-//
+///
+/// If present, this must be the first opcode.
+///
#define EFI_DEP_SOR 0x09
#endif
diff --git a/MdePkg/Include/Uefi/UefiBaseType.h b/MdePkg/Include/Uefi/UefiBaseType.h
index 35505a5ee2..8000d4392d 100644
--- a/MdePkg/Include/Uefi/UefiBaseType.h
+++ b/MdePkg/Include/Uefi/UefiBaseType.h
@@ -42,17 +42,17 @@ typedef UINT16 STRING_REF;
typedef UINT64 EFI_PHYSICAL_ADDRESS;
typedef UINT64 EFI_VIRTUAL_ADDRESS;
-//
-// EFI Time Abstraction:
-// Year: 2000 - 20XX
-// Month: 1 - 12
-// Day: 1 - 31
-// Hour: 0 - 23
-// Minute: 0 - 59
-// Second: 0 - 59
-// Nanosecond: 0 - 999,999,999
-// TimeZone: -1440 to 1440 or 2047
-//
+///
+/// EFI Time Abstraction:
+/// Year: 2000 - 20XX
+/// Month: 1 - 12
+/// Day: 1 - 31
+/// Hour: 0 - 23
+/// Minute: 0 - 59
+/// Second: 0 - 59
+/// Nanosecond: 0 - 999,999,999
+/// TimeZone: -1440 to 1440 or 2047
+///
typedef struct {
UINT16 Year;
UINT8 Month;
diff --git a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
index 81fa2399eb..ba1d3b3dde 100644
--- a/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
+++ b/MdePkg/Include/Uefi/UefiInternalFormRepresentation.h
@@ -20,9 +20,9 @@
#ifndef __UEFI_INTERNAL_FORMREPRESENTATION_H__
#define __UEFI_INTERNAL_FORMREPRESENTATION_H__
-//
-// The following types are currently defined:
-//
+///
+/// The following types are currently defined:
+///
typedef UINT32 RELOFST;
typedef VOID* EFI_HII_HANDLE;
diff --git a/MdePkg/Include/Uefi/UefiMultiPhase.h b/MdePkg/Include/Uefi/UefiMultiPhase.h
index 0cbf2a6a63..4fc02197fc 100644
--- a/MdePkg/Include/Uefi/UefiMultiPhase.h
+++ b/MdePkg/Include/Uefi/UefiMultiPhase.h
@@ -104,15 +104,15 @@ typedef struct _WIN_CERTIFICATE {
//UINT8 bCertificate[ANYSIZE_ARRAY];
} WIN_CERTIFICATE;
-//
-// WIN_CERTIFICATE_UEFI_GUID.CertType
-//
+///
+/// WIN_CERTIFICATE_UEFI_GUID.CertType
+///
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } }
-//
-// WIN_CERTIFICATE_UEFI_GUID.CertData
-//
+///
+/// WIN_CERTIFICATE_UEFI_GUID.CertData
+///
typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {
UINT32 HashType;
UINT8 PublicKey[256];
diff --git a/MdePkg/Include/Uefi/UefiTcgPlatform.h b/MdePkg/Include/Uefi/UefiTcgPlatform.h
index f577d75e33..155c940532 100644
--- a/MdePkg/Include/Uefi/UefiTcgPlatform.h
+++ b/MdePkg/Include/Uefi/UefiTcgPlatform.h
@@ -63,9 +63,9 @@ typedef UINT32 TCG_EVENTTYPE;
#define TCG_DIGEST TPM_DIGEST
#define TCG_PCRINDEX TPM_PCRINDEX
-//
-// TCG_PCR_EVENT
-//
+///
+/// TCG_PCR_EVENT
+///
typedef struct tdTCG_PCR_EVENT {
TCG_PCRINDEX PCRIndex; // PCRIndex event extended to
TCG_EVENTTYPE EventType; // TCG EFI event type
@@ -74,9 +74,9 @@ typedef struct tdTCG_PCR_EVENT {
UINT8 Event[1]; // The event data
} TCG_PCR_EVENT;
-//
-// TCG_PCR_EVENT_HDR
-//
+///
+/// TCG_PCR_EVENT_HDR
+///
typedef struct tdTCG_PCR_EVENT_HDR {
TCG_PCRINDEX PCRIndex;
TCG_EVENTTYPE EventType;
@@ -84,23 +84,23 @@ typedef struct tdTCG_PCR_EVENT_HDR {
UINT32 EventSize;
} TCG_PCR_EVENT_HDR;
-//
-// EFI_PLATFORM_FIRMWARE_BLOB
-//
-// BlobLength should be of type UINTN but we use UINT64 here
-// because PEI is 32-bit while DXE is 64-bit on x64 platforms
-//
+///
+/// EFI_PLATFORM_FIRMWARE_BLOB
+///
+/// BlobLength should be of type UINTN but we use UINT64 here
+/// because PEI is 32-bit while DXE is 64-bit on x64 platforms
+///
typedef struct tdEFI_PLATFORM_FIRMWARE_BLOB {
EFI_PHYSICAL_ADDRESS BlobBase;
UINT64 BlobLength;
} EFI_PLATFORM_FIRMWARE_BLOB;
-//
-// EFI_IMAGE_LOAD_EVENT
-//
-// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION,
-// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER
-//
+///
+/// EFI_IMAGE_LOAD_EVENT
+///
+/// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION,
+/// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER
+///
typedef struct tdEFI_IMAGE_LOAD_EVENT {
EFI_PHYSICAL_ADDRESS ImageLocationInMemory;
UINTN ImageLengthInMemory;
@@ -109,24 +109,24 @@ typedef struct tdEFI_IMAGE_LOAD_EVENT {
EFI_DEVICE_PATH_PROTOCOL DevicePath[1];
} EFI_IMAGE_LOAD_EVENT;
-//
-// EFI_HANDOFF_TABLE_POINTERS
-//
-// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate
-// the measurement of given configuration tables.
-//
+///
+/// EFI_HANDOFF_TABLE_POINTERS
+///
+/// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate
+/// the measurement of given configuration tables.
+///
typedef struct tdEFI_HANDOFF_TABLE_POINTERS {
UINTN NumberOfTables;
EFI_CONFIGURATION_TABLE TableEntry[1];
} EFI_HANDOFF_TABLE_POINTERS;
-//
-// EFI_VARIABLE_DATA
-//
-// This structure serves as the header for measuring variables. The name of the
-// variable (in Unicode format) should immediately follow, then the variable
-// data.
-//
+///
+/// EFI_VARIABLE_DATA
+///
+/// This structure serves as the header for measuring variables. The name of the
+/// variable (in Unicode format) should immediately follow, then the variable
+/// data.
+///
typedef struct tdEFI_VARIABLE_DATA {
EFI_GUID VariableName;
UINTN UnicodeNameLength;
diff --git a/MdePkg/Include/x64/ProcessorBind.h b/MdePkg/Include/x64/ProcessorBind.h
index bc240000a4..457555bf37 100644
--- a/MdePkg/Include/x64/ProcessorBind.h
+++ b/MdePkg/Include/x64/ProcessorBind.h
@@ -15,9 +15,9 @@
#ifndef __PROCESSOR_BIND_H__
#define __PROCESSOR_BIND_H__
-//
-// Define the processor type so other code can make processor based choices
-//
+///
+/// Define the processor type so other code can make processor based choices
+///
#define MDE_CPU_X64