]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Include/Common/UefiMultiPhase.h
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / C / Include / Common / UefiMultiPhase.h
index f4f9dbe113de36fe0e9b2855d9a3fffb21044b8d..0982da499813f2b146a5fb9a0bec648208b4c668 100644 (file)
@@ -1,5 +1,5 @@
 /** @file\r
-  This includes some definitions introduced in UEFI that will be used in both PEI \r
+  This includes some definitions introduced in UEFI that will be used in both PEI\r
   and DXE phases.\r
 \r
   (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>\r
@@ -20,7 +20,7 @@
 \r
 //\r
 // Enumeration of memory types introduced in UEFI.\r
-// \r
+//\r
 typedef enum {\r
   EfiReservedMemoryType,\r
   EfiLoaderCode,\r
@@ -43,7 +43,7 @@ typedef enum {
 \r
 //\r
 // Data structure that precedes all of the standard EFI table types.\r
-// \r
+//\r
 typedef struct {\r
   UINT64  Signature;\r
   UINT32  Revision;\r
@@ -54,28 +54,28 @@ typedef struct {
 \r
 //\r
 // Attributes of variable.\r
-// \r
+//\r
 #define EFI_VARIABLE_NON_VOLATILE                 0x00000001\r
 #define EFI_VARIABLE_BOOTSERVICE_ACCESS           0x00000002\r
 #define EFI_VARIABLE_RUNTIME_ACCESS               0x00000004\r
 #define EFI_VARIABLE_HARDWARE_ERROR_RECORD        0x00000008\r
 \r
 //\r
-// This attribute is identified by the mnemonic 'HR' \r
+// This attribute is identified by the mnemonic 'HR'\r
 // elsewhere in this specification.\r
-// \r
+//\r
 #define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS   0x00000010\r
 \r
 \r
 \r
 //\r
 // _WIN_CERTIFICATE.wCertificateType\r
-// \r
+//\r
 #define WIN_CERT_TYPE_EFI_PKCS115   0x0EF0\r
 #define WIN_CERT_TYPE_EFI_GUID      0x0EF1\r
 \r
 /**\r
-   \r
+\r
   The WIN_CERTIFICATE structure is part of the PE/COFF\r
   specification and has the following definition:\r
 \r
@@ -110,13 +110,13 @@ typedef struct _WIN_CERTIFICATE {
 \r
 //\r
 // WIN_CERTIFICATE_UEFI_GUID.CertType\r
-// \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
 typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {\r
   EFI_GUID  HashType;\r
   UINT8     PublicKey[256];\r
@@ -125,7 +125,7 @@ typedef struct _EFI_CERT_BLOCK_RSA_2048_SHA256 {
 \r
 \r
 /**\r
-   \r
+\r
   @param Hdr  This is the standard WIN_CERTIFICATE header, where\r
               wCertificateType is set to\r
               WIN_CERT_TYPE_EFI_GUID.\r
@@ -158,26 +158,26 @@ typedef struct _WIN_CERTIFICATE_UEFI_GUID {
 \r
 \r
 /**\r
-   \r
+\r
   Certificate which encapsulates the RSASSA_PKCS1-v1_5 digital\r
   signature.\r
-  \r
+\r
   The WIN_CERTIFICATE_UEFI_PKCS1_15 structure is derived from\r
-  WIN_CERTIFICATE and encapsulate the information needed to  \r
-  implement the RSASSA-PKCS1-v1_5 digital signature algorithm as  \r
-  specified in RFC2437.  \r
-  \r
+  WIN_CERTIFICATE and encapsulate the information needed to\r
+  implement the RSASSA-PKCS1-v1_5 digital signature algorithm as\r
+  specified in RFC2437.\r
+\r
   @param Hdr  This is the standard WIN_CERTIFICATE header, where\r
               wCertificateType is set to\r
               WIN_CERT_TYPE_UEFI_PKCS1_15.\r
-  \r
+\r
   @param HashAlgorithm  This is the hashing algorithm which was\r
                         performed on the UEFI executable when\r
                         creating the digital signature. It is\r
                         one of the enumerated values pre-defined\r
                         in Section 26.4.1. See\r
                         EFI_HASH_ALGORITHM_x.\r
-  \r
+\r
   @param Signature  This is the actual digital signature. The\r
                     size of the signature is the same size as\r
                     the key (1024-bit key is 128 bytes) and can\r
@@ -195,7 +195,7 @@ typedef struct _WIN_CERTIFICATE_EFI_PKCS1_15 {
 \r
 \r
 /**\r
-   \r
+\r
   AuthInfo is a WIN_CERTIFICATE using the wCertificateType\r
   WIN_CERTIFICATE_UEFI_GUID and the CertType\r
   EFI_CERT_TYPE_RSA2048_SHA256. If the attribute specifies\r
@@ -209,12 +209,12 @@ typedef struct _WIN_CERTIFICATE_EFI_PKCS1_15 {
   WIN_CERTIFICATE shall be used to describe the signature of the\r
   Variable data *Data. In addition, the signature will also\r
   include the MonotonicCount value to guard against replay attacks\r
-  \r
+\r
   @param  MonotonicCount  Included in the signature of\r
                           AuthInfo.Used to ensure freshness/no\r
                           replay. Incremented during each\r
                           "Write" access.\r
-  \r
+\r
   @param AuthInfo   Provides the authorization for the variable\r
                     access. It is a signature across the\r
                     variable data and the  Monotonic Count\r