This commit is contained in:
klu2 2008-08-14 04:30:49 +00:00
parent 99e8ed219f
commit fb5148a0d8
8 changed files with 72 additions and 72 deletions

View File

@ -36,9 +36,9 @@ typedef struct {
typedef UINT64 PHYSICAL_ADDRESS; typedef UINT64 PHYSICAL_ADDRESS;
// ///
// LIST_ENTRY definition /// LIST_ENTRY definition
// ///
typedef struct _LIST_ENTRY LIST_ENTRY; typedef struct _LIST_ENTRY LIST_ENTRY;
struct _LIST_ENTRY { struct _LIST_ENTRY {

View File

@ -16,9 +16,9 @@
#define __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_IPF #define MDE_CPU_IPF
@ -220,9 +220,9 @@ typedef INT64 INTN;
#define GLOBAL_REMOVE_IF_UNREFERENCED #define GLOBAL_REMOVE_IF_UNREFERENCED
#endif #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 { typedef struct {
UINT64 EntryPoint; UINT64 EntryPoint;
UINT64 GP; UINT64 GP;

View File

@ -17,14 +17,14 @@
#ifndef __PI_DEPENDENCY_H__ #ifndef __PI_DEPENDENCY_H__
#define __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 #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_AFTER 0x01
#define EFI_DEP_PUSH 0x02 #define EFI_DEP_PUSH 0x02
@ -36,9 +36,9 @@
#define EFI_DEP_END 0x08 #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 #define EFI_DEP_SOR 0x09
#endif #endif

View File

@ -42,17 +42,17 @@ typedef UINT16 STRING_REF;
typedef UINT64 EFI_PHYSICAL_ADDRESS; typedef UINT64 EFI_PHYSICAL_ADDRESS;
typedef UINT64 EFI_VIRTUAL_ADDRESS; typedef UINT64 EFI_VIRTUAL_ADDRESS;
// ///
// EFI Time Abstraction: /// EFI Time Abstraction:
// Year: 2000 - 20XX /// Year: 2000 - 20XX
// Month: 1 - 12 /// Month: 1 - 12
// Day: 1 - 31 /// Day: 1 - 31
// Hour: 0 - 23 /// Hour: 0 - 23
// Minute: 0 - 59 /// Minute: 0 - 59
// Second: 0 - 59 /// Second: 0 - 59
// Nanosecond: 0 - 999,999,999 /// Nanosecond: 0 - 999,999,999
// TimeZone: -1440 to 1440 or 2047 /// TimeZone: -1440 to 1440 or 2047
// ///
typedef struct { typedef struct {
UINT16 Year; UINT16 Year;
UINT8 Month; UINT8 Month;

View File

@ -20,9 +20,9 @@
#ifndef __UEFI_INTERNAL_FORMREPRESENTATION_H__ #ifndef __UEFI_INTERNAL_FORMREPRESENTATION_H__
#define __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 UINT32 RELOFST;
typedef VOID* EFI_HII_HANDLE; typedef VOID* EFI_HII_HANDLE;

View File

@ -104,15 +104,15 @@ typedef struct _WIN_CERTIFICATE {
//UINT8 bCertificate[ANYSIZE_ARRAY]; //UINT8 bCertificate[ANYSIZE_ARRAY];
} WIN_CERTIFICATE; } WIN_CERTIFICATE;
// ///
// WIN_CERTIFICATE_UEFI_GUID.CertType /// WIN_CERTIFICATE_UEFI_GUID.CertType
// ///
#define EFI_CERT_TYPE_RSA2048_SHA256_GUID \ #define EFI_CERT_TYPE_RSA2048_SHA256_GUID \
{0xa7717414, 0xc616, 0x4977, {0x94, 0x20, 0x84, 0x47, 0x12, 0xa7, 0x35, 0xbf } } {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 { typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {
UINT32 HashType; UINT32 HashType;
UINT8 PublicKey[256]; UINT8 PublicKey[256];

View File

@ -63,9 +63,9 @@ typedef UINT32 TCG_EVENTTYPE;
#define TCG_DIGEST TPM_DIGEST #define TCG_DIGEST TPM_DIGEST
#define TCG_PCRINDEX TPM_PCRINDEX #define TCG_PCRINDEX TPM_PCRINDEX
// ///
// TCG_PCR_EVENT /// TCG_PCR_EVENT
// ///
typedef struct tdTCG_PCR_EVENT { typedef struct tdTCG_PCR_EVENT {
TCG_PCRINDEX PCRIndex; // PCRIndex event extended to TCG_PCRINDEX PCRIndex; // PCRIndex event extended to
TCG_EVENTTYPE EventType; // TCG EFI event type TCG_EVENTTYPE EventType; // TCG EFI event type
@ -74,9 +74,9 @@ typedef struct tdTCG_PCR_EVENT {
UINT8 Event[1]; // The event data UINT8 Event[1]; // The event data
} TCG_PCR_EVENT; } TCG_PCR_EVENT;
// ///
// TCG_PCR_EVENT_HDR /// TCG_PCR_EVENT_HDR
// ///
typedef struct tdTCG_PCR_EVENT_HDR { typedef struct tdTCG_PCR_EVENT_HDR {
TCG_PCRINDEX PCRIndex; TCG_PCRINDEX PCRIndex;
TCG_EVENTTYPE EventType; TCG_EVENTTYPE EventType;
@ -84,23 +84,23 @@ typedef struct tdTCG_PCR_EVENT_HDR {
UINT32 EventSize; UINT32 EventSize;
} TCG_PCR_EVENT_HDR; } TCG_PCR_EVENT_HDR;
// ///
// EFI_PLATFORM_FIRMWARE_BLOB /// EFI_PLATFORM_FIRMWARE_BLOB
// ///
// BlobLength should be of type UINTN but we use UINT64 here /// BlobLength should be of type UINTN but we use UINT64 here
// because PEI is 32-bit while DXE is 64-bit on x64 platforms /// because PEI is 32-bit while DXE is 64-bit on x64 platforms
// ///
typedef struct tdEFI_PLATFORM_FIRMWARE_BLOB { typedef struct tdEFI_PLATFORM_FIRMWARE_BLOB {
EFI_PHYSICAL_ADDRESS BlobBase; EFI_PHYSICAL_ADDRESS BlobBase;
UINT64 BlobLength; UINT64 BlobLength;
} EFI_PLATFORM_FIRMWARE_BLOB; } EFI_PLATFORM_FIRMWARE_BLOB;
// ///
// EFI_IMAGE_LOAD_EVENT /// EFI_IMAGE_LOAD_EVENT
// ///
// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION, /// This structure is used in EV_EFI_BOOT_SERVICES_APPLICATION,
// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER /// EV_EFI_BOOT_SERVICES_DRIVER and EV_EFI_RUNTIME_SERVICES_DRIVER
// ///
typedef struct tdEFI_IMAGE_LOAD_EVENT { typedef struct tdEFI_IMAGE_LOAD_EVENT {
EFI_PHYSICAL_ADDRESS ImageLocationInMemory; EFI_PHYSICAL_ADDRESS ImageLocationInMemory;
UINTN ImageLengthInMemory; UINTN ImageLengthInMemory;
@ -109,24 +109,24 @@ typedef struct tdEFI_IMAGE_LOAD_EVENT {
EFI_DEVICE_PATH_PROTOCOL DevicePath[1]; EFI_DEVICE_PATH_PROTOCOL DevicePath[1];
} EFI_IMAGE_LOAD_EVENT; } EFI_IMAGE_LOAD_EVENT;
// ///
// EFI_HANDOFF_TABLE_POINTERS /// EFI_HANDOFF_TABLE_POINTERS
// ///
// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate /// This structure is used in EV_EFI_HANDOFF_TABLES event to facilitate
// the measurement of given configuration tables. /// the measurement of given configuration tables.
// ///
typedef struct tdEFI_HANDOFF_TABLE_POINTERS { typedef struct tdEFI_HANDOFF_TABLE_POINTERS {
UINTN NumberOfTables; UINTN NumberOfTables;
EFI_CONFIGURATION_TABLE TableEntry[1]; EFI_CONFIGURATION_TABLE TableEntry[1];
} EFI_HANDOFF_TABLE_POINTERS; } EFI_HANDOFF_TABLE_POINTERS;
// ///
// EFI_VARIABLE_DATA /// EFI_VARIABLE_DATA
// ///
// This structure serves as the header for measuring variables. The name of the /// This structure serves as the header for measuring variables. The name of the
// variable (in Unicode format) should immediately follow, then the variable /// variable (in Unicode format) should immediately follow, then the variable
// data. /// data.
// ///
typedef struct tdEFI_VARIABLE_DATA { typedef struct tdEFI_VARIABLE_DATA {
EFI_GUID VariableName; EFI_GUID VariableName;
UINTN UnicodeNameLength; UINTN UnicodeNameLength;

View File

@ -15,9 +15,9 @@
#ifndef __PROCESSOR_BIND_H__ #ifndef __PROCESSOR_BIND_H__
#define __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 #define MDE_CPU_X64