]> git.proxmox.com Git - mirror_edk2.git/commitdiff
[MdePkg] Code clean-up: Remove trailing spaces
authorLee Leahy <leroy.p.leahy@intel.com>
Wed, 22 Oct 2014 03:03:18 +0000 (03:03 +0000)
committerlgao4 <lgao4@Edk2>
Wed, 22 Oct 2014 03:03:18 +0000 (03:03 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16223 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Guid/WinCertificate.h
MdePkg/Include/Library/HobLib.h
MdePkg/Include/Pi/PiBootMode.h
MdePkg/Include/Pi/PiFirmwareFile.h
MdePkg/Include/Pi/PiFirmwareVolume.h
MdePkg/Include/Pi/PiHob.h
MdePkg/Include/Uefi/UefiMultiPhase.h

index 9d60262fd0896ff68a2318b763e9910b5042673f..317dad97b56bbd55846027b76be92303f532cf68 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
-  GUID for UEFI WIN_CERTIFICATE structure. \r
+  GUID for UEFI WIN_CERTIFICATE structure.\r
 \r
   Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
   GUID defined in UEFI 2.0 spec.\r
@@ -19,7 +19,7 @@
 \r
 //\r
 // _WIN_CERTIFICATE.wCertificateType\r
-// \r
+//\r
 #define WIN_CERT_TYPE_PKCS_SIGNED_DATA 0x0002\r
 #define WIN_CERT_TYPE_EFI_PKCS115      0x0EF0\r
 #define WIN_CERT_TYPE_EFI_GUID         0x0EF1\r
 ///\r
 typedef struct {\r
   ///\r
-  /// The length of the entire certificate,  \r
-  /// including the length of the header, in bytes.                                \r
+  /// The length of the entire certificate,\r
+  /// including the length of the header, in bytes.\r
   ///\r
   UINT32  dwLength;\r
   ///\r
-  /// The revision level of the WIN_CERTIFICATE \r
-  /// structure. The current revision level is 0x0200.                                   \r
+  /// The revision level of the WIN_CERTIFICATE\r
+  /// structure. The current revision level is 0x0200.\r
   ///\r
   UINT16  wRevision;\r
   ///\r
-  /// The certificate type. See WIN_CERT_TYPE_xxx for the UEFI      \r
-  /// certificate types. The UEFI specification reserves the range of \r
-  /// certificate type values from 0x0EF0 to 0x0EFF.                          \r
+  /// The certificate type. See WIN_CERT_TYPE_xxx for the UEFI\r
+  /// certificate types. The UEFI specification reserves the range of\r
+  /// certificate type values from 0x0EF0 to 0x0EFF.\r
   ///\r
   UINT16  wCertificateType;\r
   ///\r
-  /// The following is the actual certificate. The format of   \r
+  /// The following is the actual certificate. The format of\r
   /// the certificate depends on wCertificateType.\r
   ///\r
   /// UINT8 bCertificate[ANYSIZE_ARRAY];\r
@@ -54,13 +54,13 @@ typedef struct {
 \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 {\r
   EFI_GUID  HashType;\r
   UINT8     PublicKey[256];\r
@@ -74,17 +74,17 @@ typedef struct {
 typedef struct {\r
   ///\r
   /// This is the standard WIN_CERTIFICATE header, where\r
-  /// wCertificateType is set to WIN_CERT_TYPE_EFI_GUID. \r
-  ///                         \r
+  /// wCertificateType is set to WIN_CERT_TYPE_EFI_GUID.\r
+  ///\r
   WIN_CERTIFICATE   Hdr;\r
   ///\r
-  /// This is the unique id which determines the \r
+  /// This is the unique id which determines the\r
   /// format of the CertData. .\r
   ///\r
   EFI_GUID          CertType;\r
-  /// \r
+  ///\r
   /// The following is the certificate data. The format of\r
-  /// the data is determined by the CertType. \r
+  /// the data is determined by the CertType.\r
   /// If CertType is EFI_CERT_TYPE_RSA2048_SHA256_GUID,\r
   /// the CertData will be EFI_CERT_BLOCK_RSA_2048_SHA256 structure.\r
   ///\r
@@ -92,32 +92,32 @@ typedef struct {
 } WIN_CERTIFICATE_UEFI_GUID;\r
 \r
 \r
-///   \r
+///\r
 /// Certificate which encapsulates the RSASSA_PKCS1-v1_5 digital 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
-typedef struct {     \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
+typedef struct {\r
   ///\r
-  /// This is the standard WIN_CERTIFICATE header, where \r
-  /// wCertificateType is set to WIN_CERT_TYPE_UEFI_PKCS1_15.                       \r
+  /// This is the standard WIN_CERTIFICATE header, where\r
+  /// wCertificateType is set to WIN_CERT_TYPE_UEFI_PKCS1_15.\r
   ///\r
   WIN_CERTIFICATE Hdr;\r
   ///\r
   /// This is the hashing algorithm which was performed on the\r
-  /// UEFI executable when creating the digital signature. \r
+  /// UEFI executable when creating the digital signature.\r
   ///\r
   EFI_GUID        HashAlgorithm;\r
   ///\r
-  /// The following is the actual digital signature. The   \r
-  /// size of the signature is the same size as the key \r
-  /// (1024-bit key is 128 bytes) and can be determined by \r
+  /// The following is the actual digital signature. The\r
+  /// size of the signature is the same size as the key\r
+  /// (1024-bit key is 128 bytes) and can be determined by\r
   /// subtracting the length of the other parts of this header\r
-  /// from the total length of the certificate as found in \r
-  /// Hdr.dwLength.                               \r
+  /// from the total length of the certificate as found in\r
+  /// Hdr.dwLength.\r
   ///\r
   /// UINT8 Signature[];\r
   ///\r
index c990076a955c220af250bbbdd9e5722fdcddd881..e28328fad6d77465f7f515509b974c53f680b8f8 100644 (file)
@@ -3,9 +3,9 @@
   and DXE module types.\r
 \r
   The HOB Library supports the efficient creation and searching of HOBs\r
-  defined in the PI Specification. \r
-  A HOB is a Hand-Off Block, defined in the Framework architecture, that \r
-  allows the PEI phase to pass information to the DXE phase. HOBs are position \r
+  defined in the PI Specification.\r
+  A HOB is a Hand-Off Block, defined in the Framework architecture, that\r
+  allows the PEI phase to pass information to the DXE phase. HOBs are position\r
   independent and can be relocated easily to different memory memory locations.\r
 \r
 Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
@@ -26,15 +26,15 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   Returns the pointer to the HOB list.\r
 \r
   This function returns the pointer to first HOB in the list.\r
-  For PEI phase, the PEI service GetHobList() can be used to retrieve the pointer \r
+  For PEI phase, the PEI service GetHobList() can be used to retrieve the pointer\r
   to the HOB list.  For the DXE phase, the HOB list pointer can be retrieved through\r
   the EFI System Table by looking up theHOB list GUID in the System Configuration Table.\r
-  Since the System Configuration Table does not exist that the time the DXE Core is \r
-  launched, the DXE Core uses a global variable from the DXE Core Entry Point Library \r
+  Since the System Configuration Table does not exist that the time the DXE Core is\r
+  launched, the DXE Core uses a global variable from the DXE Core Entry Point Library\r
   to manage the pointer to the HOB list.\r
-  \r
+\r
   If the pointer to the HOB list is NULL, then ASSERT().\r
-  \r
+\r
   @return The pointer to the HOB list.\r
 \r
 **/\r
@@ -47,12 +47,12 @@ GetHobList (
 /**\r
   Returns the next instance of a HOB type from the starting HOB.\r
 \r
-  This function searches the first instance of a HOB type from the starting HOB pointer. \r
+  This function searches the first instance of a HOB type from the starting HOB pointer.\r
   If there does not exist such HOB type from the starting HOB pointer, it will return NULL.\r
   In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer\r
   unconditionally: it returns HobStart back if HobStart itself meets the requirement;\r
   caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.\r
-  \r
+\r
   If HobStart is NULL, then ASSERT().\r
 \r
   @param  Type          The HOB type to return.\r
@@ -71,9 +71,9 @@ GetNextHob (
 /**\r
   Returns the first instance of a HOB type among the whole HOB list.\r
 \r
-  This function searches the first instance of a HOB type among the whole HOB list. \r
-  If there does not exist such HOB type in the HOB list, it will return NULL. \r
-  \r
+  This function searches the first instance of a HOB type among the whole HOB list.\r
+  If there does not exist such HOB type in the HOB list, it will return NULL.\r
+\r
   If the pointer to the HOB list is NULL, then ASSERT().\r
 \r
   @param  Type          The HOB type to return.\r
@@ -89,17 +89,17 @@ GetFirstHob (
 \r
 /**\r
   Returns the next instance of the matched GUID HOB from the starting HOB.\r
-  \r
-  This function searches the first instance of a HOB from the starting HOB pointer. \r
-  Such HOB should satisfy two conditions: \r
-  its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid. \r
-  If there does not exist such HOB from the starting HOB pointer, it will return NULL. \r
+\r
+  This function searches the first instance of a HOB from the starting HOB pointer.\r
+  Such HOB should satisfy two conditions:\r
+  its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.\r
+  If there does not exist such HOB from the starting HOB pointer, it will return NULL.\r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
   to extract the data section and its size info respectively.\r
   In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer\r
   unconditionally: it returns HobStart back if HobStart itself meets the requirement;\r
   caller is required to use GET_NEXT_HOB() if it wishes to skip current HobStart.\r
-  \r
+\r
   If Guid is NULL, then ASSERT().\r
   If HobStart is NULL, then ASSERT().\r
 \r
@@ -118,14 +118,14 @@ GetNextGuidHob (
 \r
 /**\r
   Returns the first instance of the matched GUID HOB among the whole HOB list.\r
-  \r
-  This function searches the first instance of a HOB among the whole HOB list. \r
+\r
+  This function searches the first instance of a HOB among the whole HOB list.\r
   Such HOB should satisfy two conditions:\r
   its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.\r
   If there does not exist such HOB from the starting HOB pointer, it will return NULL.\r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
   to extract the data section and its size info respectively.\r
-  \r
+\r
   If the pointer to the HOB list is NULL, then ASSERT().\r
   If Guid is NULL, then ASSERT().\r
 \r
@@ -143,11 +143,11 @@ GetFirstGuidHob (
 /**\r
   Get the system boot mode from the HOB list.\r
 \r
-  This function returns the system boot mode information from the \r
+  This function returns the system boot mode information from the\r
   PHIT HOB in HOB list.\r
 \r
   If the pointer to the HOB list is NULL, then ASSERT().\r
-  \r
+\r
   @param  VOID\r
 \r
   @return The Boot Mode.\r
@@ -165,7 +165,7 @@ GetBootModeHob (
   This function builds a HOB for a loaded PE32 module.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If ModuleName is NULL, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -190,7 +190,7 @@ BuildModuleHob (
   This function builds a HOB that describes a chunk of system memory.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  ResourceType        The type of resource described by this HOB.\r
@@ -209,15 +209,15 @@ BuildResourceDescriptorHob (
   );\r
 \r
 /**\r
-  Builds a customized HOB tagged with a GUID for identification and returns \r
+  Builds a customized HOB tagged with a GUID for identification and returns\r
   the start address of GUID HOB data.\r
 \r
-  This function builds a customized HOB tagged with a GUID for identification \r
-  and returns the start address of GUID HOB data so that caller can fill the customized data. \r
+  This function builds a customized HOB tagged with a GUID for identification\r
+  and returns the start address of GUID HOB data so that caller can fill the customized data.\r
   The HOB Header and Name field is already stripped.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If Guid is NULL, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
   If DataLength > (0xFFF8 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT().\r
@@ -238,16 +238,16 @@ BuildGuidHob (
   );\r
 \r
 /**\r
-  Builds a customized HOB tagged with a GUID for identification, copies the input data to the HOB \r
+  Builds a customized HOB tagged with a GUID for identification, copies the input data to the HOB\r
   data field, and returns the start address of the GUID HOB data.\r
 \r
   This function builds a customized HOB tagged with a GUID for identification and copies the input\r
-  data to the HOB data field and returns the start address of the GUID HOB data.  It can only be \r
-  invoked during PEI phase; for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.  \r
+  data to the HOB data field and returns the start address of the GUID HOB data.  It can only be\r
+  invoked during PEI phase; for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
   The HOB Header and Name field is already stripped.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If Guid is NULL, then ASSERT().\r
   If Data is NULL and DataLength > 0, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
@@ -276,7 +276,7 @@ BuildGuidDataHob (
   This function builds a Firmware Volume HOB.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The base address of the Firmware Volume.\r
@@ -296,14 +296,14 @@ BuildFvHob (
   This function builds a EFI_HOB_TYPE_FV2 HOB.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The base address of the Firmware Volume.\r
   @param  Length        The size of the Firmware Volume in bytes.\r
   @param  FvName        The name of the Firmware Volume.\r
   @param  FileName      The name of the file.\r
-  \r
+\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -320,7 +320,7 @@ BuildFv2Hob (
   This function builds a Capsule Volume HOB.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If the platform does not support Capsule Volume HOBs, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -341,7 +341,7 @@ BuildCvHob (
   This function builds a HOB for the CPU.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  SizeOfMemorySpace   The maximum physical memory addressability of the processor.\r
@@ -361,7 +361,7 @@ BuildCpuHob (
   This function builds a HOB for the stack.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The 64 bit physical address of the Stack.\r
@@ -381,7 +381,7 @@ BuildStackHob (
   This function builds a HOB for BSP store.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The 64 bit physical address of the BSP.\r
@@ -403,7 +403,7 @@ BuildBspStoreHob (
   This function builds a HOB for the memory allocation.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
-  \r
+\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The 64 bit physical address of the memory.\r
@@ -422,13 +422,13 @@ BuildMemoryAllocationHob (
 /**\r
   Returns the type of a HOB.\r
 \r
-  This macro returns the HobType field from the HOB header for the \r
+  This macro returns the HobType field from the HOB header for the\r
   HOB specified by HobStart.\r
 \r
   @param  HobStart   A pointer to a HOB.\r
-  \r
+\r
   @return HobType.\r
-  \r
+\r
 **/\r
 #define GET_HOB_TYPE(HobStart) \\r
   ((*(EFI_HOB_GENERIC_HEADER **)&(HobStart))->HobType)\r
@@ -436,7 +436,7 @@ BuildMemoryAllocationHob (
 /**\r
   Returns the length, in bytes, of a HOB.\r
 \r
-  This macro returns the HobLength field from the HOB header for the \r
+  This macro returns the HobLength field from the HOB header for the\r
   HOB specified by HobStart.\r
 \r
   @param  HobStart   A pointer to a HOB.\r
@@ -450,7 +450,7 @@ BuildMemoryAllocationHob (
 /**\r
   Returns a pointer to the next HOB in the HOB list.\r
 \r
-  This macro returns a pointer to HOB that follows the \r
+  This macro returns a pointer to HOB that follows the\r
   HOB specified by HobStart in the HOB List.\r
 \r
   @param  HobStart   A pointer to a HOB.\r
@@ -463,9 +463,9 @@ BuildMemoryAllocationHob (
 \r
 /**\r
   Determines if a HOB is the last HOB in the HOB list.\r
-  \r
-  This macro determine if the HOB specified by HobStart is the \r
-  last HOB in the HOB list.  If HobStart is last HOB in the HOB list, \r
+\r
+  This macro determine if the HOB specified by HobStart is the\r
+  last HOB in the HOB list.  If HobStart is last HOB in the HOB list,\r
   then TRUE is returned.  Otherwise, FALSE is returned.\r
 \r
   @param  HobStart   A pointer to a HOB.\r
@@ -480,12 +480,12 @@ BuildMemoryAllocationHob (
   Returns a pointer to data buffer from a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.\r
 \r
   This macro returns a pointer to the data buffer in a HOB specified by HobStart.\r
-  HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.   \r
+  HobStart is assumed to be a HOB of type EFI_HOB_TYPE_GUID_EXTENSION.\r
 \r
   @param   GuidHob   A pointer to a HOB.\r
 \r
   @return  A pointer to the data buffer in a HOB.\r
-  \r
+\r
 **/\r
 #define GET_GUID_HOB_DATA(HobStart) \\r
   (VOID *)(*(UINT8 **)&(HobStart) + sizeof (EFI_HOB_GUID_TYPE))\r
index 53986861b9c7f1121e5f7084df2d4e4c8c2e0f68..b5ef2eb4c5e29c20c0bfbf383c00d5646d52d5e4 100644 (file)
@@ -2,13 +2,13 @@
   Present the boot mode values in PI.\r
 \r
   Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
   PI Version 1.2.1A\r
 \r
 ///\r
 /// EFI boot mode\r
-/// \r
+///\r
 typedef UINT32  EFI_BOOT_MODE;\r
 \r
 //\r
 // 0x21 - 0xf..f are reserved.\r
-// \r
+//\r
 #define BOOT_WITH_FULL_CONFIGURATION                  0x00\r
 #define BOOT_WITH_MINIMAL_CONFIGURATION               0x01\r
 #define BOOT_ASSUMING_NO_CONFIGURATION_CHANGES        0x02\r
index 3e020b4208b49036b74ec97a55171e7ad7959d93..1f9442918839bba81572eb0b5272857ebab789aa 100644 (file)
@@ -2,13 +2,13 @@
   The firmware file related definitions in PI.\r
 \r
 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution.  \r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
 The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.                                            \r
+http://opensource.org/licenses/bsd-license.php.\r
 \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.              \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
   PI Version 1.2.\r
@@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #pragma pack(1)\r
 ///\r
 /// Used to verify the integrity of the file.\r
-/// \r
+///\r
 typedef union {\r
   struct {\r
     ///\r
@@ -60,7 +60,7 @@ typedef UINT8 EFI_FFS_FILE_STATE;
 \r
 ///\r
 /// File Types Definitions\r
-/// \r
+///\r
 #define EFI_FV_FILETYPE_ALL                   0x00\r
 #define EFI_FV_FILETYPE_RAW                   0x01\r
 #define EFI_FV_FILETYPE_FREEFORM              0x02\r
@@ -82,17 +82,17 @@ typedef UINT8 EFI_FFS_FILE_STATE;
 #define EFI_FV_FILETYPE_FFS_MIN               0xf0\r
 #define EFI_FV_FILETYPE_FFS_MAX               0xff\r
 #define EFI_FV_FILETYPE_FFS_PAD               0xf0\r
-/// \r
+///\r
 /// FFS File Attributes.\r
-/// \r
+///\r
 #define FFS_ATTRIB_LARGE_FILE         0x01\r
 #define FFS_ATTRIB_FIXED              0x04\r
 #define FFS_ATTRIB_DATA_ALIGNMENT     0x38\r
 #define FFS_ATTRIB_CHECKSUM           0x40\r
 \r
-/// \r
+///\r
 /// FFS File State Bits.\r
-/// \r
+///\r
 #define EFI_FILE_HEADER_CONSTRUCTION  0x01\r
 #define EFI_FILE_HEADER_VALID         0x02\r
 #define EFI_FILE_DATA_VALID           0x04\r
@@ -102,9 +102,9 @@ typedef UINT8 EFI_FFS_FILE_STATE;
 \r
 \r
 ///\r
-/// Each file begins with the header that describe the \r
+/// Each file begins with the header that describe the\r
 /// contents and state of the files.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// This GUID is the file name. It is used to uniquely identify the file.\r
@@ -139,22 +139,22 @@ typedef struct {
   /// volume, except if the file type is EFI_FV_FILETYPE_FFS_PAD.\r
   ///\r
   EFI_GUID                  Name;\r
-  \r
+\r
   ///\r
   /// Used to verify the integrity of the file.\r
-  ///  \r
+  ///\r
   EFI_FFS_INTEGRITY_CHECK   IntegrityCheck;\r
-  \r
+\r
   ///\r
   /// Identifies the type of file.\r
-  ///  \r
+  ///\r
   EFI_FV_FILETYPE           Type;\r
-  \r
+\r
   ///\r
   /// Declares various file attribute bits.\r
-  ///  \r
+  ///\r
   EFI_FFS_FILE_ATTRIBUTES   Attributes;\r
-  \r
+\r
   ///\r
   /// The length of the file in bytes, including the FFS header.\r
   /// The length of the file data is either (Size - sizeof(EFI_FFS_FILE_HEADER)). This calculation means a\r
@@ -163,12 +163,12 @@ typedef struct {
   /// located at the next 8-byte aligned firmware volume offset following the last byte of the file F.\r
   ///\r
   UINT8                     Size[3];\r
-  \r
+\r
   ///\r
   /// Used to track the state of the file throughout the life of the file from creation to deletion.\r
   ///\r
   EFI_FFS_FILE_STATE        State;\r
-  \r
+\r
   ///\r
   /// If FFS_ATTRIB_LARGE_FILE is set in Attributes, then ExtendedSize exists and Size must be set to zero.\r
   /// If FFS_ATTRIB_LARGE_FILE is not set then EFI_FFS_FILE_HEADER is used.\r
@@ -220,10 +220,10 @@ typedef UINT8 EFI_SECTION_TYPE;
 \r
 ///\r
 /// Common section header.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
-  /// A 24-bit unsigned integer that contains the total size of the section in bytes, \r
+  /// A 24-bit unsigned integer that contains the total size of the section in bytes,\r
   /// including the EFI_COMMON_SECTION_HEADER.\r
   ///\r
   UINT8             Size[3];\r
@@ -235,36 +235,36 @@ typedef struct {
 \r
 typedef struct {\r
   ///\r
-  /// A 24-bit unsigned integer that contains the total size of the section in bytes, \r
+  /// A 24-bit unsigned integer that contains the total size of the section in bytes,\r
   /// including the EFI_COMMON_SECTION_HEADER.\r
   ///\r
   UINT8             Size[3];\r
-  \r
+\r
   EFI_SECTION_TYPE  Type;\r
-  \r
+\r
   ///\r
   /// If Size is 0xFFFFFF, then ExtendedSize contains the size of the section. If\r
-  /// Size is not equal to 0xFFFFFF, then this field does not exist.  \r
+  /// Size is not equal to 0xFFFFFF, then this field does not exist.\r
   ///\r
   UINT32            ExtendedSize;\r
 } EFI_COMMON_SECTION_HEADER2;\r
 \r
 ///\r
-/// Leaf section type that contains an \r
+/// Leaf section type that contains an\r
 /// IA-32 16-bit executable image.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER  EFI_COMPATIBILITY16_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2 EFI_COMPATIBILITY16_SECTION2;\r
 \r
 ///\r
 /// CompressionType of EFI_COMPRESSION_SECTION.\r
-/// \r
+///\r
 #define EFI_NOT_COMPRESSED        0x00\r
 #define EFI_STANDARD_COMPRESSION  0x01\r
 ///\r
-/// An encapsulation section type in which the \r
+/// An encapsulation section type in which the\r
 /// section data is compressed.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// Usual common section header. CommonHeader.Type = EFI_SECTION_COMPRESSION.\r
@@ -309,19 +309,19 @@ typedef EFI_COMMON_SECTION_HEADER2  EFI_DISPOSABLE_SECTION2;
 \r
 ///\r
 /// The leaf section which could be used to determine the dispatch order of DXEs.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER   EFI_DXE_DEPEX_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2  EFI_DXE_DEPEX_SECTION2;\r
 \r
 ///\r
 /// The leaf section which contains a PI FV.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER   EFI_FIRMWARE_VOLUME_IMAGE_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2  EFI_FIRMWARE_VOLUME_IMAGE_SECTION2;\r
 \r
 ///\r
 /// The leaf section which contains a single GUID.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// Common section header. CommonHeader.Type = EFI_SECTION_FREEFORM_SUBTYPE_GUID.\r
@@ -340,18 +340,18 @@ typedef struct {
   EFI_COMMON_SECTION_HEADER2    CommonHeader;\r
   ///\r
   /// This GUID is defined by the creator of the file. It is a vendor-defined file type.\r
-  ///  \r
+  ///\r
   EFI_GUID                      SubTypeGuid;\r
 } EFI_FREEFORM_SUBTYPE_GUID_SECTION2;\r
 \r
 ///\r
 /// Attributes of EFI_GUID_DEFINED_SECTION.\r
-/// \r
+///\r
 #define EFI_GUIDED_SECTION_PROCESSING_REQUIRED  0x01\r
 #define EFI_GUIDED_SECTION_AUTH_STATUS_VALID    0x02\r
 ///\r
 /// The leaf section which is encapsulation defined by specific GUID.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The common section header. CommonHeader.Type = EFI_SECTION_GUID_DEFINED.\r
@@ -378,27 +378,27 @@ typedef struct {
   EFI_COMMON_SECTION_HEADER2    CommonHeader;\r
   ///\r
   /// The GUID that defines the format of the data that follows. It is a vendor-defined section type.\r
-  ///  \r
+  ///\r
   EFI_GUID                      SectionDefinitionGuid;\r
   ///\r
   /// Contains the offset in bytes from the beginning of the common header to the first byte of the data.\r
-  ///  \r
+  ///\r
   UINT16                        DataOffset;\r
   ///\r
   /// The bit field that declares some specific characteristics of the section contents.\r
-  ///  \r
+  ///\r
   UINT16                        Attributes;\r
 } EFI_GUID_DEFINED_SECTION2;\r
 \r
 ///\r
 /// The leaf section which contains PE32+ image.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER   EFI_PE32_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2  EFI_PE32_SECTION2;\r
 \r
 ///\r
 /// The leaf section used to determine the dispatch order of PEIMs.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER   EFI_PEI_DEPEX_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2  EFI_PEI_DEPEX_SECTION2;\r
 \r
@@ -416,37 +416,37 @@ typedef EFI_COMMON_SECTION_HEADER2  EFI_PIC_SECTION2;
 \r
 ///\r
 /// The leaf section which constains the position-independent-code image.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER   EFI_TE_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2  EFI_TE_SECTION2;\r
 \r
 ///\r
 /// The leaf section which contains an array of zero or more bytes.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER   EFI_RAW_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2  EFI_RAW_SECTION2;\r
 \r
-/// \r
+///\r
 /// The SMM dependency expression section is a leaf section that contains a dependency expression that\r
 /// is used to determine the dispatch order for SMM drivers. Before the SMRAM invocation of the\r
 /// SMM driver's entry point, this dependency expression must evaluate to TRUE. See the Platform\r
 /// Initialization Specification, Volume 2, for details regarding the format of the dependency expression.\r
 /// The dependency expression may refer to protocols installed in either the UEFI or the SMM protocol\r
 /// database. EFI_SMM_DEPEX_SECTION2 must be used if the section is 16MB or larger.\r
-/// \r
+///\r
 typedef EFI_COMMON_SECTION_HEADER EFI_SMM_DEPEX_SECTION;\r
 typedef EFI_COMMON_SECTION_HEADER2 EFI_SMM_DEPEX_SECTION2;\r
 \r
 ///\r
-/// The leaf section which contains a unicode string that \r
+/// The leaf section which contains a unicode string that\r
 /// is human readable file name.\r
-/// \r
+///\r
 typedef struct {\r
   EFI_COMMON_SECTION_HEADER   CommonHeader;\r
 \r
   ///\r
   /// Array of unicode string.\r
-  /// \r
+  ///\r
   CHAR16                      FileNameString[1];\r
 } EFI_USER_INTERFACE_SECTION;\r
 \r
@@ -457,15 +457,15 @@ typedef struct {
 \r
 ///\r
 /// The leaf section which contains a numeric build number and\r
-/// an optional unicode string that represents the file revision. \r
-/// \r
+/// an optional unicode string that represents the file revision.\r
+///\r
 typedef struct {\r
   EFI_COMMON_SECTION_HEADER   CommonHeader;\r
   UINT16                      BuildNumber;\r
 \r
   ///\r
   /// Array of unicode string.\r
-  /// \r
+  ///\r
   CHAR16                      VersionString[1];\r
 } EFI_VERSION_SECTION;\r
 \r
index 7aa2e5e0168f83ac1a325be7e9947bb1d3478980..79fde131902e67e683c6aae1d5899b48bea5aaf2 100644 (file)
@@ -2,13 +2,13 @@
   The firmware volume related definitions in PI.\r
 \r
   Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
-  This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
+  This program and the accompanying materials\r
+  are licensed and made available under the terms and conditions of the BSD License\r
+  which accompanies this distribution.  The full text of the license may be found at\r
+  http://opensource.org/licenses/bsd-license.php\r
 \r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
   PI Version 1.3\r
@@ -25,19 +25,19 @@ typedef UINT32  EFI_FV_FILE_ATTRIBUTES;
 \r
 //\r
 // Value of EFI_FV_FILE_ATTRIBUTES.\r
-// \r
+//\r
 #define EFI_FV_FILE_ATTRIB_ALIGNMENT      0x0000001F\r
 #define EFI_FV_FILE_ATTRIB_FIXED          0x00000100\r
 #define EFI_FV_FILE_ATTRIB_MEMORY_MAPPED  0x00000200\r
 \r
 ///\r
 /// type of EFI FVB attribute\r
-/// \r
+///\r
 typedef UINT32  EFI_FVB_ATTRIBUTES_2;\r
 \r
-// \r
+//\r
 // Attributes bit definitions\r
-// \r
+//\r
 #define EFI_FVB2_READ_DISABLED_CAP  0x00000001\r
 #define EFI_FVB2_READ_ENABLED_CAP   0x00000002\r
 #define EFI_FVB2_READ_STATUS        0x00000004\r
@@ -104,7 +104,7 @@ typedef struct {
 ///\r
 typedef struct {\r
   ///\r
-  /// The first 16 bytes are reserved to allow for the reset vector of \r
+  /// The first 16 bytes are reserved to allow for the reset vector of\r
   /// processors whose reset vector is at address 0.\r
   ///\r
   UINT8                     ZeroVector[16];\r
@@ -162,7 +162,7 @@ typedef struct {
 \r
 ///\r
 /// Extension header pointed by ExtHeaderOffset of volume header.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// Firmware volume name.\r
@@ -176,7 +176,7 @@ typedef struct {
 \r
 ///\r
 /// Entry struture for describing FV extension header\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// Size of this header extension.\r
@@ -191,7 +191,7 @@ typedef struct {
 #define EFI_FV_EXT_TYPE_OEM_TYPE  0x01\r
 ///\r
 /// This extension header provides a mapping between a GUID and an OEM file type.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// Standard extension entry, with the type EFI_FV_EXT_TYPE_OEM_TYPE.\r
@@ -204,7 +204,7 @@ typedef struct {
   UINT32    TypeMask;\r
   ///\r
   /// An array of GUIDs, each GUID representing an OEM file type.\r
-  /// \r
+  ///\r
   /// EFI_GUID  Types[1];\r
   ///\r
 } EFI_FIRMWARE_VOLUME_EXT_ENTRY_OEM_TYPE;\r
index 7d9169f4963e02683f9995e9181d1d0fb73f2ce1..9c65d5b12b37ffc971745c0e60fed3bb923a6c7e 100644 (file)
@@ -2,13 +2,13 @@
   HOB related definitions in PI.\r
 \r
 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution.  \r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
 The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.                                                                          \r
+http://opensource.org/licenses/bsd-license.php.\r
 \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
   PI Version 1.0\r
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 //\r
 // HobType of EFI_HOB_GENERIC_HEADER.\r
-// \r
+//\r
 #define EFI_HOB_TYPE_HANDOFF              0x0001\r
 #define EFI_HOB_TYPE_MEMORY_ALLOCATION    0x0002\r
 #define EFI_HOB_TYPE_RESOURCE_DESCRIPTOR  0x0003\r
@@ -35,9 +35,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define EFI_HOB_TYPE_END_OF_HOB_LIST      0xFFFF\r
 \r
 ///\r
-/// Describes the format and size of the data inside the HOB. \r
+/// Describes the format and size of the data inside the HOB.\r
 /// All HOBs must contain this generic HOB header.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// Identifies the HOB data structure type.\r
@@ -56,13 +56,13 @@ typedef struct {
 \r
 ///\r
 /// Value of version  in EFI_HOB_HANDOFF_INFO_TABLE.\r
-/// \r
+///\r
 #define EFI_HOB_HANDOFF_TABLE_VERSION 0x0009\r
 \r
 ///\r
-/// Contains general state information used by the HOB producer phase. \r
+/// Contains general state information used by the HOB producer phase.\r
 /// This HOB must be the first one in the HOB list.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_HANDOFF.\r
@@ -70,7 +70,7 @@ typedef struct {
   EFI_HOB_GENERIC_HEADER  Header;\r
   ///\r
   /// The version number pertaining to the PHIT HOB definition.\r
-  /// This value is four bytes in length to provide an 8-byte aligned entry \r
+  /// This value is four bytes in length to provide an 8-byte aligned entry\r
   /// when it is combined with the 4-byte BootMode.\r
   ///\r
   UINT32                  Version;\r
@@ -88,7 +88,7 @@ typedef struct {
   ///\r
   EFI_PHYSICAL_ADDRESS    EfiMemoryBottom;\r
   ///\r
-  /// The highest address location of free memory that is currently available \r
+  /// The highest address location of free memory that is currently available\r
   /// for use by the HOB producer phase.\r
   ///\r
   EFI_PHYSICAL_ADDRESS    EfiFreeMemoryTop;\r
@@ -102,19 +102,19 @@ typedef struct {
   EFI_PHYSICAL_ADDRESS    EfiEndOfHobList;\r
 } EFI_HOB_HANDOFF_INFO_TABLE;\r
 \r
-/// \r
+///\r
 /// EFI_HOB_MEMORY_ALLOCATION_HEADER describes the\r
 /// various attributes of the logical memory allocation. The type field will be used for\r
 /// subsequent inclusion in the UEFI memory map.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// A GUID that defines the memory allocation region's type and purpose, as well as\r
   /// other fields within the memory allocation HOB. This GUID is used to define the\r
   /// additional data within the HOB that may be present for the memory allocation HOB.\r
   /// Type EFI_GUID is defined in InstallProtocolInterface() in the UEFI 2.0\r
-  /// specification. \r
-  /// \r
+  /// specification.\r
+  ///\r
   EFI_GUID              Name;\r
 \r
   ///\r
@@ -124,16 +124,16 @@ typedef struct {
   ///\r
   EFI_PHYSICAL_ADDRESS  MemoryBaseAddress;\r
 \r
-  /// \r
+  ///\r
   /// The length in bytes of memory allocated by this HOB.\r
-  /// \r
+  ///\r
   UINT64                MemoryLength;\r
 \r
   ///\r
   /// Defines the type of memory allocated by this HOB. The memory type definition\r
   /// follows the EFI_MEMORY_TYPE definition. Type EFI_MEMORY_TYPE is defined\r
   /// in AllocatePages() in the UEFI 2.0 specification.\r
-  /// \r
+  ///\r
   EFI_MEMORY_TYPE       MemoryType;\r
 \r
   ///\r
@@ -143,8 +143,8 @@ typedef struct {
 } EFI_HOB_MEMORY_ALLOCATION_HEADER;\r
 \r
 ///\r
-/// Describes all memory ranges used during the HOB producer \r
-/// phase that exist outside the HOB list. This HOB type \r
+/// Describes all memory ranges used during the HOB producer\r
+/// phase that exist outside the HOB list. This HOB type\r
 /// describes how memory is used, not the physical attributes of memory.\r
 ///\r
 typedef struct {\r
@@ -165,10 +165,10 @@ typedef struct {
 \r
 \r
 ///\r
-/// Describes the memory stack that is produced by the HOB producer \r
+/// Describes the memory stack that is produced by the HOB producer\r
 /// phase and upon which all post-memory-installed executable\r
 /// content in the HOB producer phase is executing.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_MEMORY_ALLOCATION.\r
@@ -182,11 +182,11 @@ typedef struct {
 } EFI_HOB_MEMORY_ALLOCATION_STACK;\r
 \r
 ///\r
-/// Defines the location of the boot-strap \r
+/// Defines the location of the boot-strap\r
 /// processor (BSP) BSPStore ("Backing Store Pointer Store").\r
-/// This HOB is valid for the Itanium processor family only \r
+/// This HOB is valid for the Itanium processor family only\r
 /// register overflow store.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_MEMORY_ALLOCATION.\r
@@ -213,12 +213,12 @@ typedef struct {
   ///\r
   EFI_HOB_MEMORY_ALLOCATION_HEADER  MemoryAllocationHeader;\r
   ///\r
-  /// The GUID specifying the values of the firmware file system name \r
+  /// The GUID specifying the values of the firmware file system name\r
   /// that contains the HOB consumer phase component.\r
   ///\r
   EFI_GUID                          ModuleName;\r
   ///\r
-  /// The address of the memory-mapped firmware volume \r
+  /// The address of the memory-mapped firmware volume\r
   /// that contains the HOB consumer phase firmware file.\r
   ///\r
   EFI_PHYSICAL_ADDRESS              EntryPoint;\r
@@ -226,12 +226,12 @@ typedef struct {
 \r
 ///\r
 /// The resource type.\r
-/// \r
+///\r
 typedef UINT32 EFI_RESOURCE_TYPE;\r
 \r
 //\r
 // Value of ResourceType in EFI_HOB_RESOURCE_DESCRIPTOR.\r
-// \r
+//\r
 #define EFI_RESOURCE_SYSTEM_MEMORY          0x00000000\r
 #define EFI_RESOURCE_MEMORY_MAPPED_IO       0x00000001\r
 #define EFI_RESOURCE_IO                     0x00000002\r
@@ -243,7 +243,7 @@ typedef UINT32 EFI_RESOURCE_TYPE;
 \r
 ///\r
 /// A type of recount attribute type.\r
-/// \r
+///\r
 typedef UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE;\r
 \r
 //\r
@@ -277,10 +277,10 @@ typedef UINT32 EFI_RESOURCE_ATTRIBUTE_TYPE;
 #define EFI_RESOURCE_ATTRIBUTE_EXECUTION_PROTECTABLE    0x00400000\r
 \r
 ///\r
-/// Describes the resource properties of all fixed, \r
+/// Describes the resource properties of all fixed,\r
 /// nonrelocatable resource ranges found on the processor\r
 /// host bus during the HOB producer phase.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_RESOURCE_DESCRIPTOR.\r
@@ -300,7 +300,7 @@ typedef struct {
   ///\r
   EFI_RESOURCE_ATTRIBUTE_TYPE ResourceAttribute;\r
   ///\r
-  /// The physical start address of the resource region. \r
+  /// The physical start address of the resource region.\r
   ///\r
   EFI_PHYSICAL_ADDRESS        PhysicalStart;\r
   ///\r
@@ -310,9 +310,9 @@ typedef struct {
 } EFI_HOB_RESOURCE_DESCRIPTOR;\r
 \r
 ///\r
-/// Allows writers of executable content in the HOB producer phase to \r
+/// Allows writers of executable content in the HOB producer phase to\r
 /// maintain and manage HOBs with specific GUID.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_GUID_EXTENSION.\r
@@ -329,7 +329,7 @@ typedef struct {
 \r
 ///\r
 /// Details the location of firmware volumes that contain firmware files.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_FV.\r
@@ -346,9 +346,9 @@ typedef struct {
 } EFI_HOB_FIRMWARE_VOLUME;\r
 \r
 ///\r
-/// Details the location of a firmware volume that was extracted \r
+/// Details the location of a firmware volume that was extracted\r
 /// from a file within another firmware volume.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_FV2.\r
@@ -398,7 +398,7 @@ typedef struct {
 \r
 ///\r
 /// Describes pool memory allocations.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// The HOB generic header. Header.HobType = EFI_HOB_TYPE_MEMORY_POOL.\r
@@ -418,7 +418,7 @@ typedef struct {
   /// The HOB generic header where Header.HobType = EFI_HOB_TYPE_UEFI_CAPSULE.\r
   ///\r
   EFI_HOB_GENERIC_HEADER Header;\r
-  \r
+\r
   ///\r
   /// The physical memory-mapped base address of an UEFI capsule. This value is set to\r
   /// point to the base of the contiguous memory of the UEFI capsule.\r
@@ -449,4 +449,4 @@ typedef union {
 } EFI_PEI_HOB_POINTERS;\r
 \r
 \r
-#endif \r
+#endif\r
index e0142710efcad327091944740a688f0edba09e0a..a7a7dcf88c1de860363502be205a86302fd59b7e 100644 (file)
@@ -2,13 +2,13 @@
   This includes some definitions introduced in UEFI that will be used in both PEI and DXE phases.\r
 \r
 Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution.  \r
+This program and the accompanying materials are licensed and made available under\r
+the terms and conditions of the BSD License that accompanies this distribution.\r
 The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php.                                          \r
-    \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+http://opensource.org/licenses/bsd-license.php.\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
 \r
@@ -18,14 +18,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Guid/WinCertificate.h>\r
 ///\r
 /// Enumeration of memory types introduced in UEFI.\r
-/// \r
+///\r
 typedef enum {\r
   ///\r
   /// Not used.\r
   ///\r
   EfiReservedMemoryType,\r
   ///\r
-  /// The code portions of a loaded application. \r
+  /// The code portions of a loaded application.\r
   /// (Note that UEFI OS loaders are UEFI applications.)\r
   ///\r
   EfiLoaderCode,\r
@@ -87,7 +87,7 @@ typedef enum {
 \r
 ///\r
 /// Data structure that precedes all of the standard EFI table types.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
   /// A 64-bit signature that identifies the type of table that follows.\r
@@ -119,14 +119,14 @@ 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
 ///\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_HARDWARE_ERROR_RECORD                   0x00000008\r
 ///\r
 /// Attributes of Authenticated Variable\r
@@ -136,7 +136,7 @@ typedef struct {
 #define EFI_VARIABLE_APPEND_WRITE                            0x00000040\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_GUID. If the attribute specifies\r
@@ -150,41 +150,41 @@ typedef struct {
 /// 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
 typedef struct {\r
   ///\r
-  /// Included in the signature of        \r
+  /// Included in the signature of\r
   /// AuthInfo.Used to ensure freshness/no\r
-  /// replay. Incremented during each     \r
-  /// "Write" access.   \r
-  ///                  \r
+  /// replay. Incremented during each\r
+  /// "Write" access.\r
+  ///\r
   UINT64                      MonotonicCount;\r
   ///\r
-  /// Provides the authorization for the variable \r
-  /// access. It is a signature across the        \r
-  /// variable data and the  Monotonic Count      \r
-  /// value. Caller uses Private key that is      \r
-  /// associated with a public key that has been  \r
-  /// provisioned via the key exchange.           \r
+  /// Provides the authorization for the variable\r
+  /// access. It is a signature across the\r
+  /// variable data and the  Monotonic Count\r
+  /// value. Caller uses Private key that is\r
+  /// associated with a public key that has been\r
+  /// provisioned via the key exchange.\r
   ///\r
   WIN_CERTIFICATE_UEFI_GUID   AuthInfo;\r
 } EFI_VARIABLE_AUTHENTICATION;\r
 \r
 ///\r
-/// When the attribute EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS is \r
+/// When the attribute EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS is\r
 /// set, then the Data buffer shall begin with an instance of a complete (and serialized)\r
-/// EFI_VARIABLE_AUTHENTICATION_2 descriptor. The descriptor shall be followed by the new \r
-/// variable value and DataSize shall reflect the combined size of the descriptor and the new \r
-/// variable value. The authentication descriptor is not part of the variable data and is not \r
+/// EFI_VARIABLE_AUTHENTICATION_2 descriptor. The descriptor shall be followed by the new\r
+/// variable value and DataSize shall reflect the combined size of the descriptor and the new\r
+/// variable value. The authentication descriptor is not part of the variable data and is not\r
 /// returned by subsequent calls to GetVariable().\r
 ///\r
 typedef struct {\r
   ///\r
-  /// For the TimeStamp value, components Pad1, Nanosecond, TimeZone, Daylight and \r
+  /// For the TimeStamp value, components Pad1, Nanosecond, TimeZone, Daylight and\r
   /// Pad2 shall be set to 0. This means that the time shall always be expressed in GMT.\r
   ///\r
   EFI_TIME                    TimeStamp;\r
-  /// \r
+  ///\r
   /// Only a CertType of  EFI_CERT_TYPE_PKCS7_GUID is accepted.\r
   ///\r
   WIN_CERTIFICATE_UEFI_GUID   AuthInfo;\r