]> git.proxmox.com Git - mirror_edk2.git/commitdiff
IntelFrameworkPkg: Clean up source files
authorLiming Gao <liming.gao@intel.com>
Wed, 27 Jun 2018 13:06:55 +0000 (21:06 +0800)
committerLiming Gao <liming.gao@intel.com>
Thu, 28 Jun 2018 03:19:43 +0000 (11:19 +0800)
1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
77 files changed:
IntelFrameworkPkg/FrameworkSpecConformance.txt
IntelFrameworkPkg/Include/Framework/BootScript.h
IntelFrameworkPkg/Include/Framework/DxeCis.h
IntelFrameworkPkg/Include/Framework/FirmwareVolumeHeader.h
IntelFrameworkPkg/Include/Framework/FirmwareVolumeImageFormat.h
IntelFrameworkPkg/Include/Framework/FrameworkInternalFormRepresentation.h
IntelFrameworkPkg/Include/Framework/Hob.h
IntelFrameworkPkg/Include/Framework/PeiCis.h
IntelFrameworkPkg/Include/Framework/SmmCis.h
IntelFrameworkPkg/Include/Framework/StatusCode.h
IntelFrameworkPkg/Include/FrameworkDxe.h
IntelFrameworkPkg/Include/FrameworkPei.h
IntelFrameworkPkg/Include/FrameworkSmm.h
IntelFrameworkPkg/Include/Guid/BlockIo.h
IntelFrameworkPkg/Include/Guid/Capsule.h
IntelFrameworkPkg/Include/Guid/DataHubRecords.h
IntelFrameworkPkg/Include/Guid/FirmwareFileSystem.h
IntelFrameworkPkg/Include/Guid/SmmCommunicate.h
IntelFrameworkPkg/Include/Guid/SmramMemoryReserve.h
IntelFrameworkPkg/Include/Ppi/BootScriptExecuter.h
IntelFrameworkPkg/Include/Ppi/FindFv.h
IntelFrameworkPkg/Include/Ppi/FvLoadFile.h
IntelFrameworkPkg/Include/Ppi/PciCfg.h
IntelFrameworkPkg/Include/Ppi/ReadOnlyVariable.h
IntelFrameworkPkg/Include/Ppi/S3Resume.h
IntelFrameworkPkg/Include/Ppi/SectionExtraction.h
IntelFrameworkPkg/Include/Ppi/Security.h
IntelFrameworkPkg/Include/Ppi/Smbus.h
IntelFrameworkPkg/Include/Protocol/AcpiS3Save.h
IntelFrameworkPkg/Include/Protocol/AcpiSupport.h
IntelFrameworkPkg/Include/Protocol/BootScriptSave.h
IntelFrameworkPkg/Include/Protocol/CpuIo.h
IntelFrameworkPkg/Include/Protocol/DataHub.h
IntelFrameworkPkg/Include/Protocol/FirmwareVolume.h
IntelFrameworkPkg/Include/Protocol/FrameworkFirmwareVolumeBlock.h
IntelFrameworkPkg/Include/Protocol/FrameworkFormBrowser.h
IntelFrameworkPkg/Include/Protocol/FrameworkFormCallback.h
IntelFrameworkPkg/Include/Protocol/FrameworkHii.h
IntelFrameworkPkg/Include/Protocol/FrameworkMpService.h
IntelFrameworkPkg/Include/Protocol/Legacy8259.h
IntelFrameworkPkg/Include/Protocol/LegacyBios.h
IntelFrameworkPkg/Include/Protocol/LegacyBiosPlatform.h
IntelFrameworkPkg/Include/Protocol/LegacyInterrupt.h
IntelFrameworkPkg/Include/Protocol/LegacyRegion.h
IntelFrameworkPkg/Include/Protocol/SectionExtraction.h
IntelFrameworkPkg/Include/Protocol/SmmAccess.h
IntelFrameworkPkg/Include/Protocol/SmmBase.h
IntelFrameworkPkg/Include/Protocol/SmmControl.h
IntelFrameworkPkg/Include/Protocol/SmmCpuIo.h
IntelFrameworkPkg/Include/Protocol/SmmCpuSaveState.h
IntelFrameworkPkg/Include/Protocol/SmmGpiDispatch.h
IntelFrameworkPkg/Include/Protocol/SmmIchnDispatch.h
IntelFrameworkPkg/Include/Protocol/SmmPeriodicTimerDispatch.h
IntelFrameworkPkg/Include/Protocol/SmmPowerButtonDispatch.h
IntelFrameworkPkg/Include/Protocol/SmmStandbyButtonDispatch.h
IntelFrameworkPkg/Include/Protocol/SmmSwDispatch.h
IntelFrameworkPkg/Include/Protocol/SmmSxDispatch.h
IntelFrameworkPkg/Include/Protocol/SmmUsbDispatch.h
IntelFrameworkPkg/IntelFrameworkPkg.dec
IntelFrameworkPkg/IntelFrameworkPkgExtra.uni
IntelFrameworkPkg/Library/DxeIoLibCpuIo/DxeCpuIoLibInternal.h
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLibMmioBuffer.c
IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c
IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DxeSmmDriverEntryPoint.inf
IntelFrameworkPkg/Library/FrameworkUefiLib/Console.c
IntelFrameworkPkg/Library/FrameworkUefiLib/FrameworkUefiLib.inf
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiDriverModel.c
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLib.c
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiLibPrint.c
IntelFrameworkPkg/Library/FrameworkUefiLib/UefiNotTiano.c
IntelFrameworkPkg/Library/PeiHobLibFramework/HobLib.c
IntelFrameworkPkg/Library/PeiHobLibFramework/PeiHobLibFramework.inf
IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/InternalSmbusLib.h
IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLib.c
IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/PeiSmbusLibSmbusPpi.inf
IntelFrameworkPkg/Library/PeiSmbusLibSmbusPpi/SmbusLib.c

index 2aba2cb51683d4dd80e767e6454ef1f99012f046..f5e601e3344b82c24d7c51c25127ba45ecb7cb43 100644 (file)
@@ -15,7 +15,7 @@
 # 4. Some defintitions don't exactly match Framework specification, some new field members are introduced in EdkII\r
 #    to reflect the latest industry standard.\r
 #\r
 # 4. Some defintitions don't exactly match Framework specification, some new field members are introduced in EdkII\r
 #    to reflect the latest industry standard.\r
 #\r
-# Note: \r
+# Note:\r
 #    The IntelFrameworkPkg contains Framework specification contents that were not adopted by UEFI/PI, and names may be\r
 #    changed (such as adding "FRAMEWORK_") to avoid name collisions with approved UEFI/PI specifications.\r
 ##\r
 #    The IntelFrameworkPkg contains Framework specification contents that were not adopted by UEFI/PI, and names may be\r
 #    changed (such as adding "FRAMEWORK_") to avoid name collisions with approved UEFI/PI specifications.\r
 ##\r
@@ -42,9 +42,9 @@
     #pragma pack()\r
 \r
     Section "Alignment" in DataHubSubclass specification say "Fields in a data hub record should be aligned at their\r
     #pragma pack()\r
 \r
     Section "Alignment" in DataHubSubclass specification say "Fields in a data hub record should be aligned at their\r
-    natural boundaries". But in EdkII, the data structures above are packed. \r
+    natural boundaries". But in EdkII, the data structures above are packed.\r
     Keeping this inconsistency for backward compatibility.\r
     Keeping this inconsistency for backward compatibility.\r
-    \r
+\r
   3. Guid/DataHubRecords.h\r
     #define EFI_SUBCLASS_INSTANCE_RESERVED       0\r
     #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF\r
   3. Guid/DataHubRecords.h\r
     #define EFI_SUBCLASS_INSTANCE_RESERVED       0\r
     #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF\r
@@ -75,7 +75,7 @@
 \r
     The field type of the definition is *NOT* consistent with CacheSubclass specification. Specification defines\r
     them as UINT16, which is incorrect and should be UINT32 because the total width of bit-fields is 32bits width.\r
 \r
     The field type of the definition is *NOT* consistent with CacheSubclass specification. Specification defines\r
     them as UINT16, which is incorrect and should be UINT32 because the total width of bit-fields is 32bits width.\r
-    \r
+\r
   3. Guid/DataHubRecords.h\r
     typedef enum {\r
       CacheSizeRecordType              = 1,\r
   3. Guid/DataHubRecords.h\r
     typedef enum {\r
       CacheSizeRecordType              = 1,\r
@@ -96,8 +96,8 @@
       #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER            0x00000002\r
       #define EFI_CACHE_SPEED_RECORD_NUMBER                   0x00000003\r
       #define EFI_CACHE_SOCKET_RECORD_NUMBER                  0x00000004\r
       #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER            0x00000002\r
       #define EFI_CACHE_SPEED_RECORD_NUMBER                   0x00000003\r
       #define EFI_CACHE_SOCKET_RECORD_NUMBER                  0x00000004\r
-      #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER            0x00000005 \r
-      #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER            0x00000006 \r
+      #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER            0x00000005\r
+      #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER            0x00000006\r
       #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER           0x00000007\r
       #define EFI_CACHE_TYPE_RECORD_NUMBER                    0x00000008\r
       #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER           0x00000009\r
       #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER           0x00000007\r
       #define EFI_CACHE_TYPE_RECORD_NUMBER                    0x00000008\r
       #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER           0x00000009\r
       EfiProcessorFamilyIntelCeleronD          = 0xBA,\r
       EfiProcessorFamilyIntelPentiumD          = 0xBB,\r
       EfiProcessorFamilyIntelPentiumEx         = 0xBC,\r
       EfiProcessorFamilyIntelCeleronD          = 0xBA,\r
       EfiProcessorFamilyIntelPentiumD          = 0xBB,\r
       EfiProcessorFamilyIntelPentiumEx         = 0xBC,\r
-      EfiProcessorFamilyIntelCoreSolo          = 0xBD,  \r
-      EfiProcessorFamilyReserved               = 0xBE,  \r
+      EfiProcessorFamilyIntelCoreSolo          = 0xBD,\r
+      EfiProcessorFamilyReserved               = 0xBE,\r
       EfiProcessorFamilyIntelCore2             = 0xBF,\r
       ...\r
       EfiProcessorFamilyG6                     = 0xCB,\r
       EfiProcessorFamilyIntelCore2             = 0xBF,\r
       ...\r
       EfiProcessorFamilyG6                     = 0xCB,\r
     } EFI_PROCESSOR_SOCKET_TYPE_DATA;\r
 \r
     The fields listed here are *NOT* defined in ProcSubclass specification 0.9. They are introduced to support\r
     } EFI_PROCESSOR_SOCKET_TYPE_DATA;\r
 \r
     The fields listed here are *NOT* defined in ProcSubclass specification 0.9. They are introduced to support\r
-    new processor upgrade (type 4 offset 19h) defined in SmBios 2.6 specification. \r
+    new processor upgrade (type 4 offset 19h) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   5. Guid/DataHubRecords.h\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   5. Guid/DataHubRecords.h\r
     typedef enum {\r
       EfiProcessorHealthy        = 1,\r
       EfiProcessorPerfRestricted = 2,\r
     typedef enum {\r
       EfiProcessorHealthy        = 1,\r
       EfiProcessorPerfRestricted = 2,\r
-      EfiProcessorFuncRestricted = 3 \r
+      EfiProcessorFuncRestricted = 3\r
     } EFI_PROCESSOR_HEALTH_STATUS;\r
 \r
     The structure name "EFI_PROCESSOR_HEALTH_STATUS" is *NOT* consistent with ProcSubclass specification 0.9, in which\r
     } EFI_PROCESSOR_HEALTH_STATUS;\r
 \r
     The structure name "EFI_PROCESSOR_HEALTH_STATUS" is *NOT* consistent with ProcSubclass specification 0.9, in which\r
       ProcessorPartNumberRecordType        = 30,\r
     } EFI_CPU_VARIABLE_RECORD_TYPE;\r
 \r
       ProcessorPartNumberRecordType        = 30,\r
     } EFI_CPU_VARIABLE_RECORD_TYPE;\r
 \r
-    The enumeration fields from ProcessorCoreFrequencyRecordType to ProcessorHealthStatusRecordType are *NOT* defined \r
+    The enumeration fields from ProcessorCoreFrequencyRecordType to ProcessorHealthStatusRecordType are *NOT* defined\r
     in ProcSubclass specification 0.9, which only defines the following macros to specify the record number of the data record:\r
       #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER           0x00000001\r
       #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER       0x00000002\r
     in ProcSubclass specification 0.9, which only defines the following macros to specify the record number of the data record:\r
       #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER           0x00000001\r
       #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER       0x00000002\r
       #define EFI_PROCESSOR_HEALTH_STATUS_RECORD_NUMBER       0x00000018\r
     Keeping this inconsistency for backward compatibility.\r
 \r
       #define EFI_PROCESSOR_HEALTH_STATUS_RECORD_NUMBER       0x00000018\r
     Keeping this inconsistency for backward compatibility.\r
 \r
-    The enumeration fields from ProcessorCoreCountRecordType to ProcessorPartNumberRecordType are *NOT* defined \r
-    in ProcSubclass specification 0.9. \r
+    The enumeration fields from ProcessorCoreCountRecordType to ProcessorPartNumberRecordType are *NOT* defined\r
+    in ProcSubclass specification 0.9.\r
     They are introduced to support new fields for type 4 defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
     They are introduced to support new fields for type 4 defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
       ...\r
       EFI_PROCESSOR_FAMILY2_DATA              ProcessorFamily2;\r
     } EFI_CPU_VARIABLE_RECORD;\r
       ...\r
       EFI_PROCESSOR_FAMILY2_DATA              ProcessorFamily2;\r
     } EFI_CPU_VARIABLE_RECORD;\r
-    \r
+\r
     typedef struct {\r
       EFI_SUBCLASS_TYPE1_HEADER         DataRecordHeader;\r
       EFI_CPU_VARIABLE_RECORD           VariableRecord;\r
     typedef struct {\r
       EFI_SUBCLASS_TYPE1_HEADER         DataRecordHeader;\r
       EFI_CPU_VARIABLE_RECORD           VariableRecord;\r
     } EFI_PROCESSOR_CHARACTERISTICS_DATA;\r
 \r
     The fields listed here are *NOT* defined in ProcSubclass specification 0.9. They are introduced to support\r
     } EFI_PROCESSOR_CHARACTERISTICS_DATA;\r
 \r
     The fields listed here are *NOT* defined in ProcSubclass specification 0.9. They are introduced to support\r
-    new fields for type 4 defined in SmBios 2.6 specification. \r
+    new fields for type 4 defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
 ##\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
 ##\r
       ...\r
       EfiMemoryFormFactorFbDimm                   = 0x0F\r
     } EFI_MEMORY_FORM_FACTOR;\r
       ...\r
       EfiMemoryFormFactorFbDimm                   = 0x0F\r
     } EFI_MEMORY_FORM_FACTOR;\r
-    \r
+\r
     typedef enum _EFI_MEMORY_ARRAY_TYPE {\r
       ...\r
       EfiMemoryTypeDdr2                           = 0x13,\r
       EfiMemoryTypeDdr2FbDimm                     = 0x14\r
     } EFI_MEMORY_ARRAY_TYPE;\r
     typedef enum _EFI_MEMORY_ARRAY_TYPE {\r
       ...\r
       EfiMemoryTypeDdr2                           = 0x13,\r
       EfiMemoryTypeDdr2FbDimm                     = 0x14\r
     } EFI_MEMORY_ARRAY_TYPE;\r
-    \r
+\r
     typedef enum {\r
       ...\r
       EfiMemoryStatePartial      = 6\r
     } EFI_MEMORY_STATE;\r
 \r
     The fields listed above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
     typedef enum {\r
       ...\r
       EfiMemoryStatePartial      = 6\r
     } EFI_MEMORY_STATE;\r
 \r
     The fields listed above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
-    new memory device (type 17) defined in SmBios 2.6 specification. \r
+    new memory device (type 17) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   2. Guid/DataHubRecords.h\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   2. Guid/DataHubRecords.h\r
-    typedef struct { \r
+    typedef struct {\r
       ...\r
       ...\r
-      EFI_EXP_BASE10_DATA      MemorySpeed; \r
+      EFI_EXP_BASE10_DATA      MemorySpeed;\r
       ...\r
     } EFI_MEMORY_ARRAY_LINK_DATA;\r
 \r
       ...\r
     } EFI_MEMORY_ARRAY_LINK_DATA;\r
 \r
   3. Guid/DataHubRecords.h\r
     #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER    0x00000008\r
 \r
   3. Guid/DataHubRecords.h\r
     #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER    0x00000008\r
 \r
-    typedef enum {  \r
+    typedef enum {\r
       EfiErrorDetectingMethodOther   = 1,\r
       EfiErrorDetectingMethodUnknown = 2,\r
       EfiErrorDetectingMethodNone    = 3,\r
       EfiErrorDetectingMethodOther   = 1,\r
       EfiErrorDetectingMethodUnknown = 2,\r
       EfiErrorDetectingMethodNone    = 3,\r
       UINT8                             Reserved              :2;\r
     } EFI_MEMORY_ERROR_CORRECT_CAPABILITY;\r
 \r
       UINT8                             Reserved              :2;\r
     } EFI_MEMORY_ERROR_CORRECT_CAPABILITY;\r
 \r
-    typedef enum {  \r
+    typedef enum {\r
       EfiMemoryInterleaveOther      = 1,\r
       EfiMemoryInterleaveUnknown    = 2,\r
       EfiMemoryInterleaveOneWay     = 3,\r
       EfiMemoryInterleaveOther      = 1,\r
       EfiMemoryInterleaveUnknown    = 2,\r
       EfiMemoryInterleaveOneWay     = 3,\r
     } EFI_MEMORY_CONTROLLER_INFORMATION_DATA;\r
 \r
     The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
     } EFI_MEMORY_CONTROLLER_INFORMATION_DATA;\r
 \r
     The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
-    new memory controller information (type 5) defined in SmBios 2.6 specification. \r
+    new memory controller information (type 5) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   4. Guid/DataHubRecords.h\r
     #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER    0x00000009\r
 \r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   4. Guid/DataHubRecords.h\r
     #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER    0x00000009\r
 \r
-    typedef enum {  \r
+    typedef enum {\r
       EfiMemoryErrorOther             = 1,\r
       EfiMemoryErrorUnknown           = 2,\r
       EfiMemoryErrorOk                = 3,\r
       EfiMemoryErrorOther             = 1,\r
       EfiMemoryErrorUnknown           = 2,\r
       EfiMemoryErrorOk                = 3,\r
       EfiMemoryErrorUnCorrectable     = 14\r
     } EFI_MEMORY_ERROR_TYPE;\r
 \r
       EfiMemoryErrorUnCorrectable     = 14\r
     } EFI_MEMORY_ERROR_TYPE;\r
 \r
-    typedef enum {  \r
+    typedef enum {\r
       EfiMemoryGranularityOther               = 1,\r
       EfiMemoryGranularityOtherUnknown        = 2,\r
       EfiMemoryGranularityDeviceLevel         = 3,\r
       EfiMemoryGranularityMemPartitionLevel   = 4\r
     } EFI_MEMORY_ERROR_GRANULARITY_TYPE;\r
 \r
       EfiMemoryGranularityOther               = 1,\r
       EfiMemoryGranularityOtherUnknown        = 2,\r
       EfiMemoryGranularityDeviceLevel         = 3,\r
       EfiMemoryGranularityMemPartitionLevel   = 4\r
     } EFI_MEMORY_ERROR_GRANULARITY_TYPE;\r
 \r
-    typedef enum {  \r
+    typedef enum {\r
       EfiMemoryErrorOperationOther            = 1,\r
       EfiMemoryErrorOperationUnknown          = 2,\r
       EfiMemoryErrorOperationRead             = 3,\r
       EfiMemoryErrorOperationOther            = 1,\r
       EfiMemoryErrorOperationUnknown          = 2,\r
       EfiMemoryErrorOperationRead             = 3,\r
     } EFI_MEMORY_32BIT_ERROR_INFORMATION;\r
 \r
     The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
     } EFI_MEMORY_32BIT_ERROR_INFORMATION;\r
 \r
     The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
-    new 32-bit memory error information (type 18) defined in SmBios 2.6 specification. \r
+    new 32-bit memory error information (type 18) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   5. Guid/DataHubRecords.h\r
     #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER    0x0000000A\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   5. Guid/DataHubRecords.h\r
     #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER    0x0000000A\r
-    \r
+\r
     typedef struct {\r
       EFI_MEMORY_ERROR_TYPE             MemoryErrorType;\r
       EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity;\r
     typedef struct {\r
       EFI_MEMORY_ERROR_TYPE             MemoryErrorType;\r
       EFI_MEMORY_ERROR_GRANULARITY_TYPE MemoryErrorGranularity;\r
     } EFI_MEMORY_64BIT_ERROR_INFORMATION;\r
 \r
     The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
     } EFI_MEMORY_64BIT_ERROR_INFORMATION;\r
 \r
     The definitions above are *NOT* defined in MemSubclass specification 0.9. They are introduced to support\r
-    new 64-bit memory error information (type 33) defined in SmBios 2.6 specification. \r
+    new 64-bit memory error information (type 33) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   6. Guid/DataHubRecords.h\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   6. Guid/DataHubRecords.h\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } USB_PORT_DEVICE_PATH;\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } USB_PORT_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _IDE_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } IDE_DEVICE_PATH;\r
     typedef struct _IDE_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } IDE_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _RMC_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } RMC_CONN_DEVICE_PATH;\r
     typedef struct _RMC_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } RMC_CONN_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _RIDE_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } RIDE_DEVICE_PATH;\r
     typedef struct _RIDE_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } RIDE_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _GB_NIC_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBridgeDevicePath;\r
     typedef struct _GB_NIC_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciBridgeDevicePath;\r
       PCI_DEVICE_PATH                   PciXBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } GB_NIC_DEVICE_PATH;\r
       PCI_DEVICE_PATH                   PciXBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } GB_NIC_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _PS2_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } PS2_CONN_DEVICE_PATH;\r
     typedef struct _PS2_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } PS2_CONN_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _SERIAL_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } SERIAL_CONN_DEVICE_PATH;\r
     typedef struct _SERIAL_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } SERIAL_CONN_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _PARALLEL_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } PARALLEL_CONN_DEVICE_PATH;\r
     typedef struct _PARALLEL_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } PARALLEL_CONN_DEVICE_PATH;\r
-    \r
+\r
     typedef struct _FLOOPY_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } FLOOPY_CONN_DEVICE_PATH;\r
     typedef struct _FLOOPY_CONN_DEVICE_PATH {\r
       ACPI_HID_DEVICE_PATH              PciRootBridgeDevicePath;\r
       PCI_DEVICE_PATH                   LpcBridgeDevicePath;\r
       ACPI_HID_DEVICE_PATH              LpcBusDevicePath;\r
       EFI_DEVICE_PATH_PROTOCOL          EndDevicePath;\r
     } FLOOPY_CONN_DEVICE_PATH;\r
-    \r
+\r
     typedef union _EFI_MISC_PORT_DEVICE_PATH {\r
       USB_PORT_DEVICE_PATH              UsbDevicePath;\r
       IDE_DEVICE_PATH                   IdeDevicePath;\r
     typedef union _EFI_MISC_PORT_DEVICE_PATH {\r
       USB_PORT_DEVICE_PATH              UsbDevicePath;\r
       IDE_DEVICE_PATH                   IdeDevicePath;\r
     } EFI_MISC_BIOS_VENDOR_DATA;\r
 \r
     The fields listed above are *NOT* defined in MiscSubclass specification 0.9. They are introduced to support\r
     } EFI_MISC_BIOS_VENDOR_DATA;\r
 \r
     The fields listed above are *NOT* defined in MiscSubclass specification 0.9. They are introduced to support\r
-    new bios information (type 0) defined in SmBios 2.6 specification. \r
+    new bios information (type 0) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   4. Guid/DataHubRecords.h\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   4. Guid/DataHubRecords.h\r
     } EFI_MISC_SYSTEM_MANUFACTURER_DATA;\r
 \r
     The fields listed above are *NOT* defined in MiscSubclass specification 0.9. They are introduced to support\r
     } EFI_MISC_SYSTEM_MANUFACTURER_DATA;\r
 \r
     The fields listed above are *NOT* defined in MiscSubclass specification 0.9. They are introduced to support\r
-    new system information (type 1) defined in SmBios 2.6 specification. \r
+    new system information (type 1) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   5. Guid/DataHubRecords.h\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   5. Guid/DataHubRecords.h\r
     } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA;\r
 \r
     a. The field "ManagementDeviceThresholdLink" above is *NOT* defined in MiscSubclass specification 0.9. It is introduced to support\r
     } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA;\r
 \r
     a. The field "ManagementDeviceThresholdLink" above is *NOT* defined in MiscSubclass specification 0.9. It is introduced to support\r
-       new management device component (type 35) defined in SmBios 2.6 specification. \r
+       new management device component (type 35) defined in SmBios 2.6 specification.\r
        Keeping this inconsistency to reflect the latest industry standard.\r
     b. The field "ComponentType" above is *NOT* defined in MiscSubclass specifications 0.9. It's implementation-specific to simplify the code logic.\r
        Keeping this inconsistency for backward compatibility.\r
        Keeping this inconsistency to reflect the latest industry standard.\r
     b. The field "ComponentType" above is *NOT* defined in MiscSubclass specifications 0.9. It's implementation-specific to simplify the code logic.\r
        Keeping this inconsistency for backward compatibility.\r
       ...\r
     } EFI_MISC_ONBOARD_DEVICE_DATA;\r
 \r
       ...\r
     } EFI_MISC_ONBOARD_DEVICE_DATA;\r
 \r
-    The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the field "OnBoardDeviceStatus" is \r
+    The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the field "OnBoardDeviceStatus" is\r
     named as "OnBoardDeviceType". Keeping this inconsistency for backward compatibility.\r
 \r
   9. Guid/DataHubRecords.h\r
     named as "OnBoardDeviceType". Keeping this inconsistency for backward compatibility.\r
 \r
   9. Guid/DataHubRecords.h\r
     "EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER". Keeping this inconsistency for backward compatibility.\r
 \r
   10. Guid/DataHubRecords.h\r
     "EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER". Keeping this inconsistency for backward compatibility.\r
 \r
   10. Guid/DataHubRecords.h\r
-    typedef enum {  \r
+    typedef enum {\r
       EfiPortableBatteryDeviceChemistryOther = 1,\r
       EfiPortableBatteryDeviceChemistryUnknown = 2,\r
       EfiPortableBatteryDeviceChemistryLeadAcid = 3,\r
       EfiPortableBatteryDeviceChemistryOther = 1,\r
       EfiPortableBatteryDeviceChemistryUnknown = 2,\r
       EfiPortableBatteryDeviceChemistryLeadAcid = 3,\r
     } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY;\r
 \r
     The name of the definition is *NOT* consistent with MiscSubclass specification, in which it is defined as\r
     } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY;\r
 \r
     The name of the definition is *NOT* consistent with MiscSubclass specification, in which it is defined as\r
-    "EFI_MISC_BATTERY_DEVICE_CHEMISTRY". And all field names have a redundant "Portable" string compared with MisSubclass \r
+    "EFI_MISC_BATTERY_DEVICE_CHEMISTRY". And all field names have a redundant "Portable" string compared with MisSubclass\r
     specification 0.9.\r
     Keeping this inconsistency for backward compatibility.\r
 \r
     specification 0.9.\r
     Keeping this inconsistency for backward compatibility.\r
 \r
     } EFI_MISC_PORTABLE_BATTERY;\r
 \r
     The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the structure name is defined as\r
     } EFI_MISC_PORTABLE_BATTERY;\r
 \r
     The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the structure name is defined as\r
-    "EFI_MISC_BATTERY_LOCATION_DATA". Moreover, the name and the order of all fields are also different with MiscSubclass \r
+    "EFI_MISC_BATTERY_LOCATION_DATA". Moreover, the name and the order of all fields are also different with MiscSubclass\r
     specification 0.9. Keeping this inconsistency for backward compatibility.\r
 \r
   12. Guid/DataHubRecords.h\r
     specification 0.9. Keeping this inconsistency for backward compatibility.\r
 \r
   12. Guid/DataHubRecords.h\r
       ...\r
     } EFI_MISC_BOOT_INFORMATION_STATUS_DATA;\r
 \r
       ...\r
     } EFI_MISC_BOOT_INFORMATION_STATUS_DATA;\r
 \r
-    The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the type of the first field is \r
+    The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the type of the first field is\r
     "EFI_MISC_BOOT_INFORMATION_STATUS_TYPE". Keeping this inconsistency for backward compatibility.\r
 \r
   14. Guid/DataHubRecords.h\r
     "EFI_MISC_BOOT_INFORMATION_STATUS_TYPE". Keeping this inconsistency for backward compatibility.\r
 \r
   14. Guid/DataHubRecords.h\r
       ...\r
     } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA;\r
 \r
       ...\r
     } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA;\r
 \r
-    The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the type of the first field is \r
+    The definition is *NOT* consistent with MiscSubclass specification 0.9, in which the type of the first field is\r
     "EFI_SMBIOS_STRUCTURE_HDR". Keeping this inconsistency for backward compatibility.\r
 \r
   17. Guid/DataHubRecords.h\r
     "EFI_SMBIOS_STRUCTURE_HDR". Keeping this inconsistency for backward compatibility.\r
 \r
   17. Guid/DataHubRecords.h\r
     #define ACCESS_GPNV                           0x04\r
 \r
     The definitions listed above are *NOT* defined in MiscSubclass specification 0.9. It is introduced to support\r
     #define ACCESS_GPNV                           0x04\r
 \r
     The definitions listed above are *NOT* defined in MiscSubclass specification 0.9. It is introduced to support\r
-    new system event log (type 15) defined in SmBios 2.6 specification. \r
+    new system event log (type 15) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   19. Guid/DataHubRecords.h\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   19. Guid/DataHubRecords.h\r
     } EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD;\r
 \r
     The definitions listed above are *NOT* defined in MiscSubclass specification 0.9. It is introduced to support\r
     } EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD;\r
 \r
     The definitions listed above are *NOT* defined in MiscSubclass specification 0.9. It is introduced to support\r
-    new management device threshold data (type 36) defined in SmBios 2.6 specification. \r
+    new management device threshold data (type 36) defined in SmBios 2.6 specification.\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   20. Guid/DataHubRecords.h\r
     Keeping this inconsistency to reflect the latest industry standard.\r
 \r
   20. Guid/DataHubRecords.h\r
       UINT32                            CoolingDeviceOemDefined;\r
     } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA;\r
 \r
       UINT32                            CoolingDeviceOemDefined;\r
     } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA;\r
 \r
-    The "CoolingDeviceUnitGroup" field and "CoolingDeviceNominalSpeed" field are *NOT* consistent with \r
+    The "CoolingDeviceUnitGroup" field and "CoolingDeviceNominalSpeed" field are *NOT* consistent with\r
     MiscSubclass specification 0.9. These fields are aligned with SMBIOS 2.6 specification. And user can easily\r
     assign any value to CoolingDeviceNominalSpeed.\r
 \r
     MiscSubclass specification 0.9. These fields are aligned with SMBIOS 2.6 specification. And user can easily\r
     assign any value to CoolingDeviceNominalSpeed.\r
 \r
     #define EFI_SW_EC_X64_SIMD              EXCEPT_X64_SIMD\r
 \r
     The definitions are *NOT* defined in Framework StatusCodes specification 0.92, in which IA32 and IPF exception subclass error code definitions\r
     #define EFI_SW_EC_X64_SIMD              EXCEPT_X64_SIMD\r
 \r
     The definitions are *NOT* defined in Framework StatusCodes specification 0.92, in which IA32 and IPF exception subclass error code definitions\r
-    are defined but omit the corresponding definitions for X64. EdkII introduce these definitions for implementation. \r
+    are defined but omit the corresponding definitions for X64. EdkII introduce these definitions for implementation.\r
 \r
 ##\r
 # Mismatch with Intel Platform Innovation Framework for EFI Boot Script Specification (Version 0.91)\r
 \r
 ##\r
 # Mismatch with Intel Platform Innovation Framework for EFI Boot Script Specification (Version 0.91)\r
     Keeping this inconsistency for backward compatibility.\r
 \r
   5. Include/Protocol/BootScriptSave.h\r
     Keeping this inconsistency for backward compatibility.\r
 \r
   5. Include/Protocol/BootScriptSave.h\r
-    typedef  \r
-    EFI_STATUS  \r
+    typedef\r
+    EFI_STATUS\r
     (EFIAPI *EFI_BOOT_SCRIPT_CLOSE_TABLE) (\r
       IN  EFI_BOOT_SCRIPT_SAVE_PROTOCOL            *This,\r
       ...\r
     (EFIAPI *EFI_BOOT_SCRIPT_CLOSE_TABLE) (\r
       IN  EFI_BOOT_SCRIPT_SAVE_PROTOCOL            *This,\r
       ...\r
 ##\r
   1. Include/Framework/DxeCis.h\r
     EFI_STATUS_CODE_ARCH_PROTOCOL is removed.\r
 ##\r
   1. Include/Framework/DxeCis.h\r
     EFI_STATUS_CODE_ARCH_PROTOCOL is removed.\r
-    \r
+\r
     EdkII doesn't provide EFI_STATUS_CODE_ARCH_PROTOCOL definition due to ReportStatusCode() field has been\r
     removed from EFI Runtime Service Table of PI specification. EFI_STATUS_CODE_ARCH_PROTOCOL is *NOT* required,\r
     and is replaced with EFI_STATUS_CODE_RUNTIME_PROTOCOL.\r
     EdkII doesn't provide EFI_STATUS_CODE_ARCH_PROTOCOL definition due to ReportStatusCode() field has been\r
     removed from EFI Runtime Service Table of PI specification. EFI_STATUS_CODE_ARCH_PROTOCOL is *NOT* required,\r
     and is replaced with EFI_STATUS_CODE_RUNTIME_PROTOCOL.\r
       }\r
 \r
     The Framework HII specification 0.92 changed part of HII interfaces but did not update the protocol GUID.\r
       }\r
 \r
     The Framework HII specification 0.92 changed part of HII interfaces but did not update the protocol GUID.\r
-    This change should cause a change of GUID in both of code and HII spec. EdkII updates the GUID in code, \r
+    This change should cause a change of GUID in both of code and HII spec. EdkII updates the GUID in code,\r
     but the Framework HII specification 0.92 is not updated. This is a known issue.\r
 \r
   2. Include/Protocol/FrameworkHii.h\r
     but the Framework HII specification 0.92 is not updated. This is a known issue.\r
 \r
   2. Include/Protocol/FrameworkHii.h\r
       ...\r
     };\r
 \r
       ...\r
     };\r
 \r
-    The field listed above is *NOT* defined in Framework HII specification 0.92. EdkII adds this field to provide \r
-    an ability of removing any new strings that were added after the initial string export for this handle.  \r
+    The field listed above is *NOT* defined in Framework HII specification 0.92. EdkII adds this field to provide\r
+    an ability of removing any new strings that were added after the initial string export for this handle.\r
 \r
   5. Include/Protocol/FrameworkHii.h\r
     typedef\r
 \r
   5. Include/Protocol/FrameworkHii.h\r
     typedef\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT8                             Flags;\r
     } EFI_IFR_SUPPRESS;\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT8                             Flags;\r
     } EFI_IFR_SUPPRESS;\r
-    \r
+\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT8                             Flags;\r
     } EFI_IFR_GRAY_OUT;\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT8                             Flags;\r
     } EFI_IFR_GRAY_OUT;\r
-    \r
+\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       STRING_REF                        Popup;\r
       UINT8                             Flags;\r
     } EFI_IFR_INCONSISTENT;\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       STRING_REF                        Popup;\r
       UINT8                             Flags;\r
     } EFI_IFR_INCONSISTENT;\r
-    \r
+\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            QuestionId;\r
       UINT8                             Width;\r
       UINT16                            Value;\r
     } FRAMEWORK_EFI_IFR_EQ_ID_VAL;\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            QuestionId;\r
       UINT8                             Width;\r
       UINT16                            Value;\r
     } FRAMEWORK_EFI_IFR_EQ_ID_VAL;\r
-    \r
+\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            QuestionId;\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            QuestionId;\r
       UINT16                            ListLength;\r
       UINT16                            ValueList[1];\r
     } FRAMEWORK_EFI_IFR_EQ_ID_LIST;\r
       UINT16                            ListLength;\r
       UINT16                            ValueList[1];\r
     } FRAMEWORK_EFI_IFR_EQ_ID_LIST;\r
-    \r
+\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            QuestionId1;\r
       UINT8                             Width;\r
       UINT16                            QuestionId2;\r
     } FRAMEWORK_EFI_IFR_EQ_ID_ID;\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            QuestionId1;\r
       UINT8                             Width;\r
       UINT16                            QuestionId2;\r
     } FRAMEWORK_EFI_IFR_EQ_ID_ID;\r
-    \r
+\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            VariableId;\r
     typedef struct {\r
       FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
       UINT16                            VariableId;\r
     The defintions are not complied with Framework HII spec 0.92. Keeping the inconsistent for implementation needed.\r
 \r
   7. Include/Protocol/FrameworkFormCallback.h\r
     The defintions are not complied with Framework HII spec 0.92. Keeping the inconsistent for implementation needed.\r
 \r
   7. Include/Protocol/FrameworkFormCallback.h\r
-    #define RESET_REQUIRED  1 \r
+    #define RESET_REQUIRED  1\r
     #define EXIT_REQUIRED   2\r
     #define SAVE_REQUIRED   4\r
     #define NV_CHANGED      8\r
     #define EXIT_REQUIRED   2\r
     #define SAVE_REQUIRED   4\r
     #define NV_CHANGED      8\r
       ...\r
     } EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;\r
 \r
       ...\r
     } EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;\r
 \r
-    1) The name of the definition is *NOT* consistent with Framework SmmCis specification 0.91, in which it's \r
-    defined as "EFI_HOB_SMRAM_DESCRIPTOR_BLOCK" rather than "EFI_SMRAM_HOB_DESCRIPTOR_BLOCK". \r
+    1) The name of the definition is *NOT* consistent with Framework SmmCis specification 0.91, in which it's\r
+    defined as "EFI_HOB_SMRAM_DESCRIPTOR_BLOCK" rather than "EFI_SMRAM_HOB_DESCRIPTOR_BLOCK".\r
     Keeping this inconsistency for backward compatibility.\r
 \r
     2) The definition of NumberOfSmmReservedRegions is *NOT* consistent with Framework SmmCis specification 0.91,\r
     Keeping this inconsistency for backward compatibility.\r
 \r
     2) The definition of NumberOfSmmReservedRegions is *NOT* consistent with Framework SmmCis specification 0.91,\r
   3. Include/Framework/SmmCis.h\r
     typedef union {\r
       ///\r
   3. Include/Framework/SmmCis.h\r
     typedef union {\r
       ///\r
-      /// The processor save-state information for IA-32 processors. \r
+      /// The processor save-state information for IA-32 processors.\r
       ///\r
       EFI_SMI_CPU_SAVE_STATE     Ia32SaveState;\r
       ///\r
       ///\r
       EFI_SMI_CPU_SAVE_STATE     Ia32SaveState;\r
       ///\r
     EFI_STATUS\r
     (EFIAPI *EFI_ACPI_S3_SAVE) (\r
       IN EFI_ACPI_S3_SAVE_PROTOCOL      *This,\r
     EFI_STATUS\r
     (EFIAPI *EFI_ACPI_S3_SAVE) (\r
       IN EFI_ACPI_S3_SAVE_PROTOCOL      *This,\r
-      IN VOID                           *LegacyMemoryAddress \r
+      IN VOID                           *LegacyMemoryAddress\r
       );\r
 \r
     The first parameter's type is *NOT* consistent with Framework S3Resume specification, in which it's defined as\r
       );\r
 \r
     The first parameter's type is *NOT* consistent with Framework S3Resume specification, in which it's defined as\r
index 9a16d722eea93fd5e7eefb3d0fcdb654d1e1d797..a60baee4f9dc9ef50de0f780b89aa542ee8386aa 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
 /** @file\r
-  This file contains the boot script defintions that are shared between the \r
+  This file contains the boot script defintions that are shared between the\r
   Boot Script Executor PPI and the Boot Script Save Protocol.\r
 \r
   Boot Script Executor PPI and the Boot Script Save Protocol.\r
 \r
-Copyright (c) 2009 - 2010, 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
+Copyright (c) 2009 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -18,14 +18,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <PiDxe.h>\r
 ///\r
 \r
 #include <PiDxe.h>\r
 ///\r
-/// The framework implementation defines follow opcode that are different from the PI specification: \r
+/// The framework implementation defines follow opcode that are different from the PI specification:\r
 /// Add FRAMEWORK_ prefix to avoid naming conflict.\r
 ///\r
 /// S3 Boot Script Table identifier.\r
 ///\r
 #define FRAMEWORK_EFI_ACPI_S3_RESUME_SCRIPT_TABLE               0x00\r
 ///\r
 /// Add FRAMEWORK_ prefix to avoid naming conflict.\r
 ///\r
 /// S3 Boot Script Table identifier.\r
 ///\r
 #define FRAMEWORK_EFI_ACPI_S3_RESUME_SCRIPT_TABLE               0x00\r
 ///\r
-/// The opcode is used to add a record for memory reads of the memory location and continues when the \r
+/// The opcode is used to add a record for memory reads of the memory location and continues when the\r
 /// exit criteria is satisfied, or after a defined duration.\r
 ///\r
 #define FRAMEWORK_EFI_BOOT_SCRIPT_MEM_POLL_OPCODE               0x09\r
 /// exit criteria is satisfied, or after a defined duration.\r
 ///\r
 #define FRAMEWORK_EFI_BOOT_SCRIPT_MEM_POLL_OPCODE               0x09\r
index 0f1b737ac18c2c9f9e09d1a7c719a6fe3b0419d1..8cb905e3a3a27b7c01548915114b438fd2c031d8 100644 (file)
@@ -2,13 +2,13 @@
   Include file for definitions in the Intel Platform Innovation Framework for EFI\r
   Driver Execution Environment Core Interface Specification (DXE CIS) Version 0.91.\r
 \r
   Include file for definitions in the Intel Platform Innovation Framework for EFI\r
   Driver Execution Environment Core Interface Specification (DXE CIS) Version 0.91.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -20,9 +20,9 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 /**\r
   Functions of this type are used with the Framework MP Services Protocol and\r
 \r
 /**\r
   Functions of this type are used with the Framework MP Services Protocol and\r
-  the  SMM Services Table to execute a procedure on enabled APs.  The context \r
+  the  SMM Services Table to execute a procedure on enabled APs.  The context\r
   the AP should use durng execution is specified by Buffer.\r
   the AP should use durng execution is specified by Buffer.\r
-  \r
+\r
   @param[in]  Buffer   The pointer to the procedure's argument.\r
 \r
 **/\r
   @param[in]  Buffer   The pointer to the procedure's argument.\r
 \r
 **/\r
index 7b471f1c7506427be850ccb9cef2c348710a1509..4eeae58c62e56aff1062470a834dc15543ab5ae7 100644 (file)
@@ -3,13 +3,13 @@
   all firmware volumes that are either memory mapped or have an\r
   associated FirmwareVolumeBlock protocol.\r
 \r
   all firmware volumes that are either memory mapped or have an\r
   associated FirmwareVolumeBlock protocol.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index 81a9045e6f7fa3384cbc5f54e108ae323094beeb..810853aca2a72d6a8fe629b7a0c84a97422b0324 100644 (file)
@@ -3,14 +3,14 @@
   images loaded via the FirmwareVolume protocol.  The Firmware Volume specification\r
   is the basis for these definitions.\r
 \r
   images loaded via the FirmwareVolume protocol.  The Firmware Volume specification\r
   is the basis for these definitions.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
   @par Revision Reference:\r
   These definitions are from the Firmware Volume Spec 0.9.\r
 \r
   @par Revision Reference:\r
   These definitions are from the Firmware Volume Spec 0.9.\r
index 61d020ec37d4351e98e43bcf784448d0805ee2fa..722b09a6d0fa943849cfefd41e74562885ba326f 100644 (file)
@@ -3,14 +3,14 @@
   Framework IFR is primarily consumed by the EFI presentation engine, and produced by EFI\r
   internal application and drivers as well as all add-in card option-ROM drivers\r
 \r
   Framework IFR is primarily consumed by the EFI presentation engine, and produced by EFI\r
   internal application and drivers as well as all add-in card option-ROM drivers\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
   @par Revision Reference:\r
   These definitions are from the Framework Specification HII 0.92.\r
 \r
   @par Revision Reference:\r
   These definitions are from the Framework Specification HII 0.92.\r
@@ -222,8 +222,8 @@ typedef struct {
 \r
 //\r
 // There is an interesting twist with regards to Time and Date.  This is one of the few items which can accept input\r
 \r
 //\r
 // There is an interesting twist with regards to Time and Date.  This is one of the few items which can accept input\r
-// from a user, and may or may not need to use storage in the NVRAM space.  The decided method for determining \r
-// if NVRAM space will be used (only for a TimeOp or DateOp) is:  If .QuestionId == 0 && .Width == 0 (normally an \r
+// from a user, and may or may not need to use storage in the NVRAM space.  The decided method for determining\r
+// if NVRAM space will be used (only for a TimeOp or DateOp) is:  If .QuestionId == 0 && .Width == 0 (normally an\r
 // impossibility) then use system resources to store the data away and not NV resources.  In other words, the setup\r
 // engine will call gRT->SetTime, and gRT->SetDate for the saving of data, and the values displayed will be from the\r
 // gRT->GetXXXX series of calls.\r
 // impossibility) then use system resources to store the data away and not NV resources.  In other words, the setup\r
 // engine will call gRT->SetTime, and gRT->SetDate for the saving of data, and the values displayed will be from the\r
 // gRT->GetXXXX series of calls.\r
@@ -256,7 +256,7 @@ typedef struct {
 typedef struct {\r
   FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
   UINT16                            QuestionId; ///< The ID designating what the question is about...\r
 typedef struct {\r
   FRAMEWORK_EFI_IFR_OP_HEADER       Header;\r
   UINT16                            QuestionId; ///< The ID designating what the question is about...\r
-  UINT8                             Width;      ///< The Size of the Data being saved. \r
+  UINT8                             Width;      ///< The Size of the Data being saved.\r
   STRING_REF                        Prompt;     ///< The String Token for the Prompt.\r
   STRING_REF                        Help;       ///< The string Token for the context-help.\r
   UINT8                             Flags;      ///< This is included solely for purposes of interactive/dynamic support.\r
   STRING_REF                        Prompt;     ///< The String Token for the Prompt.\r
   STRING_REF                        Help;       ///< The string Token for the context-help.\r
   UINT8                             Flags;      ///< This is included solely for purposes of interactive/dynamic support.\r
@@ -277,7 +277,7 @@ typedef struct {
 \r
 ///\r
 /// Inconsistent with specification here:\r
 \r
 ///\r
 /// Inconsistent with specification here:\r
-/// The following defintion may not comply with Framework Specification HII 0.92. To \r
+/// The following defintion may not comply with Framework Specification HII 0.92. To\r
 /// keep the inconsistant is for implementation needed.\r
 ///@{\r
 typedef struct {\r
 /// keep the inconsistant is for implementation needed.\r
 ///@{\r
 typedef struct {\r
index 070a23d19282680ff49c4b0bf8ffa7700ea34c2f..40c10ca7373aeb1570018cd71ca7346d31d969ec 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   This file defines the data structures per HOB specification v0.9.\r
 \r
 /** @file\r
   This file defines the data structures per HOB specification v0.9.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -21,7 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 ///\r
 /// Capsule volume HOB -- identical to a firmware volume.\r
 /// This macro is defined to comply with the hob Framework Spec. And the marco was\r
 ///\r
 /// Capsule volume HOB -- identical to a firmware volume.\r
 /// This macro is defined to comply with the hob Framework Spec. And the marco was\r
-/// retired in the PI1.0 specification.  \r
+/// retired in the PI1.0 specification.\r
 ///\r
 #define EFI_HOB_TYPE_CV           0x0008\r
 \r
 ///\r
 #define EFI_HOB_TYPE_CV           0x0008\r
 \r
index d823339eee9db16d4b9235a0706360fbebb7adc3..b41819cf09a824e6a175b23dc7ea1feb638705c4 100644 (file)
@@ -2,14 +2,14 @@
   The Include file for definitions in the Intel Platform Innovation Framework for EFI\r
   Pre-EFI Initialization Core Interface Specification (PEI CIS) Version 0.91.\r
 \r
   The Include file for definitions in the Intel Platform Innovation Framework for EFI\r
   Pre-EFI Initialization Core Interface Specification (PEI CIS) Version 0.91.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
 \r
 **/\r
 \r
@@ -35,8 +35,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 typedef struct _FRAMEWORK_EFI_PEI_SERVICES FRAMEWORK_EFI_PEI_SERVICES;\r
 \r
 /**\r
 typedef struct _FRAMEWORK_EFI_PEI_SERVICES FRAMEWORK_EFI_PEI_SERVICES;\r
 \r
 /**\r
-  The PEI Dispatcher will invoke each PEIM one time.  During this pass, the PEI \r
-  Dispatcher will pass control to the PEIM at the AddressOfEntryPoint in the PE Header. \r
+  The PEI Dispatcher will invoke each PEIM one time.  During this pass, the PEI\r
+  Dispatcher will pass control to the PEIM at the AddressOfEntryPoint in the PE Header.\r
 \r
   @param  FfsHeader        The pointer to the FFS file header.\r
   @param  PeiServices      Describes the list of possible PEI Services.\r
 \r
   @param  FfsHeader        The pointer to the FFS file header.\r
   @param  PeiServices      Describes the list of possible PEI Services.\r
@@ -50,11 +50,11 @@ EFI_STATUS
   IN EFI_FFS_FILE_HEADER            *FfsHeader,\r
   IN EFI_PEI_SERVICES               **PeiServices\r
   );\r
   IN EFI_FFS_FILE_HEADER            *FfsHeader,\r
   IN EFI_PEI_SERVICES               **PeiServices\r
   );\r
-  \r
+\r
 /**\r
 /**\r
-  This service abstracts the capability of the PEI \r
-  Foundation to discover instances of firmware volumes in the system. \r
-  Given the input file pointer, this service searches for the next \r
+  This service abstracts the capability of the PEI\r
+  Foundation to discover instances of firmware volumes in the system.\r
+  Given the input file pointer, this service searches for the next\r
   matching file in the Firmware File System (FFS) volume.\r
 \r
   @param  PeiServices      An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
   matching file in the Firmware File System (FFS) volume.\r
 \r
   @param  PeiServices      An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
@@ -73,18 +73,18 @@ EFI_STATUS
   IN UINTN                          Instance,\r
   IN OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader\r
   );\r
   IN UINTN                          Instance,\r
   IN OUT EFI_FIRMWARE_VOLUME_HEADER **FwVolHeader\r
   );\r
-    \r
+\r
 /**\r
 /**\r
-  This service abstracts the capability of the PEI \r
-  Foundation to discover instances of firmware files in the system. \r
-  Given the input file pointer, this service searches for the next matching \r
+  This service abstracts the capability of the PEI\r
+  Foundation to discover instances of firmware files in the system.\r
+  Given the input file pointer, this service searches for the next matching\r
   file in the Firmware File System (FFS) volume.\r
 \r
   @param  PeiServices      An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
   @param  SearchType       A filter to find files only of this type.\r
   file in the Firmware File System (FFS) volume.\r
 \r
   @param  PeiServices      An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
   @param  SearchType       A filter to find files only of this type.\r
-  @param  FwVolHeader      The pointer to the firmware volume header of the volume to search. This parameter \r
+  @param  FwVolHeader      The pointer to the firmware volume header of the volume to search. This parameter\r
                            must point to a valid FFS volume.\r
                            must point to a valid FFS volume.\r
-  @param  FileHeader       The pointer to the current file from which to begin searching. Upon return this pointer will be \r
+  @param  FileHeader       The pointer to the current file from which to begin searching. Upon return this pointer will be\r
                            updated to reflect the file found.\r
 \r
   @retval EFI_SUCCESS      The file was found.\r
                            updated to reflect the file found.\r
 \r
   @retval EFI_SUCCESS      The file was found.\r
@@ -102,8 +102,8 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Given the input file pointer, this service searches for the next \r
-  matching file in the Firmware File System (FFS) volume. \r
+  Given the input file pointer, this service searches for the next\r
+  matching file in the Firmware File System (FFS) volume.\r
 \r
   @param  PeiServices      An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
   @param  SectionType      The value of the section type to find.\r
 \r
   @param  PeiServices      An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation.\r
   @param  SectionType      The value of the section type to find.\r
@@ -125,16 +125,16 @@ EFI_STATUS
 \r
 ///\r
 ///  FRAMEWORK_EFI_PEI_SERVICES is a collection of functions whose implementation is provided by the PEI\r
 \r
 ///\r
 ///  FRAMEWORK_EFI_PEI_SERVICES is a collection of functions whose implementation is provided by the PEI\r
-///  Foundation. The table may be located in the temporary or permanent memory, depending upon the capabilities \r
+///  Foundation. The table may be located in the temporary or permanent memory, depending upon the capabilities\r
 ///  and phase of execution of PEI.\r
 ///  and phase of execution of PEI.\r
-///  \r
+///\r
 ///  These services fall into various classes, including the following:\r
 ///  - Managing the boot mode.\r
 ///  - Allocating both early and permanent memory.\r
 ///  - Supporting the Firmware File System (FFS).\r
 ///  - Abstracting the PPI database abstraction.\r
 ///  - Creating Hand-Off Blocks (HOBs).\r
 ///  These services fall into various classes, including the following:\r
 ///  - Managing the boot mode.\r
 ///  - Allocating both early and permanent memory.\r
 ///  - Supporting the Firmware File System (FFS).\r
 ///  - Abstracting the PPI database abstraction.\r
 ///  - Creating Hand-Off Blocks (HOBs).\r
-///        \r
+///\r
 struct _FRAMEWORK_EFI_PEI_SERVICES {\r
   EFI_TABLE_HEADER                  Hdr;\r
   //\r
 struct _FRAMEWORK_EFI_PEI_SERVICES {\r
   EFI_TABLE_HEADER                  Hdr;\r
   //\r
@@ -178,10 +178,10 @@ struct _FRAMEWORK_EFI_PEI_SERVICES {
   //\r
   EFI_PEI_RESET_SYSTEM              ResetSystem;\r
   ///\r
   //\r
   EFI_PEI_RESET_SYSTEM              ResetSystem;\r
   ///\r
-  /// Inconsistent with specification here: \r
-  /// In Framework Spec, PeiCis0.91, CpuIo and PciCfg are NOT pointers. \r
+  /// Inconsistent with specification here:\r
+  /// In Framework Spec, PeiCis0.91, CpuIo and PciCfg are NOT pointers.\r
   ///\r
   ///\r
-  \r
+\r
   //\r
   // I/O Abstractions\r
   //\r
   //\r
   // I/O Abstractions\r
   //\r
@@ -193,19 +193,19 @@ struct _FRAMEWORK_EFI_PEI_SERVICES {
 ///\r
 typedef enum {\r
   ///\r
 ///\r
 typedef enum {\r
   ///\r
-  /// Used to induce a system-wide reset. This sets all circuitry within the \r
+  /// Used to induce a system-wide reset. This sets all circuitry within the\r
   /// system to its initial state.  This type of reset is asynchronous to system\r
   /// system to its initial state.  This type of reset is asynchronous to system\r
-  /// operation and operates withgout regard to cycle boundaries.  EfiColdReset \r
+  /// operation and operates withgout regard to cycle boundaries.  EfiColdReset\r
   /// is tantamount to a system power cycle.\r
   ///\r
   EfiPeiResetCold,\r
   ///\r
   /// Used to induce a system-wide initialization. The processors are set to their\r
   /// is tantamount to a system power cycle.\r
   ///\r
   EfiPeiResetCold,\r
   ///\r
   /// Used to induce a system-wide initialization. The processors are set to their\r
-  /// initial state, and pending cycles are not corrupted.  If the system does \r
+  /// initial state, and pending cycles are not corrupted.  If the system does\r
   /// not support this reset type, then an EfiResetCold must be performed.\r
   ///\r
   EfiPeiResetWarm,\r
 } EFI_PEI_RESET_TYPE;\r
 \r
   /// not support this reset type, then an EfiResetCold must be performed.\r
   ///\r
   EfiPeiResetWarm,\r
 } EFI_PEI_RESET_TYPE;\r
 \r
-#endif  \r
+#endif\r
 \r
 \r
index 7aefd5b41d07c4625582b3d1d676bc84cd765b16..6b47334aa19cc7fdf7b3e2eb8986d33dff972631 100644 (file)
@@ -2,13 +2,13 @@
   Include file for definitions in the Intel Platform Innovation Framework for EFI\r
   System Management Mode Core Interface Specification (SMM CIS) version 0.91.\r
 \r
   Include file for definitions in the Intel Platform Innovation Framework for EFI\r
   System Management Mode Core Interface Specification (SMM CIS) version 0.91.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -33,17 +33,17 @@ typedef struct _EFI_SMM_SYSTEM_TABLE      EFI_SMM_SYSTEM_TABLE;
   Allocates pool memory from SMRAM for IA-32, or runtime memory for\r
   the Itanium processor family.\r
 \r
   Allocates pool memory from SMRAM for IA-32, or runtime memory for\r
   the Itanium processor family.\r
 \r
-  @param  PoolType         The type of pool to allocate. The only supported type \r
+  @param  PoolType         The type of pool to allocate. The only supported type\r
                            is EfiRuntimeServicesData.\r
   @param  Size             The number of bytes to allocate from the pool.\r
                            is EfiRuntimeServicesData.\r
   @param  Size             The number of bytes to allocate from the pool.\r
-  @param  Buffer           A pointer to a pointer to the allocated buffer if the \r
+  @param  Buffer           A pointer to a pointer to the allocated buffer if the\r
                            call succeeds.  Otherwise, undefined.\r
 \r
   @retval EFI_SUCCESS           The requested number of bytes was allocated.\r
   @retval EFI_OUT_OF_RESOURCES  The pool requested could not be allocated.\r
   @retval EFI_UNSUPPORTED       In runtime.\r
   @note  Inconsistent with specification here:\r
                            call succeeds.  Otherwise, undefined.\r
 \r
   @retval EFI_SUCCESS           The requested number of bytes was allocated.\r
   @retval EFI_OUT_OF_RESOURCES  The pool requested could not be allocated.\r
   @retval EFI_UNSUPPORTED       In runtime.\r
   @note  Inconsistent with specification here:\r
-         In Framework Spec, this definition is named EFI_SMM_ALLOCATE_POOL.  \r
+         In Framework Spec, this definition is named EFI_SMM_ALLOCATE_POOL.\r
          To avoid a naming conflict, the definition is renamed.\r
 **/\r
 typedef\r
          To avoid a naming conflict, the definition is renamed.\r
 **/\r
 typedef\r
@@ -63,8 +63,8 @@ EFI_STATUS
   @retval EFI_INVALID_PARAMETER Buffer was invalid.\r
   @retval EFI_UNSUPPORTED       In runtime.\r
   @note  Inconsistent with specification here:\r
   @retval EFI_INVALID_PARAMETER Buffer was invalid.\r
   @retval EFI_UNSUPPORTED       In runtime.\r
   @note  Inconsistent with specification here:\r
-         In Framework Spec, this definition is named EFI_SMM_FREE_POOL.  \r
-         To avoid a naming conflict, the definition is renamed. \r
+         In Framework Spec, this definition is named EFI_SMM_FREE_POOL.\r
+         To avoid a naming conflict, the definition is renamed.\r
 **/\r
 typedef\r
 EFI_STATUS\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -88,7 +88,7 @@ EFI_STATUS
   @retval EFI_INVALID_PARAMETER Type is not AllocateAnyPages or AllocateMaxAddress\r
                                 or AllocateAddress. Or, MemoryType is in the range EfiMaxMemoryType..0x7FFFFFFF.\r
   @note  Inconsistent with specification here:\r
   @retval EFI_INVALID_PARAMETER Type is not AllocateAnyPages or AllocateMaxAddress\r
                                 or AllocateAddress. Or, MemoryType is in the range EfiMaxMemoryType..0x7FFFFFFF.\r
   @note  Inconsistent with specification here:\r
-         In the Framework Spec, this definition is named EFI_SMM_ALLOCATE_PAGES.  \r
+         In the Framework Spec, this definition is named EFI_SMM_ALLOCATE_PAGES.\r
          To avoid a naming conflict, the definition here is renamed.\r
 **/\r
 typedef\r
          To avoid a naming conflict, the definition here is renamed.\r
 **/\r
 typedef\r
@@ -109,9 +109,9 @@ EFI_STATUS
   @retval EFI_SUCCESS           The requested memory pages were freed.\r
   @retval EFI_INVALID_PARAMETER Memory is not a page-aligned address or NumberOfPages is invalid.\r
   @retval EFI_NOT_FOUND         The requested memory pages were not allocated with SmmAllocatePages().\r
   @retval EFI_SUCCESS           The requested memory pages were freed.\r
   @retval EFI_INVALID_PARAMETER Memory is not a page-aligned address or NumberOfPages is invalid.\r
   @retval EFI_NOT_FOUND         The requested memory pages were not allocated with SmmAllocatePages().\r
-  \r
+\r
   @note  Inconsistent with specification here:\r
   @note  Inconsistent with specification here:\r
-         In the Framework Spec, this definition is named EFI_SMM_FREE_PAGES.  \r
+         In the Framework Spec, this definition is named EFI_SMM_FREE_PAGES.\r
          To avoid a naming conflict, the definition here is renamed.\r
 **/\r
 typedef\r
          To avoid a naming conflict, the definition here is renamed.\r
 **/\r
 typedef\r
@@ -155,7 +155,7 @@ typedef struct {
   UINT8                 Reserved2[164];\r
 \r
   //\r
   UINT8                 Reserved2[164];\r
 \r
   //\r
-  // Registers in IA-32 processors. \r
+  // Registers in IA-32 processors.\r
   //\r
   UINT32                ES;\r
   UINT32                CS;\r
   //\r
   UINT32                ES;\r
   UINT32                CS;\r
@@ -185,7 +185,7 @@ typedef struct {
 /// The processor save-state information for the Itanium processor family. This information is\r
 /// important in that the SMM drivers may need to ascertain the state of the processor before invoking\r
 /// the PMI. This structure is mandatory and must be 512 byte aligned.\r
 /// The processor save-state information for the Itanium processor family. This information is\r
 /// important in that the SMM drivers may need to ascertain the state of the processor before invoking\r
 /// the PMI. This structure is mandatory and must be 512 byte aligned.\r
-/// \r
+///\r
 typedef struct {\r
   UINT64   reserved;\r
   UINT64   r1;\r
 typedef struct {\r
   UINT64   reserved;\r
   UINT64   r1;\r
@@ -303,7 +303,7 @@ typedef struct {
 ///\r
 typedef union {\r
   ///\r
 ///\r
 typedef union {\r
   ///\r
-  /// The processor save-state information for IA-32 processors. \r
+  /// The processor save-state information for IA-32 processors.\r
   ///\r
   EFI_SMI_CPU_SAVE_STATE     Ia32SaveState;\r
   ///\r
   ///\r
   EFI_SMI_CPU_SAVE_STATE     Ia32SaveState;\r
   ///\r
@@ -342,8 +342,8 @@ typedef struct {
 \r
 ///\r
 /// The optional floating point save-state information for the Itanium processor family. If the optional\r
 \r
 ///\r
 /// The optional floating point save-state information for the Itanium processor family. If the optional\r
-/// floating point save is indicated for any handler, then this data structure must be preserved. \r
-/// \r
+/// floating point save is indicated for any handler, then this data structure must be preserved.\r
+///\r
 typedef struct {\r
   UINT64   f2[2];\r
   UINT64   f3[2];\r
 typedef struct {\r
   UINT64   f2[2];\r
   UINT64   f3[2];\r
@@ -382,12 +382,12 @@ typedef struct {
 /// point save is indicated for any handler, then this data structure must be preserved.\r
 ///\r
 typedef union {\r
 /// point save is indicated for any handler, then this data structure must be preserved.\r
 ///\r
 typedef union {\r
-  /// \r
-  /// The optional floating point save-state information for IA-32 processors. \r
+  ///\r
+  /// The optional floating point save-state information for IA-32 processors.\r
   ///\r
   EFI_SMI_OPTIONAL_FPSAVE_STATE             Ia32FpSave;\r
   ///\r
   ///\r
   EFI_SMI_OPTIONAL_FPSAVE_STATE             Ia32FpSave;\r
   ///\r
-  /// The optional floating point save-state information for Itanium processors. \r
+  /// The optional floating point save-state information for Itanium processors.\r
   ///\r
   EFI_PMI_OPTIONAL_FLOATING_POINT_CONTEXT   ItaniumFpSave;\r
 } EFI_SMM_FLOATING_POINT_SAVE_STATE;\r
   ///\r
   EFI_PMI_OPTIONAL_FLOATING_POINT_CONTEXT   ItaniumFpSave;\r
 } EFI_SMM_FLOATING_POINT_SAVE_STATE;\r
@@ -447,7 +447,7 @@ EFI_STATUS
 //\r
 struct _EFI_SMM_SYSTEM_TABLE {\r
   ///\r
 //\r
 struct _EFI_SMM_SYSTEM_TABLE {\r
   ///\r
-  /// The table header for the System Management System Table (SMST). \r
+  /// The table header for the System Management System Table (SMST).\r
   ///\r
   EFI_TABLE_HEADER                    Hdr;\r
 \r
   ///\r
   EFI_TABLE_HEADER                    Hdr;\r
 \r
@@ -462,7 +462,7 @@ struct _EFI_SMM_SYSTEM_TABLE {
   UINT32                              SmmFirmwareRevision;\r
 \r
   ///\r
   UINT32                              SmmFirmwareRevision;\r
 \r
   ///\r
-  /// Adds, updates, or removes a configuration table entry from the SMST. \r
+  /// Adds, updates, or removes a configuration table entry from the SMST.\r
   ///\r
   EFI_SMM_INSTALL_CONFIGURATION_TABLE SmmInstallConfigurationTable;\r
 \r
   ///\r
   EFI_SMM_INSTALL_CONFIGURATION_TABLE SmmInstallConfigurationTable;\r
 \r
@@ -470,7 +470,7 @@ struct _EFI_SMM_SYSTEM_TABLE {
   // I/O Services\r
   //\r
   ///\r
   // I/O Services\r
   //\r
   ///\r
-  /// A GUID that designates the particular CPU I/O services. \r
+  /// A GUID that designates the particular CPU I/O services.\r
   ///\r
   EFI_GUID                            EfiSmmCpuIoGuid;\r
   ///\r
   ///\r
   EFI_GUID                            EfiSmmCpuIoGuid;\r
   ///\r
@@ -489,11 +489,11 @@ struct _EFI_SMM_SYSTEM_TABLE {
   ///\r
   EFI_SMMCORE_ALLOCATE_POOL           SmmAllocatePool;\r
   ///\r
   ///\r
   EFI_SMMCORE_ALLOCATE_POOL           SmmAllocatePool;\r
   ///\r
-  /// Returns pool memory to the system. \r
+  /// Returns pool memory to the system.\r
   ///\r
   EFI_SMMCORE_FREE_POOL               SmmFreePool;\r
   ///\r
   ///\r
   EFI_SMMCORE_FREE_POOL               SmmFreePool;\r
   ///\r
-  /// Allocates memory pages from the system. \r
+  /// Allocates memory pages from the system.\r
   ///\r
   EFI_SMMCORE_ALLOCATE_PAGES          SmmAllocatePages;\r
   ///\r
   ///\r
   EFI_SMMCORE_ALLOCATE_PAGES          SmmAllocatePages;\r
   ///\r
@@ -504,9 +504,9 @@ struct _EFI_SMM_SYSTEM_TABLE {
   //\r
   // MP service\r
   //\r
   //\r
   // MP service\r
   //\r
-  \r
+\r
   /// Inconsistent with specification here:\r
   /// Inconsistent with specification here:\r
-  ///  In Framework Spec, this definition does not exist. This method is introduced in PI1.1 specification for \r
+  ///  In Framework Spec, this definition does not exist. This method is introduced in PI1.1 specification for\r
   ///  the implementation needed.\r
   EFI_SMM_STARTUP_THIS_AP             SmmStartupThisAp;\r
 \r
   ///  the implementation needed.\r
   EFI_SMM_STARTUP_THIS_AP             SmmStartupThisAp;\r
 \r
index e237b15b90e7194341439ce5ce2e862bff97469b..6a1c78a0d6e8e671cebae8eeb7ddb998dce51ceb 100644 (file)
@@ -2,13 +2,13 @@
   Status Code Definitions, according to Intel Platform Innovation Framework\r
   for EFI Status Codes Specification\r
 \r
   Status Code Definitions, according to Intel Platform Innovation Framework\r
   for EFI Status Codes Specification\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -28,8 +28,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 ///\r
 /// Software Class DXE BS Driver Subclass Progress Code definitions.\r
 ///\r
 ///\r
 /// Software Class DXE BS Driver Subclass Progress Code definitions.\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 ///@{\r
 #define EFI_SW_DXE_BS_PC_BEGIN_CONNECTING_DRIVERS     (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
 ///\r
 ///@{\r
 #define EFI_SW_DXE_BS_PC_BEGIN_CONNECTING_DRIVERS     (EFI_SUBCLASS_SPECIFIC | 0x00000005)\r
@@ -39,8 +39,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 ///\r
 /// Software Class DXE RT Driver Subclass Progress Code definitions.\r
 ///\r
 ///\r
 /// Software Class DXE RT Driver Subclass Progress Code definitions.\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 ///@{\r
 #define EFI_SW_DXE_RT_PC_S0 (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
 ///\r
 ///@{\r
 #define EFI_SW_DXE_RT_PC_S0 (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
@@ -54,8 +54,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 ///\r
 /// Software Subclass definitions.\r
 ///\r
 ///\r
 /// Software Subclass definitions.\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 #define EFI_SOFTWARE_X64_EXCEPTION        (EFI_SOFTWARE | 0x00130000)\r
 \r
 ///\r
 #define EFI_SOFTWARE_X64_EXCEPTION        (EFI_SOFTWARE | 0x00130000)\r
 \r
@@ -64,8 +64,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /// These exceptions are derived from the debug protocol definitions in the EFI\r
 /// specification.\r
 ///\r
 /// These exceptions are derived from the debug protocol definitions in the EFI\r
 /// specification.\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 ///@{\r
 #define EFI_SW_EC_X64_DIVIDE_ERROR      EXCEPT_X64_DIVIDE_ERROR\r
 ///\r
 ///@{\r
 #define EFI_SW_EC_X64_DIVIDE_ERROR      EXCEPT_X64_DIVIDE_ERROR\r
@@ -98,17 +98,17 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 ///\r
 /// Software Class DXE Core Subclass Error Code definitions.\r
 ///\r
 ///\r
 /// Software Class DXE Core Subclass Error Code definitions.\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 ///\r
-#define EFI_SW_CSM_LEGACY_ROM_INIT                (EFI_SUBCLASS_SPECIFIC | 0x00000000)   \r
+#define EFI_SW_CSM_LEGACY_ROM_INIT                (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
 \r
 ///\r
 /// IO Bus Class ATA/ATAPI Subclass Progress Code definitions.\r
 ///\r
 ///\r
 \r
 ///\r
 /// IO Bus Class ATA/ATAPI Subclass Progress Code definitions.\r
 ///\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 ///@{\r
 #define EFI_IOB_ATA_BUS_SMART_ENABLE          (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
 ///\r
 ///@{\r
 #define EFI_IOB_ATA_BUS_SMART_ENABLE          (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
@@ -121,8 +121,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /// IO Bus Class ATA/ATAPI Subclass Error Code definitions.\r
 ///\r
 ///\r
 /// IO Bus Class ATA/ATAPI Subclass Error Code definitions.\r
 ///\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 ///@{\r
 #define EFI_IOB_ATA_BUS_SMART_NOTSUPPORTED  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
 ///\r
 ///@{\r
 #define EFI_IOB_ATA_BUS_SMART_NOTSUPPORTED  (EFI_SUBCLASS_SPECIFIC | 0x00000000)\r
@@ -132,8 +132,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 ///\r
 /// The reason that the processor was disabled.\r
 ///\r
 ///\r
 /// The reason that the processor was disabled.\r
 ///\r
-/// Inconsistent with specification here: \r
-/// The Framework Specification, StatusCodes 0.92, does not define the macros. \r
+/// Inconsistent with specification here:\r
+/// The Framework Specification, StatusCodes 0.92, does not define the macros.\r
 ///\r
 ///@{\r
 #define EFI_CPU_CAUSE_NOT_DISABLED              0x0000\r
 ///\r
 ///@{\r
 #define EFI_CPU_CAUSE_NOT_DISABLED              0x0000\r
index 23ad62a41b3dc6aec3fdc9710c94b59e564e2ae7..21164554184226451628d247375e05ce5e181dc9 100644 (file)
@@ -1,18 +1,18 @@
 /** @file\r
 /** @file\r
-  The root header file that provides Framework extension to UEFI/PI for modules. It can be included by \r
+  The root header file that provides Framework extension to UEFI/PI for modules. It can be included by\r
   DXE, RUNTIME and SMM type modules that use Framework definitions.\r
 \r
 \r
   This header file includes Framework extension definitions common to DXE\r
   modules.\r
 \r
   DXE, RUNTIME and SMM type modules that use Framework definitions.\r
 \r
 \r
   This header file includes Framework extension definitions common to DXE\r
   modules.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 **/\r
 \r
index e053feb7d567e9ca88546fc63e928d1d410fd30e..6372333afa7e9a9e5a1a168df4738be2658a9c66 100644 (file)
@@ -4,13 +4,13 @@
   This header file must include Framework extension definitions common to PEI\r
   modules.\r
 \r
   This header file must include Framework extension definitions common to PEI\r
   modules.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
index 6a12f9f1967c6b0b8138ae1674346d36e5e8ace0..3a112a992438993ce4599b4a8887dbbaac4f36db 100644 (file)
@@ -4,13 +4,13 @@
   This header file must include Framework extension definitions common to DXE\r
   modules.\r
 \r
   This header file must include Framework extension definitions common to DXE\r
   modules.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
index 8f3fc7feaf80206e564cbc328ad94a94b75b4f2d..79a626248b25cc3cc0c9e9b5d0b53084f3ae3b54 100644 (file)
@@ -1,24 +1,24 @@
 /** @file\r
 /** @file\r
-  This file declares the hardware-device class GUIDs that may be used by the \r
+  This file declares the hardware-device class GUIDs that may be used by the\r
   PEIM that produces the Virtual Block I/O PPI.\r
 \r
   These GUIDs are hardware-device class GUIDs that would be imported only by the\r
   PEIM that produces the Virtual Block I/O PPI.\r
 \r
   These GUIDs are hardware-device class GUIDs that would be imported only by the\r
-  Virtual Block I/O PEIM.  This virtual PEIM imports only the actual Block I/O \r
+  Virtual Block I/O PEIM.  This virtual PEIM imports only the actual Block I/O\r
   PPIs from the device-class ones listed here and published a single instance of\r
   the Block I/O PPI for consumption by the File System PEIM.  In the parlance of\r
   PPIs from the device-class ones listed here and published a single instance of\r
   the Block I/O PPI for consumption by the File System PEIM.  In the parlance of\r
-  the Framework DXE software stack, this Virtual Block I/O PEIM is actually \r
+  the Framework DXE software stack, this Virtual Block I/O PEIM is actually\r
   embodying the functionality of the partition driver.  Thsi Virtual Block I/O\r
   PEIM has to multiple the multiple possible instances of Block I/O and also know\r
   how to parse at least El Torito for CD-ROM, and perhaps Master Boot Record(MBR)\r
   and GUID Partition Table(GPT) in the future.\r
   embodying the functionality of the partition driver.  Thsi Virtual Block I/O\r
   PEIM has to multiple the multiple possible instances of Block I/O and also know\r
   how to parse at least El Torito for CD-ROM, and perhaps Master Boot Record(MBR)\r
   and GUID Partition Table(GPT) in the future.\r
-  \r
-Copyright (c) 2009 - 2010, 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
+\r
+Copyright (c) 2009 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index b565b14171bb37eb65e952eded008393c9833cea..2cd78ab28ed93903dfc36d41b00a1cc02f9c3ca4 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Framework Capule related Definition.\r
 \r
 /** @file\r
   Framework Capule related Definition.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -71,7 +71,7 @@ typedef struct {
   ///\r
   UINT32    HeaderSize;\r
   ///\r
   ///\r
   UINT32    HeaderSize;\r
   ///\r
-  /// A bit-mapped list describing the capsule's attributes. \r
+  /// A bit-mapped list describing the capsule's attributes.\r
   /// All undefined bits should be written as zero (0).\r
   ///\r
   UINT32    Flags;\r
   /// All undefined bits should be written as zero (0).\r
   ///\r
   UINT32    Flags;\r
index 05b393b5e8aa11a36e51d6382322356609e3dd5c..315d704d87c311cf85c17d8e4baf59b23590974a 100644 (file)
@@ -1,17 +1,17 @@
 /** @file\r
   DataHubRecord.h includes all data hub subclass GUID definitions.\r
 \r
 /** @file\r
   DataHubRecord.h includes all data hub subclass GUID definitions.\r
 \r
-  This file includes all data hub sub class defitions from \r
+  This file includes all data hub sub class defitions from\r
   Cache subclass specification 0.9, DataHub SubClass specification 0.9, Memory SubClass Spec 0.9,\r
   Processor Subclass specification 0.9, and Misc SubClass specification 0.9.\r
   Cache subclass specification 0.9, DataHub SubClass specification 0.9, Memory SubClass Spec 0.9,\r
   Processor Subclass specification 0.9, and Misc SubClass specification 0.9.\r
-  \r
-Copyright (c) 2007 - 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
+\r
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -35,7 +35,7 @@ extern  EFI_GUID gEfiProcessorSubClassGuid;
 extern  EFI_GUID gEfiCacheSubClassGuid;\r
 \r
 ///\r
 extern  EFI_GUID gEfiCacheSubClassGuid;\r
 \r
 ///\r
-/// The memory subclass belongs to the data class and is identified as the memory \r
+/// The memory subclass belongs to the data class and is identified as the memory\r
 /// subclass by the GUID.\r
 ///\r
 #define EFI_MEMORY_SUBCLASS_GUID \\r
 /// subclass by the GUID.\r
 ///\r
 #define EFI_MEMORY_SUBCLASS_GUID \\r
@@ -50,7 +50,7 @@ extern  EFI_GUID  gEfiMiscSubClassGuid;
 \r
 \r
 ///\r
 \r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In ProcSubclass specification 0.9, the value is 0x0100.\r
 /// Keep it unchanged from the perspective of binary consistency.\r
 ///\r
 /// In ProcSubclass specification 0.9, the value is 0x0100.\r
 /// Keep it unchanged from the perspective of binary consistency.\r
 ///\r
@@ -145,7 +145,7 @@ typedef struct _FLOOPY_CONN_DEVICE_PATH {
 } FLOOPY_CONN_DEVICE_PATH;\r
 \r
 ///\r
 } FLOOPY_CONN_DEVICE_PATH;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
 /// It's implementation-specific to simplify the code logic.\r
 ///\r
 /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
 /// It's implementation-specific to simplify the code logic.\r
 ///\r
@@ -166,74 +166,74 @@ typedef union _EFI_MISC_PORT_DEVICE_PATH {
 ///\r
 /// String Token Definition\r
 ///\r
 ///\r
 /// String Token Definition\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// The macro isn't defined by any specification.\r
 /// Keep it unchanged for backward compatibility.\r
 ///\r
 #define EFI_STRING_TOKEN          UINT16\r
 \r
 ///\r
 /// The macro isn't defined by any specification.\r
 /// Keep it unchanged for backward compatibility.\r
 ///\r
 #define EFI_STRING_TOKEN          UINT16\r
 \r
 ///\r
-/// Each data record that is a member of some subclass starts with a standard \r
+/// Each data record that is a member of some subclass starts with a standard\r
 /// header of type EFI_SUBCLASS_TYPE1_HEADER.\r
 /// header of type EFI_SUBCLASS_TYPE1_HEADER.\r
-/// This header is only a guideline and applicable only to a data \r
-/// subclass that is producing SMBIOS data records. A subclass can start with a \r
-/// different header if needed. \r
+/// This header is only a guideline and applicable only to a data\r
+/// subclass that is producing SMBIOS data records. A subclass can start with a\r
+/// different header if needed.\r
 ///\r
 typedef struct {\r
   ///\r
 ///\r
 typedef struct {\r
   ///\r
-  /// The version of the specification to which a specific subclass data record adheres. \r
+  /// The version of the specification to which a specific subclass data record adheres.\r
   ///\r
   UINT32                            Version;\r
   ///\r
   ///\r
   UINT32                            Version;\r
   ///\r
-  /// The size in bytes of this data class header. \r
+  /// The size in bytes of this data class header.\r
   ///\r
   UINT32                            HeaderSize;\r
   ///\r
   ///\r
   UINT32                            HeaderSize;\r
   ///\r
-  /// The instance number of the subclass with the same ProducerName. This number is \r
-  /// applicable in cases where multiple subclass instances that were produced by the same \r
-  /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not \r
-  /// Applicable. All data consumer drivers should be able to handle all the possible values \r
-  /// of Instance, including Not Applicable and Reserved. \r
+  /// The instance number of the subclass with the same ProducerName. This number is\r
+  /// applicable in cases where multiple subclass instances that were produced by the same\r
+  /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not\r
+  /// Applicable. All data consumer drivers should be able to handle all the possible values\r
+  /// of Instance, including Not Applicable and Reserved.\r
   ///\r
   UINT16                            Instance;\r
   ///\r
   ///\r
   UINT16                            Instance;\r
   ///\r
-  /// The instance number of the RecordType for the same Instance. This number is \r
-  /// applicable in cases where multiple instances of the RecordType exist for a specific \r
-  /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable. \r
-  /// All data consumer drivers should be able to handle all the possible values of \r
-  /// SubInstance, including Not Applicable and Reserved. \r
+  /// The instance number of the RecordType for the same Instance. This number is\r
+  /// applicable in cases where multiple instances of the RecordType exist for a specific\r
+  /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.\r
+  /// All data consumer drivers should be able to handle all the possible values of\r
+  /// SubInstance, including Not Applicable and Reserved.\r
   ///\r
   UINT16                            SubInstance;\r
   ///\r
   ///\r
   UINT16                            SubInstance;\r
   ///\r
-  /// The record number for the data record being specified. The numbering scheme and \r
-  /// definition is defined in the specific subclass specification. \r
+  /// The record number for the data record being specified. The numbering scheme and\r
+  /// definition is defined in the specific subclass specification.\r
   ///\r
   UINT32                            RecordType;\r
 } EFI_SUBCLASS_TYPE1_HEADER;\r
 \r
 ///\r
   ///\r
   UINT32                            RecordType;\r
 } EFI_SUBCLASS_TYPE1_HEADER;\r
 \r
 ///\r
-/// This structure is used to link data records in the same subclasses. A data record is \r
-/// defined as a link to another data record in the same subclass using this structure. \r
+/// This structure is used to link data records in the same subclasses. A data record is\r
+/// defined as a link to another data record in the same subclass using this structure.\r
 ///\r
 typedef struct {\r
   ///\r
 ///\r
 typedef struct {\r
   ///\r
-  /// An EFI_GUID that identifies the component that produced this data record. Type \r
-  /// EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification. \r
+  /// An EFI_GUID that identifies the component that produced this data record. Type\r
+  /// EFI_GUID is defined in InstallProtocolInterface() in the EFI 1.10 Specification.\r
   ///\r
   EFI_GUID                          ProducerName;\r
   ///\r
   ///\r
   EFI_GUID                          ProducerName;\r
   ///\r
-  /// The instance number of the subclass with the same ProducerName. This number is \r
-  /// applicable in cases where multiple subclass instances that were produced by the same \r
-  /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not \r
-  /// Applicable. All data consumer drivers should be able to handle all the possible values \r
-  /// of Instance, including Not Applicable and Reserved. \r
+  /// The instance number of the subclass with the same ProducerName. This number is\r
+  /// applicable in cases where multiple subclass instances that were produced by the same\r
+  /// driver exist in the system. This entry is 1 based; 0 means Reserved and -1 means Not\r
+  /// Applicable. All data consumer drivers should be able to handle all the possible values\r
+  /// of Instance, including Not Applicable and Reserved.\r
   ///\r
   UINT16                            Instance;\r
   ///\r
   UINT16                            Instance;\r
-  /// The instance number of the RecordType for the same Instance. This number is \r
-  /// applicable in cases where multiple instances of the RecordType exist for a specific \r
-  /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable. \r
-  /// All data consumer drivers should be able to handle all the possible values of \r
-  /// SubInstance, including Not Applicable and Reserved.   \r
+  /// The instance number of the RecordType for the same Instance. This number is\r
+  /// applicable in cases where multiple instances of the RecordType exist for a specific\r
+  /// Instance. This entry is 1 based; 0 means Reserved and -1 means Not Applicable.\r
+  /// All data consumer drivers should be able to handle all the possible values of\r
+  /// SubInstance, including Not Applicable and Reserved.\r
   UINT16                            SubInstance;\r
 } EFI_INTER_LINK_DATA;\r
 \r
   UINT16                            SubInstance;\r
 } EFI_INTER_LINK_DATA;\r
 \r
@@ -241,17 +241,17 @@ typedef struct {
 // EXP data\r
 //\r
 ///\r
 // EXP data\r
 //\r
 ///\r
-/// This macro provides a calculation for base-10 representations. Value and Exponent are each \r
+/// This macro provides a calculation for base-10 representations. Value and Exponent are each\r
 /// INT16. It is signed to cover negative values and is 16 bits wide (15 bits for data and 1 bit\r
 /// INT16. It is signed to cover negative values and is 16 bits wide (15 bits for data and 1 bit\r
-/// for the sign).  \r
+/// for the sign).\r
 ///\r
 typedef struct {\r
   ///\r
 ///\r
 typedef struct {\r
   ///\r
-  /// The INT16 number by which to multiply the base-10 representation. \r
+  /// The INT16 number by which to multiply the base-10 representation.\r
   ///\r
   UINT16                            Value;\r
   ///\r
   ///\r
   UINT16                            Value;\r
   ///\r
-  /// The INT16 number by which to raise the base-10 calculation. \r
+  /// The INT16 number by which to raise the base-10 calculation.\r
   ///\r
   UINT16                            Exponent;\r
 } EFI_EXP_BASE2_DATA;\r
   ///\r
   UINT16                            Exponent;\r
 } EFI_EXP_BASE2_DATA;\r
@@ -261,25 +261,25 @@ typedef EFI_EXP_BASE10_DATA        EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA;
 typedef EFI_EXP_BASE10_DATA        EFI_PROCESSOR_CORE_FREQUENCY_DATA;\r
 \r
 ///\r
 typedef EFI_EXP_BASE10_DATA        EFI_PROCESSOR_CORE_FREQUENCY_DATA;\r
 \r
 ///\r
-/// This data record refers to the list of frequencies that the processor core supports. The list of \r
-/// supported frequencies is determined by the firmware based on hardware capabilities--for example, \r
-/// it could be a common subset of all processors and the chipset. The unit of measurement of this data \r
-/// record is in Hertz. For asynchronous processors, the content of this data record is zero.  \r
-/// The list is terminated by -1 in the Value field of the last element. A Value field of zero means \r
-/// that the processor/driver supports automatic frequency selection. \r
+/// This data record refers to the list of frequencies that the processor core supports. The list of\r
+/// supported frequencies is determined by the firmware based on hardware capabilities--for example,\r
+/// it could be a common subset of all processors and the chipset. The unit of measurement of this data\r
+/// record is in Hertz. For asynchronous processors, the content of this data record is zero.\r
+/// The list is terminated by -1 in the Value field of the last element. A Value field of zero means\r
+/// that the processor/driver supports automatic frequency selection.\r
 ///\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// According to MiscSubclass 0.9 specification, it should be a pointer since it refers to a list of frequencies.\r
 ///\r
 typedef EFI_EXP_BASE10_DATA        *EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA;\r
 \r
 ///\r
 /// According to MiscSubclass 0.9 specification, it should be a pointer since it refers to a list of frequencies.\r
 ///\r
 typedef EFI_EXP_BASE10_DATA        *EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA;\r
 \r
 ///\r
-/// This data record refers to the list of supported frequencies of the processor external bus. The list of \r
-/// supported frequencies is determined by the firmware based on hardware capabilities--for example, \r
-/// it could be a common subset of all processors and the chipset. The unit of measurement of this data \r
-/// record is in Hertz. For asynchronous processors, the content of this data record is NULL.  \r
-/// The list is terminated by -1 in the Value field of the last element. A Value field of zero means \r
-/// that the processor/driver supports automatic frequency selection. \r
+/// This data record refers to the list of supported frequencies of the processor external bus. The list of\r
+/// supported frequencies is determined by the firmware based on hardware capabilities--for example,\r
+/// it could be a common subset of all processors and the chipset. The unit of measurement of this data\r
+/// record is in Hertz. For asynchronous processors, the content of this data record is NULL.\r
+/// The list is terminated by -1 in the Value field of the last element. A Value field of zero means\r
+/// that the processor/driver supports automatic frequency selection.\r
 ///\r
 typedef EFI_EXP_BASE10_DATA        *EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA;\r
 typedef EFI_EXP_BASE10_DATA        EFI_PROCESSOR_FSB_FREQUENCY_DATA;\r
 ///\r
 typedef EFI_EXP_BASE10_DATA        *EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA;\r
 typedef EFI_EXP_BASE10_DATA        EFI_PROCESSOR_FSB_FREQUENCY_DATA;\r
@@ -302,7 +302,7 @@ typedef struct {
 \r
 \r
 ///\r
 \r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// The name of third field in ProcSubClass specification 0.9 is LogicalProcessorCount.\r
 /// Keep it unchanged for backward compatibility.\r
 ///\r
 /// The name of third field in ProcSubClass specification 0.9 is LogicalProcessorCount.\r
 /// Keep it unchanged for backward compatibility.\r
 ///\r
@@ -348,10 +348,10 @@ typedef struct {
 } EFI_PROCESSOR_FEATURE_FLAGS;\r
 \r
 ///\r
 } EFI_PROCESSOR_FEATURE_FLAGS;\r
 \r
 ///\r
-/// This data record refers to the unique ID that identifies a set of processors. This data record is 16 \r
-/// bytes in length. The data in this structure is processor specific and reserved values can be defined \r
-/// for future use. The consumer of this data should not make any assumption and should use this data \r
-/// with respect to the processor family defined in the Family record number.  \r
+/// This data record refers to the unique ID that identifies a set of processors. This data record is 16\r
+/// bytes in length. The data in this structure is processor specific and reserved values can be defined\r
+/// for future use. The consumer of this data should not make any assumption and should use this data\r
+/// with respect to the processor family defined in the Family record number.\r
 ///\r
 typedef struct {\r
   ///\r
 ///\r
 typedef struct {\r
   ///\r
@@ -359,22 +359,22 @@ typedef struct {
   ///\r
   EFI_PROCESSOR_SIGNATURE           Signature;\r
   ///\r
   ///\r
   EFI_PROCESSOR_SIGNATURE           Signature;\r
   ///\r
-  /// Provides additional processor information. \r
+  /// Provides additional processor information.\r
   ///\r
   EFI_PROCESSOR_MISC_INFO           MiscInfo;\r
   ///\r
   ///\r
   EFI_PROCESSOR_MISC_INFO           MiscInfo;\r
   ///\r
-  /// Reserved for future use. \r
+  /// Reserved for future use.\r
   ///\r
   UINT32                            Reserved;\r
   ///\r
   ///\r
   UINT32                            Reserved;\r
   ///\r
-  /// Provides additional processor information. \r
+  /// Provides additional processor information.\r
   ///\r
   EFI_PROCESSOR_FEATURE_FLAGS       FeatureFlags;\r
 } EFI_PROCESSOR_ID_DATA;\r
 \r
 ///\r
   ///\r
   EFI_PROCESSOR_FEATURE_FLAGS       FeatureFlags;\r
 } EFI_PROCESSOR_ID_DATA;\r
 \r
 ///\r
-/// This data record refers to the general classification of the processor. This data record is 4 bytes in \r
-/// length. \r
+/// This data record refers to the general classification of the processor. This data record is 4 bytes in\r
+/// length.\r
 ///\r
 typedef enum {\r
   EfiProcessorOther    = 1,\r
 ///\r
 typedef enum {\r
   EfiProcessorOther    = 1,\r
@@ -386,27 +386,27 @@ typedef enum {
 } EFI_PROCESSOR_TYPE_DATA;\r
 \r
 ///\r
 } EFI_PROCESSOR_TYPE_DATA;\r
 \r
 ///\r
-/// This data record refers to the family of the processor as defined by the DMTF.  \r
-/// This data record is 4 bytes in length. \r
+/// This data record refers to the family of the processor as defined by the DMTF.\r
+/// This data record is 4 bytes in length.\r
 ///\r
 typedef enum {\r
 ///\r
 typedef enum {\r
-  EfiProcessorFamilyOther                  = 0x01, \r
+  EfiProcessorFamilyOther                  = 0x01,\r
   EfiProcessorFamilyUnknown                = 0x02,\r
   EfiProcessorFamilyUnknown                = 0x02,\r
-  EfiProcessorFamily8086                   = 0x03, \r
+  EfiProcessorFamily8086                   = 0x03,\r
   EfiProcessorFamily80286                  = 0x04,\r
   EfiProcessorFamily80286                  = 0x04,\r
-  EfiProcessorFamilyIntel386               = 0x05, \r
+  EfiProcessorFamilyIntel386               = 0x05,\r
   EfiProcessorFamilyIntel486               = 0x06,\r
   EfiProcessorFamily8087                   = 0x07,\r
   EfiProcessorFamily80287                  = 0x08,\r
   EfiProcessorFamilyIntel486               = 0x06,\r
   EfiProcessorFamily8087                   = 0x07,\r
   EfiProcessorFamily80287                  = 0x08,\r
-  EfiProcessorFamily80387                  = 0x09, \r
+  EfiProcessorFamily80387                  = 0x09,\r
   EfiProcessorFamily80487                  = 0x0A,\r
   EfiProcessorFamily80487                  = 0x0A,\r
-  EfiProcessorFamilyPentium                = 0x0B, \r
+  EfiProcessorFamilyPentium                = 0x0B,\r
   EfiProcessorFamilyPentiumPro             = 0x0C,\r
   EfiProcessorFamilyPentiumII              = 0x0D,\r
   EfiProcessorFamilyPentiumMMX             = 0x0E,\r
   EfiProcessorFamilyCeleron                = 0x0F,\r
   EfiProcessorFamilyPentiumIIXeon          = 0x10,\r
   EfiProcessorFamilyPentiumPro             = 0x0C,\r
   EfiProcessorFamilyPentiumII              = 0x0D,\r
   EfiProcessorFamilyPentiumMMX             = 0x0E,\r
   EfiProcessorFamilyCeleron                = 0x0F,\r
   EfiProcessorFamilyPentiumIIXeon          = 0x10,\r
-  EfiProcessorFamilyPentiumIII             = 0x11, \r
+  EfiProcessorFamilyPentiumIII             = 0x11,\r
   EfiProcessorFamilyM1                     = 0x12,\r
   EfiProcessorFamilyM2                     = 0x13,\r
   EfiProcessorFamilyM1Reserved2            = 0x14,\r
   EfiProcessorFamilyM1                     = 0x12,\r
   EfiProcessorFamilyM2                     = 0x13,\r
   EfiProcessorFamilyM1Reserved2            = 0x14,\r
@@ -414,7 +414,7 @@ typedef enum {
   EfiProcessorFamilyM1Reserved4            = 0x16,\r
   EfiProcessorFamilyM1Reserved5            = 0x17,\r
   EfiProcessorFamilyAmdDuron               = 0x18,\r
   EfiProcessorFamilyM1Reserved4            = 0x16,\r
   EfiProcessorFamilyM1Reserved5            = 0x17,\r
   EfiProcessorFamilyAmdDuron               = 0x18,\r
-  EfiProcessorFamilyK5                     = 0x19, \r
+  EfiProcessorFamilyK5                     = 0x19,\r
   EfiProcessorFamilyK6                     = 0x1A,\r
   EfiProcessorFamilyK6_2                   = 0x1B,\r
   EfiProcessorFamilyK6_3                   = 0x1C,\r
   EfiProcessorFamilyK6                     = 0x1A,\r
   EfiProcessorFamilyK6_2                   = 0x1B,\r
   EfiProcessorFamilyK6_3                   = 0x1C,\r
@@ -452,7 +452,7 @@ typedef enum {
   EfiProcessorFamilyUltraSparcIIi          = 0x56,\r
   EfiProcessorFamilyUltraSparcIII          = 0x57,\r
   ///\r
   EfiProcessorFamilyUltraSparcIIi          = 0x56,\r
   EfiProcessorFamilyUltraSparcIII          = 0x57,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field in ProcSubClass specification 0.9 is defined as EfiProcessorFamilyUltraSparcIIi.\r
   /// Change it to EfiProcessorFamilyUltraSparcIIIi to avoid build break.\r
   ///\r
   /// This field in ProcSubClass specification 0.9 is defined as EfiProcessorFamilyUltraSparcIIi.\r
   /// Change it to EfiProcessorFamilyUltraSparcIIIi to avoid build break.\r
   ///\r
@@ -494,37 +494,37 @@ typedef enum {
   EfiProcessorFamilyAMDAthlonMP            = 0xB7,\r
   EfiProcessorFamilyIntelItanium2          = 0xB8,\r
   ///\r
   EfiProcessorFamilyAMDAthlonMP            = 0xB7,\r
   EfiProcessorFamilyIntelItanium2          = 0xB8,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelPentiumM          = 0xB9,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelPentiumM          = 0xB9,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelCeleronD          = 0xBA,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelCeleronD          = 0xBA,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelPentiumD          = 0xBB,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelPentiumD          = 0xBB,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelPentiumEx         = 0xBC,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelPentiumEx         = 0xBC,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
-  EfiProcessorFamilyIntelCoreSolo          = 0xBD,  \r
+  EfiProcessorFamilyIntelCoreSolo          = 0xBD,\r
   ///\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
-  EfiProcessorFamilyReserved               = 0xBE,  \r
+  EfiProcessorFamilyReserved               = 0xBE,\r
   ///\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelCore2             = 0xBF,\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIntelCore2             = 0xBF,\r
@@ -532,44 +532,44 @@ typedef enum {
   EfiProcessorFamilyG4                     = 0xC9,\r
   EfiProcessorFamilyG5                     = 0xCA,\r
   ///\r
   EfiProcessorFamilyG4                     = 0xC9,\r
   EfiProcessorFamilyG5                     = 0xCA,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification  0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyG6                     = 0xCB,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification  0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyG6                     = 0xCB,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyzArchitectur           = 0xCC,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyzArchitectur           = 0xCC,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaC7M                 = 0xD2,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaC7M                 = 0xD2,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaC7D                 = 0xD3,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaC7D                 = 0xD3,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaC7                  = 0xD4,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaC7                  = 0xD4,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaEden                = 0xD5,\r
   EfiProcessorFamilyi860                   = 0xFA,\r
   EfiProcessorFamilyi960                   = 0xFB,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyViaEden                = 0xD5,\r
   EfiProcessorFamilyi860                   = 0xFA,\r
   EfiProcessorFamilyi960                   = 0xFB,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIndicatorFamily2       = 0xFE,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyIndicatorFamily2       = 0xFE,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyReserved1              = 0xFF\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorFamilyReserved1              = 0xFF\r
@@ -589,26 +589,26 @@ typedef enum {
 } EFI_PROCESSOR_FAMILY2_DATA;\r
 \r
 ///\r
 } EFI_PROCESSOR_FAMILY2_DATA;\r
 \r
 ///\r
-/// This data record refers to the core voltage of the processor being defined. The unit of measurement \r
-/// of this data record is in volts.  \r
+/// This data record refers to the core voltage of the processor being defined. The unit of measurement\r
+/// of this data record is in volts.\r
 ///\r
 typedef EFI_EXP_BASE10_DATA         EFI_PROCESSOR_VOLTAGE_DATA;\r
 \r
 ///\r
 ///\r
 typedef EFI_EXP_BASE10_DATA         EFI_PROCESSOR_VOLTAGE_DATA;\r
 \r
 ///\r
-/// This data record refers to the base address of the APIC of the processor being defined. This data \r
-/// record is a physical address location. \r
+/// This data record refers to the base address of the APIC of the processor being defined. This data\r
+/// record is a physical address location.\r
 ///\r
 typedef EFI_PHYSICAL_ADDRESS        EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA;\r
 \r
 ///\r
 ///\r
 typedef EFI_PHYSICAL_ADDRESS        EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA;\r
 \r
 ///\r
-/// This data record refers to the ID of the APIC of the processor being defined. This data record is a \r
-/// 4-byte entry.  \r
+/// This data record refers to the ID of the APIC of the processor being defined. This data record is a\r
+/// 4-byte entry.\r
 ///\r
 typedef UINT32                      EFI_PROCESSOR_APIC_ID_DATA;\r
 \r
 ///\r
 ///\r
 typedef UINT32                      EFI_PROCESSOR_APIC_ID_DATA;\r
 \r
 ///\r
-/// This data record refers to the version number of the APIC of the processor being defined. This data \r
-/// record is a 4-byte entry. \r
+/// This data record refers to the version number of the APIC of the processor being defined. This data\r
+/// record is a 4-byte entry.\r
 ///\r
 typedef UINT32                      EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA;\r
 \r
 ///\r
 typedef UINT32                      EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA;\r
 \r
@@ -619,16 +619,16 @@ typedef enum {
 } EFI_PROCESSOR_MICROCODE_TYPE;\r
 \r
 ///\r
 } EFI_PROCESSOR_MICROCODE_TYPE;\r
 \r
 ///\r
-/// This data record refers to the revision of the processor microcode that is loaded in the processor. \r
-/// This data record is a 4-byte entry. \r
+/// This data record refers to the revision of the processor microcode that is loaded in the processor.\r
+/// This data record is a 4-byte entry.\r
 ///\r
 typedef struct {\r
   ///\r
 ///\r
 typedef struct {\r
   ///\r
-  /// Identifies what type of microcode the data is. \r
-  /// \r
+  /// Identifies what type of microcode the data is.\r
+  ///\r
   EFI_PROCESSOR_MICROCODE_TYPE      ProcessorMicrocodeType;\r
   ///\r
   EFI_PROCESSOR_MICROCODE_TYPE      ProcessorMicrocodeType;\r
   ///\r
-  /// Indicates the revision number of this microcode. \r
+  /// Indicates the revision number of this microcode.\r
   ///\r
   UINT32                            ProcessorMicrocodeRevisionNumber;\r
 } EFI_PROCESSOR_MICROCODE_REVISION_DATA;\r
   ///\r
   UINT32                            ProcessorMicrocodeRevisionNumber;\r
 } EFI_PROCESSOR_MICROCODE_REVISION_DATA;\r
@@ -637,13 +637,13 @@ typedef struct {
 /// This data record refers to the status of the processor.\r
 ///\r
 typedef struct {\r
 /// This data record refers to the status of the processor.\r
 ///\r
 typedef struct {\r
-  UINT32       CpuStatus                 :3; ///< Indicates the status of the processor. \r
-  UINT32       Reserved1                 :3; ///< Reserved for future use. Should be set to zero.  \r
-  UINT32       SocketPopulated           :1; ///< Indicates if the processor is socketed or not. \r
-  UINT32       Reserved2                 :1; ///< Reserved for future use. Should be set to zero. \r
-  UINT32       ApicEnable                :1; ///< Indicates if the APIC is enabled or not. \r
-  UINT32       BootApplicationProcessor  :1; ///< Indicates if this processor is the boot processor. \r
-  UINT32       Reserved3                 :22;///< Reserved for future use. Should be set to zero. \r
+  UINT32       CpuStatus                 :3; ///< Indicates the status of the processor.\r
+  UINT32       Reserved1                 :3; ///< Reserved for future use. Should be set to zero.\r
+  UINT32       SocketPopulated           :1; ///< Indicates if the processor is socketed or not.\r
+  UINT32       Reserved2                 :1; ///< Reserved for future use. Should be set to zero.\r
+  UINT32       ApicEnable                :1; ///< Indicates if the APIC is enabled or not.\r
+  UINT32       BootApplicationProcessor  :1; ///< Indicates if this processor is the boot processor.\r
+  UINT32       Reserved3                 :22;///< Reserved for future use. Should be set to zero.\r
 } EFI_PROCESSOR_STATUS_DATA;\r
 \r
 typedef enum {\r
 } EFI_PROCESSOR_STATUS_DATA;\r
 \r
 typedef enum {\r
@@ -674,22 +674,22 @@ typedef enum {
   EfiProcessorSocket754              = 0x10,\r
   EfiProcessorSocket940              = 0x11,\r
   ///\r
   EfiProcessorSocket754              = 0x10,\r
   EfiProcessorSocket940              = 0x11,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocket939              = 0x12,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocket939              = 0x12,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocketmPGA604          = 0x13,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocketmPGA604          = 0x13,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocketLGA771           = 0x14,\r
   ///\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocketLGA771           = 0x14,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocketLGA775           = 0x15\r
   /// This field is NOT defined in ProcSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiProcessorSocketLGA775           = 0x15\r
@@ -699,29 +699,29 @@ typedef enum {
 typedef STRING_REF                  EFI_PROCESSOR_SOCKET_NAME_DATA;\r
 \r
 ///\r
 typedef STRING_REF                  EFI_PROCESSOR_SOCKET_NAME_DATA;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_CACHE_ASSOCIATION_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 typedef EFI_INTER_LINK_DATA         EFI_CACHE_ASSOCIATION_DATA;\r
 \r
 ///\r
 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_CACHE_ASSOCIATION_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 typedef EFI_INTER_LINK_DATA         EFI_CACHE_ASSOCIATION_DATA;\r
 \r
 ///\r
-/// This data record refers to the health status of the processor. \r
+/// This data record refers to the health status of the processor.\r
 ///\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_HEALTH_STATUS_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 typedef enum {\r
   EfiProcessorHealthy        = 1,\r
   EfiProcessorPerfRestricted = 2,\r
 /// In ProcSubclass specification 0.9, the naming is EFI_PROCESSOR_HEALTH_STATUS_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 typedef enum {\r
   EfiProcessorHealthy        = 1,\r
   EfiProcessorPerfRestricted = 2,\r
-  EfiProcessorFuncRestricted = 3 \r
+  EfiProcessorFuncRestricted = 3\r
 } EFI_PROCESSOR_HEALTH_STATUS;\r
 \r
 ///\r
 } EFI_PROCESSOR_HEALTH_STATUS;\r
 \r
 ///\r
-/// This data record refers to the package number of this processor. Multiple logical processors can \r
-/// exist in a system and each logical processor can be correlated to the physical processor using this \r
-/// record type. \r
+/// This data record refers to the package number of this processor. Multiple logical processors can\r
+/// exist in a system and each logical processor can be correlated to the physical processor using this\r
+/// record type.\r
 ///\r
 typedef UINTN                       EFI_PROCESSOR_PACKAGE_NUMBER_DATA;\r
 \r
 ///\r
 typedef UINTN                       EFI_PROCESSOR_PACKAGE_NUMBER_DATA;\r
 \r
@@ -739,7 +739,7 @@ typedef struct {
 ///\r
 /// Inconsistent with specification here:\r
 /// In ProcSubclass specification 0.9, the enumeration type data structure is NOT defined.\r
 ///\r
 /// Inconsistent with specification here:\r
 /// In ProcSubclass specification 0.9, the enumeration type data structure is NOT defined.\r
-/// The equivalent in specification is \r
+/// The equivalent in specification is\r
 ///      #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER           0x00000001\r
 ///      #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER       0x00000002\r
 ///      #define EFI_PROCESSOR_VERSION_RECORD_NUMBER             0x00000003\r
 ///      #define EFI_PROCESSOR_FREQUENCY_RECORD_NUMBER           0x00000001\r
 ///      #define EFI_PROCESSOR_BUS_FREQUENCY_RECORD_NUMBER       0x00000002\r
 ///      #define EFI_PROCESSOR_VERSION_RECORD_NUMBER             0x00000003\r
@@ -800,7 +800,7 @@ typedef enum {
 } EFI_CPU_VARIABLE_RECORD_TYPE;\r
 \r
 ///\r
 } EFI_CPU_VARIABLE_RECORD_TYPE;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In ProcSubclass specification 0.9, the union type data structure is NOT defined.\r
 /// It's implementation-specific to simplify the code logic.\r
 ///\r
 /// In ProcSubclass specification 0.9, the union type data structure is NOT defined.\r
 /// It's implementation-specific to simplify the code logic.\r
 ///\r
@@ -845,7 +845,7 @@ typedef struct {
 \r
 typedef EFI_EXP_BASE2_DATA          EFI_CACHE_SIZE_DATA;\r
 ///\r
 \r
 typedef EFI_EXP_BASE2_DATA          EFI_CACHE_SIZE_DATA;\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In CacheSubclass specification 0.9, the naming is EFI_CACHE_MAXIMUM_SIZE_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 /// In CacheSubclass specification 0.9, the naming is EFI_CACHE_MAXIMUM_SIZE_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
@@ -900,7 +900,7 @@ typedef enum {
 } EFI_CACHE_ASSOCIATIVITY_DATA;\r
 \r
 ///\r
 } EFI_CACHE_ASSOCIATIVITY_DATA;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In CacheSubclass 0.9 specification. It defines the field type as UINT16.\r
 /// In fact, it should be UINT32 type because it refers to a 32bit width data.\r
 ///\r
 /// In CacheSubclass 0.9 specification. It defines the field type as UINT16.\r
 /// In fact, it should be UINT32 type because it refers to a 32bit width data.\r
 ///\r
@@ -944,13 +944,13 @@ typedef enum {
 ///\r
 /// Inconsistent with specification here:\r
 /// In CacheSubclass specification 0.9, the enumeration type data structure is NOT defined.\r
 ///\r
 /// Inconsistent with specification here:\r
 /// In CacheSubclass specification 0.9, the enumeration type data structure is NOT defined.\r
-/// The equivalent in specification is \r
+/// The equivalent in specification is\r
 ///      #define EFI_CACHE_SIZE_RECORD_NUMBER                    0x00000001\r
 ///      #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER            0x00000002\r
 ///      #define EFI_CACHE_SPEED_RECORD_NUMBER                   0x00000003\r
 ///      #define EFI_CACHE_SOCKET_RECORD_NUMBER                  0x00000004\r
 ///      #define EFI_CACHE_SIZE_RECORD_NUMBER                    0x00000001\r
 ///      #define EFI_CACHE_MAXIMUM_SIZE_RECORD_NUMBER            0x00000002\r
 ///      #define EFI_CACHE_SPEED_RECORD_NUMBER                   0x00000003\r
 ///      #define EFI_CACHE_SOCKET_RECORD_NUMBER                  0x00000004\r
-///      #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER            0x00000005 \r
-///      #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER            0x00000006 \r
+///      #define EFI_CACHE_SRAM_SUPPORT_RECORD_NUMBER            0x00000005\r
+///      #define EFI_CACHE_SRAM_INSTALL_RECORD_NUMBER            0x00000006\r
 ///      #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER           0x00000007\r
 ///      #define EFI_CACHE_TYPE_RECORD_NUMBER                    0x00000008\r
 ///      #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER           0x00000009\r
 ///      #define EFI_CACHE_ERROR_SUPPORT_RECORD_NUMBER           0x00000007\r
 ///      #define EFI_CACHE_TYPE_RECORD_NUMBER                    0x00000008\r
 ///      #define EFI_CACHE_ASSOCIATIVITY_RECORD_NUMBER           0x00000009\r
@@ -971,7 +971,7 @@ typedef enum {
 } EFI_CACHE_VARIABLE_RECORD_TYPE;\r
 \r
 ///\r
 } EFI_CACHE_VARIABLE_RECORD_TYPE;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In CacheSubclass specification 0.9, the union type data structure is NOT defined.\r
 /// It's implementation-specific to simplify the code logic.\r
 ///\r
 /// In CacheSubclass specification 0.9, the union type data structure is NOT defined.\r
 /// It's implementation-specific to simplify the code logic.\r
 ///\r
@@ -1005,39 +1005,39 @@ typedef enum _EFI_MEMORY_REGION_TYPE {
 } EFI_MEMORY_REGION_TYPE;\r
 \r
 ///\r
 } EFI_MEMORY_REGION_TYPE;\r
 \r
 ///\r
-/// This data record refers to the size of a memory region. The regions that are \r
-/// described can refer to physical memory, memory-mapped I/O, or reserved BIOS memory regions. \r
-/// The unit of measurement of this data record is in bytes.  \r
+/// This data record refers to the size of a memory region. The regions that are\r
+/// described can refer to physical memory, memory-mapped I/O, or reserved BIOS memory regions.\r
+/// The unit of measurement of this data record is in bytes.\r
 ///\r
 typedef struct {\r
   ///\r
 ///\r
 typedef struct {\r
   ///\r
-  /// A zero-based value that indicates which processor(s) can access the memory region. \r
-  /// A value of 0xFFFF indicates the region is accessible by all processors. \r
+  /// A zero-based value that indicates which processor(s) can access the memory region.\r
+  /// A value of 0xFFFF indicates the region is accessible by all processors.\r
   ///\r
   UINT32                            ProcessorNumber;\r
   ///\r
   ///\r
   UINT32                            ProcessorNumber;\r
   ///\r
-  /// A zero-based value that indicates the starting bus that can access the memory region.  \r
+  /// A zero-based value that indicates the starting bus that can access the memory region.\r
   ///\r
   UINT16                            StartBusNumber;\r
   ///\r
   ///\r
   UINT16                            StartBusNumber;\r
   ///\r
-  /// A zero-based value that indicates the ending bus that can access the memory region. \r
-  /// A value of 0xFF for a PCI system indicates the region is accessible by all buses and \r
-  /// is global in scope. An example of the EndBusNumber not being 0xFF is a system \r
-  /// with two or more peer-to-host PCI bridges. \r
+  /// A zero-based value that indicates the ending bus that can access the memory region.\r
+  /// A value of 0xFF for a PCI system indicates the region is accessible by all buses and\r
+  /// is global in scope. An example of the EndBusNumber not being 0xFF is a system\r
+  /// with two or more peer-to-host PCI bridges.\r
   ///\r
   UINT16                            EndBusNumber;\r
   ///\r
   ///\r
   UINT16                            EndBusNumber;\r
   ///\r
-  /// The type of memory region from the operating system's point of view. \r
-  /// MemoryRegionType values are equivalent to the legacy INT 15 AX = E820 BIOS \r
-  /// command values. \r
+  /// The type of memory region from the operating system's point of view.\r
+  /// MemoryRegionType values are equivalent to the legacy INT 15 AX = E820 BIOS\r
+  /// command values.\r
   ///\r
   EFI_MEMORY_REGION_TYPE            MemoryRegionType;\r
   ///\r
   ///\r
   EFI_MEMORY_REGION_TYPE            MemoryRegionType;\r
   ///\r
-  /// The size of the memory region in bytes. \r
+  /// The size of the memory region in bytes.\r
   ///\r
   EFI_EXP_BASE2_DATA                MemorySize;\r
   ///\r
   ///\r
   EFI_EXP_BASE2_DATA                MemorySize;\r
   ///\r
-  /// The starting physical address of the memory region. \r
+  /// The starting physical address of the memory region.\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryStartAddress;\r
 } EFI_MEMORY_SIZE_DATA;\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryStartAddress;\r
 } EFI_MEMORY_SIZE_DATA;\r
@@ -1083,19 +1083,19 @@ typedef enum _EFI_MEMORY_ERROR_CORRECTION {
 } EFI_MEMORY_ERROR_CORRECTION;\r
 \r
 ///\r
 } EFI_MEMORY_ERROR_CORRECTION;\r
 \r
 ///\r
-/// This data record refers to the physical memory array. This data record is a structure.  \r
-/// The type definition structure for EFI_MEMORY_ARRAY_LOCATION_DATA is in SMBIOS 2.3.4: \r
-/// - Table 3.3.17.1, Type 16, Offset 0x4 \r
-/// - Table 3.3.17.2, Type 16, Offset 0x5 \r
-/// - Table 3.3.17.3, Type 16, with the following offsets: \r
-///     -- Offset 0x6 \r
-///     -- Offset 0x7 \r
-///     -- Offset 0xB \r
-///     -- Offset 0xD \r
-/// \r
+/// This data record refers to the physical memory array. This data record is a structure.\r
+/// The type definition structure for EFI_MEMORY_ARRAY_LOCATION_DATA is in SMBIOS 2.3.4:\r
+/// - Table 3.3.17.1, Type 16, Offset 0x4\r
+/// - Table 3.3.17.2, Type 16, Offset 0x5\r
+/// - Table 3.3.17.3, Type 16, with the following offsets:\r
+///     -- Offset 0x6\r
+///     -- Offset 0x7\r
+///     -- Offset 0xB\r
+///     -- Offset 0xD\r
+///\r
 typedef struct {\r
   ///\r
 typedef struct {\r
   ///\r
-  /// The physical location of the memory array. \r
+  /// The physical location of the memory array.\r
   ///\r
   EFI_MEMORY_ARRAY_LOCATION         MemoryArrayLocation;\r
   ///\r
   ///\r
   EFI_MEMORY_ARRAY_LOCATION         MemoryArrayLocation;\r
   ///\r
@@ -1107,14 +1107,14 @@ typedef struct {
   ///\r
   EFI_MEMORY_ERROR_CORRECTION       MemoryErrorCorrection;\r
   ///\r
   ///\r
   EFI_MEMORY_ERROR_CORRECTION       MemoryErrorCorrection;\r
   ///\r
-  /// The maximum memory capacity size in kilobytes. If capacity is unknown, then \r
-  /// values of MaximumMemoryCapacity.Value = 0x00 and \r
+  /// The maximum memory capacity size in kilobytes. If capacity is unknown, then\r
+  /// values of MaximumMemoryCapacity.Value = 0x00 and\r
   /// MaximumMemoryCapacity.Exponent = 0x8000 are used.\r
   ///\r
   EFI_EXP_BASE2_DATA                MaximumMemoryCapacity;\r
   ///\r
   /// MaximumMemoryCapacity.Exponent = 0x8000 are used.\r
   ///\r
   EFI_EXP_BASE2_DATA                MaximumMemoryCapacity;\r
   ///\r
-  /// The number of memory slots or sockets that are available for memory devices  \r
-  /// in this array.    \r
+  /// The number of memory slots or sockets that are available for memory devices\r
+  /// in this array.\r
   ///\r
   UINT16                            NumberMemoryDevices;\r
 } EFI_MEMORY_ARRAY_LOCATION_DATA;\r
   ///\r
   UINT16                            NumberMemoryDevices;\r
 } EFI_MEMORY_ARRAY_LOCATION_DATA;\r
@@ -1138,7 +1138,7 @@ typedef enum _EFI_MEMORY_FORM_FACTOR {
   EfiMemoryFormFactorSodimm                   = 0x0D,\r
   EfiMemoryFormFactorSrimm                    = 0x0E,\r
   ///\r
   EfiMemoryFormFactorSodimm                   = 0x0D,\r
   EfiMemoryFormFactorSrimm                    = 0x0E,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryFormFactorFbDimm                   = 0x0F\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryFormFactorFbDimm                   = 0x0F\r
@@ -1164,12 +1164,12 @@ typedef enum _EFI_MEMORY_ARRAY_TYPE {
   EfiMemoryTypeRdram                          = 0x11,\r
   EfiMemoryTypeDdr                            = 0x12,\r
   ///\r
   EfiMemoryTypeRdram                          = 0x11,\r
   EfiMemoryTypeDdr                            = 0x12,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryTypeDdr2                           = 0x13,\r
   ///\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryTypeDdr2                           = 0x13,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryTypeDdr2FbDimm                     = 0x14\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryTypeDdr2FbDimm                     = 0x14\r
@@ -1200,44 +1200,44 @@ typedef enum {
   EfiMemoryStateAbsent       = 4,\r
   EfiMemoryStateDisabled     = 5,\r
   ///\r
   EfiMemoryStateAbsent       = 4,\r
   EfiMemoryStateDisabled     = 5,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryStatePartial      = 6\r
 } EFI_MEMORY_STATE;\r
 \r
 ///\r
   /// This field is NOT defined in MemSubClass specification 0.9. It's introduced for SMBIOS2.6 specification.\r
   ///\r
   EfiMemoryStatePartial      = 6\r
 } EFI_MEMORY_STATE;\r
 \r
 ///\r
-/// This data record describes a memory device. This data record is a structure. \r
+/// This data record describes a memory device. This data record is a structure.\r
 /// The type definition structure for EFI_MEMORY_ARRAY_LINK_DATA is in SMBIOS 2.3.4.\r
 ///\r
 typedef struct {\r
   ///\r
 /// The type definition structure for EFI_MEMORY_ARRAY_LINK_DATA is in SMBIOS 2.3.4.\r
 ///\r
 typedef struct {\r
   ///\r
-  /// A string that identifies the physically labeled socket or board position where the \r
+  /// A string that identifies the physically labeled socket or board position where the\r
   /// memory device is located.\r
   ///\r
   STRING_REF                        MemoryDeviceLocator;\r
   ///\r
   /// memory device is located.\r
   ///\r
   STRING_REF                        MemoryDeviceLocator;\r
   ///\r
-  /// A string denoting the physically labeled bank where the memory device is located. \r
+  /// A string denoting the physically labeled bank where the memory device is located.\r
   ///\r
   STRING_REF                        MemoryBankLocator;\r
   ///\r
   ///\r
   STRING_REF                        MemoryBankLocator;\r
   ///\r
-  /// A string denoting the memory manufacturer.  \r
-  ///  \r
+  /// A string denoting the memory manufacturer.\r
+  ///\r
   STRING_REF                        MemoryManufacturer;\r
   ///\r
   STRING_REF                        MemoryManufacturer;\r
   ///\r
-  /// A string denoting the serial number of the memory device.  \r
+  /// A string denoting the serial number of the memory device.\r
   ///\r
   STRING_REF                        MemorySerialNumber;\r
   ///\r
   ///\r
   STRING_REF                        MemorySerialNumber;\r
   ///\r
-  /// The asset tag of the memory device. \r
+  /// The asset tag of the memory device.\r
   ///\r
   STRING_REF                        MemoryAssetTag;\r
   ///\r
   ///\r
   STRING_REF                        MemoryAssetTag;\r
   ///\r
-  /// A string denoting the part number of the memory device.  \r
+  /// A string denoting the part number of the memory device.\r
   ///\r
   STRING_REF                        MemoryPartNumber;\r
   ///\r
   ///\r
   STRING_REF                        MemoryPartNumber;\r
   ///\r
-  /// A link to a memory array structure set. \r
+  /// A link to a memory array structure set.\r
   ///\r
   EFI_INTER_LINK_DATA               MemoryArrayLink;\r
   ///\r
   ///\r
   EFI_INTER_LINK_DATA               MemoryArrayLink;\r
   ///\r
@@ -1245,49 +1245,49 @@ typedef struct {
   ///\r
   EFI_INTER_LINK_DATA               MemorySubArrayLink;\r
   ///\r
   ///\r
   EFI_INTER_LINK_DATA               MemorySubArrayLink;\r
   ///\r
-  /// The total width in bits of this memory device. If there are no error correcting bits, \r
-  /// then the total width equals the data width. If the width is unknown, then set the field \r
-  /// to 0xFFFF. \r
+  /// The total width in bits of this memory device. If there are no error correcting bits,\r
+  /// then the total width equals the data width. If the width is unknown, then set the field\r
+  /// to 0xFFFF.\r
   ///\r
   UINT16                            MemoryTotalWidth;\r
   ///\r
   ///\r
   UINT16                            MemoryTotalWidth;\r
   ///\r
-  /// The data width in bits of the memory device. A data width of 0x00 and a total width \r
-  /// of 0x08 indicate that the device is used solely for error correction. \r
+  /// The data width in bits of the memory device. A data width of 0x00 and a total width\r
+  /// of 0x08 indicate that the device is used solely for error correction.\r
   ///\r
   UINT16                            MemoryDataWidth;\r
   ///\r
   ///\r
   UINT16                            MemoryDataWidth;\r
   ///\r
-  /// The size in bytes of the memory device. A value of 0x00 denotes that no device is \r
+  /// The size in bytes of the memory device. A value of 0x00 denotes that no device is\r
   /// installed, while a value of all Fs denotes that the size is not known.\r
   ///\r
   EFI_EXP_BASE2_DATA                MemoryDeviceSize;\r
   ///\r
   /// installed, while a value of all Fs denotes that the size is not known.\r
   ///\r
   EFI_EXP_BASE2_DATA                MemoryDeviceSize;\r
   ///\r
-  /// The form factor of the memory device. \r
+  /// The form factor of the memory device.\r
   ///\r
   EFI_MEMORY_FORM_FACTOR            MemoryFormFactor;\r
   ///\r
   ///\r
   EFI_MEMORY_FORM_FACTOR            MemoryFormFactor;\r
   ///\r
-  /// A memory device set that must be populated with all devices of the same type and \r
-  /// size. A value of 0x00 indicates that the device is not part of any set. A value of 0xFF \r
-  /// indicates that the attribute is unknown. Any other value denotes the set number. \r
+  /// A memory device set that must be populated with all devices of the same type and\r
+  /// size. A value of 0x00 indicates that the device is not part of any set. A value of 0xFF\r
+  /// indicates that the attribute is unknown. Any other value denotes the set number.\r
   ///\r
   UINT8                             MemoryDeviceSet;\r
   ///\r
   ///\r
   UINT8                             MemoryDeviceSet;\r
   ///\r
-  /// The memory type in the socket. \r
+  /// The memory type in the socket.\r
   ///\r
   EFI_MEMORY_ARRAY_TYPE             MemoryType;\r
   ///\r
   ///\r
   EFI_MEMORY_ARRAY_TYPE             MemoryType;\r
   ///\r
-  /// The memory type details. \r
+  /// The memory type details.\r
   ///\r
   EFI_MEMORY_TYPE_DETAIL            MemoryTypeDetail;\r
   ///\r
   ///\r
   EFI_MEMORY_TYPE_DETAIL            MemoryTypeDetail;\r
   ///\r
-  /// The memory speed in megahertz (MHz). A value of 0x00 denotes that \r
+  /// The memory speed in megahertz (MHz). A value of 0x00 denotes that\r
   /// the speed is unknown.\r
   /// the speed is unknown.\r
-       /// Inconsistent with specification here:  \r
-       /// In MemSubclass specification 0.9, the naming is MemoryTypeSpeed.\r
-       /// Keep it unchanged for backward compatibilty.\r
-       ///\r
+  /// Inconsistent with specification here:\r
+  /// In MemSubclass specification 0.9, the naming is MemoryTypeSpeed.\r
+  /// Keep it unchanged for backward compatibilty.\r
+  ///\r
   EFI_EXP_BASE10_DATA               MemorySpeed;\r
   ///\r
   EFI_EXP_BASE10_DATA               MemorySpeed;\r
   ///\r
-  /// The memory state. \r
+  /// The memory state.\r
   ///\r
   EFI_MEMORY_STATE                  MemoryState;\r
 } EFI_MEMORY_ARRAY_LINK_DATA;\r
   ///\r
   EFI_MEMORY_STATE                  MemoryState;\r
 } EFI_MEMORY_ARRAY_LINK_DATA;\r
@@ -1296,18 +1296,18 @@ typedef struct {
 #define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER    0x00000004\r
 \r
 ///\r
 #define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER    0x00000004\r
 \r
 ///\r
-/// This data record refers to a specified physical memory array associated with \r
-/// a given memory range. \r
-/// \r
+/// This data record refers to a specified physical memory array associated with\r
+/// a given memory range.\r
+///\r
 typedef struct {\r
   ///\r
 typedef struct {\r
   ///\r
-  /// The starting physical address in bytes of memory mapped to a specified physical \r
-  /// memory array. \r
+  /// The starting physical address in bytes of memory mapped to a specified physical\r
+  /// memory array.\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryArrayStartAddress;\r
   ///\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryArrayStartAddress;\r
   ///\r
-  /// The last physical address in bytes of memory mapped to a specified physical memory \r
-  /// array.  \r
+  /// The last physical address in bytes of memory mapped to a specified physical memory\r
+  /// array.\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryArrayEndAddress;\r
   ///\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryArrayEndAddress;\r
   ///\r
@@ -1315,8 +1315,8 @@ typedef struct {
   ///\r
   EFI_INTER_LINK_DATA               PhysicalMemoryArrayLink;\r
   ///\r
   ///\r
   EFI_INTER_LINK_DATA               PhysicalMemoryArrayLink;\r
   ///\r
-  /// The number of memory devices that form a single row of memory for the address \r
-  /// partition.  \r
+  /// The number of memory devices that form a single row of memory for the address\r
+  /// partition.\r
   ///\r
   UINT16                            MemoryArrayPartitionWidth;\r
 } EFI_MEMORY_ARRAY_START_ADDRESS_DATA;\r
   ///\r
   UINT16                            MemoryArrayPartitionWidth;\r
 } EFI_MEMORY_ARRAY_START_ADDRESS_DATA;\r
@@ -1325,39 +1325,39 @@ typedef struct {
 #define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER    0x00000005\r
 \r
 ///\r
 #define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER    0x00000005\r
 \r
 ///\r
-/// This data record refers to a physical memory device that is associated with \r
+/// This data record refers to a physical memory device that is associated with\r
 /// a given memory range.\r
 /// a given memory range.\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
 typedef struct {\r
   ///\r
-  /// The starting physical address that is associated with the device. \r
+  /// The starting physical address that is associated with the device.\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryDeviceStartAddress;\r
   ///\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryDeviceStartAddress;\r
   ///\r
-  /// The ending physical address that is associated with the device. \r
+  /// The ending physical address that is associated with the device.\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryDeviceEndAddress;\r
   ///\r
   ///\r
   EFI_PHYSICAL_ADDRESS              MemoryDeviceEndAddress;\r
   ///\r
-  /// A link to the memory device data structure. \r
+  /// A link to the memory device data structure.\r
   ///\r
   EFI_INTER_LINK_DATA               PhysicalMemoryDeviceLink;\r
   ///\r
   EFI_INTER_LINK_DATA               PhysicalMemoryDeviceLink;\r
-  /// \r
-  /// A link to the memory array data structure. \r
+  ///\r
+  /// A link to the memory array data structure.\r
   ///\r
   EFI_INTER_LINK_DATA               PhysicalMemoryArrayLink;\r
   ///\r
   ///\r
   EFI_INTER_LINK_DATA               PhysicalMemoryArrayLink;\r
   ///\r
-  /// The position of the memory device in a row. A value of 0x00 is reserved and a value \r
-  /// of 0xFF indicates that the position is unknown. \r
+  /// The position of the memory device in a row. A value of 0x00 is reserved and a value\r
+  /// of 0xFF indicates that the position is unknown.\r
   ///\r
   UINT8                             MemoryDevicePartitionRowPosition;\r
   ///\r
   ///\r
   UINT8                             MemoryDevicePartitionRowPosition;\r
   ///\r
-  /// The position of the device in an interleave. \r
+  /// The position of the device in an interleave.\r
   ///\r
   UINT8                             MemoryDeviceInterleavePosition;\r
   ///\r
   ///\r
   UINT8                             MemoryDeviceInterleavePosition;\r
   ///\r
-  /// The maximum number of consecutive rows from the device that are accessed in a \r
-  /// single interleave transfer. A value of 0x00 indicates that the device is not interleaved \r
-  /// and a value of 0xFF indicates that the interleave configuration is unknown. \r
+  /// The maximum number of consecutive rows from the device that are accessed in a\r
+  /// single interleave transfer. A value of 0x00 indicates that the device is not interleaved\r
+  /// and a value of 0xFF indicates that the interleave configuration is unknown.\r
   ///\r
   UINT8                             MemoryDeviceInterleaveDataDepth;\r
 } EFI_MEMORY_DEVICE_START_ADDRESS_DATA;\r
   ///\r
   UINT8                             MemoryDeviceInterleaveDataDepth;\r
 } EFI_MEMORY_DEVICE_START_ADDRESS_DATA;\r
@@ -1377,25 +1377,25 @@ typedef enum _EFI_MEMORY_CHANNEL_TYPE {
 } EFI_MEMORY_CHANNEL_TYPE;\r
 \r
 ///\r
 } EFI_MEMORY_CHANNEL_TYPE;\r
 \r
 ///\r
-/// This data record refers the type of memory that is associated with the channel. This data record is a \r
-/// structure. \r
-/// The type definition structure for EFI_MEMORY_CHANNEL_TYPE_DATA is in SMBIOS 2.3.4, \r
-/// Table 3.3.38, Type 37, with the following offsets: \r
-///   - Offset 0x4 \r
-///   - Offset 0x5 \r
+/// This data record refers the type of memory that is associated with the channel. This data record is a\r
+/// structure.\r
+/// The type definition structure for EFI_MEMORY_CHANNEL_TYPE_DATA is in SMBIOS 2.3.4,\r
+/// Table 3.3.38, Type 37, with the following offsets:\r
+///   - Offset 0x4\r
+///   - Offset 0x5\r
 ///   - Offset 0x6\r
 ///   - Offset 0x6\r
-/// \r
+///\r
 typedef struct {\r
   ///\r
 typedef struct {\r
   ///\r
-  /// The type of memory that is associated with the channel. \r
-  /// \r
+  /// The type of memory that is associated with the channel.\r
+  ///\r
   EFI_MEMORY_CHANNEL_TYPE           MemoryChannelType;\r
   ///\r
   /// The maximum load that is supported by the channel.\r
   ///\r
   UINT8                             MemoryChannelMaximumLoad;\r
   ///\r
   EFI_MEMORY_CHANNEL_TYPE           MemoryChannelType;\r
   ///\r
   /// The maximum load that is supported by the channel.\r
   ///\r
   UINT8                             MemoryChannelMaximumLoad;\r
   ///\r
-  /// The number of memory devices on this channel. \r
+  /// The number of memory devices on this channel.\r
   ///\r
   UINT8                             MemoryChannelDeviceCount;\r
 } EFI_MEMORY_CHANNEL_TYPE_DATA;\r
   ///\r
   UINT8                             MemoryChannelDeviceCount;\r
 } EFI_MEMORY_CHANNEL_TYPE_DATA;\r
@@ -1403,25 +1403,25 @@ typedef struct {
 #define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER    0x00000007\r
 \r
 ///\r
 #define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER    0x00000007\r
 \r
 ///\r
-/// This data record refers to the memory device that is associated with the memory channel. This data \r
-/// record is a structure. \r
-/// The type definition structure for EFI_MEMORY_CHANNEL_DEVICE_DATA is in SMBIOS 2.3.4, \r
-/// Table 3.3.38, Type 37, with the following offsets:  \r
-///   - Offset 0x7 \r
+/// This data record refers to the memory device that is associated with the memory channel. This data\r
+/// record is a structure.\r
+/// The type definition structure for EFI_MEMORY_CHANNEL_DEVICE_DATA is in SMBIOS 2.3.4,\r
+/// Table 3.3.38, Type 37, with the following offsets:\r
+///   - Offset 0x7\r
 ///   - Offset 0x8\r
 ///\r
 typedef struct {\r
   ///\r
 ///   - Offset 0x8\r
 ///\r
 typedef struct {\r
   ///\r
-  /// A number between one and MemoryChannelDeviceCount plus an arbitrary base.  \r
-  /// \r
+  /// A number between one and MemoryChannelDeviceCount plus an arbitrary base.\r
+  ///\r
   UINT8                             DeviceId;\r
   ///\r
   UINT8                             DeviceId;\r
   ///\r
-  /// The Link of the associated memory device. See Memory Device (Type 17) for \r
-  /// memory devices. \r
+  /// The Link of the associated memory device. See Memory Device (Type 17) for\r
+  /// memory devices.\r
   ///\r
   EFI_INTER_LINK_DATA               DeviceLink;\r
   ///\r
   ///\r
   EFI_INTER_LINK_DATA               DeviceLink;\r
   ///\r
-  /// The number of load units that this device consumes. \r
+  /// The number of load units that this device consumes.\r
   ///\r
   UINT8                             MemoryChannelDeviceLoad;\r
 } EFI_MEMORY_CHANNEL_DEVICE_DATA;\r
   ///\r
   UINT8                             MemoryChannelDeviceLoad;\r
 } EFI_MEMORY_CHANNEL_DEVICE_DATA;\r
@@ -1430,18 +1430,18 @@ typedef struct {
 //  Memory. Controller Information - SMBIOS Type 5\r
 //\r
 ///\r
 //  Memory. Controller Information - SMBIOS Type 5\r
 //\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER    0x00000008\r
 \r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 #define EFI_MEMORY_CONTROLLER_INFORMATION_RECORD_NUMBER    0x00000008\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
-typedef enum {  \r
+typedef enum {\r
   EfiErrorDetectingMethodOther   = 1,\r
   EfiErrorDetectingMethodUnknown = 2,\r
   EfiErrorDetectingMethodNone    = 3,\r
   EfiErrorDetectingMethodOther   = 1,\r
   EfiErrorDetectingMethodUnknown = 2,\r
   EfiErrorDetectingMethodNone    = 3,\r
@@ -1453,7 +1453,7 @@ typedef enum {
 } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE;\r
 \r
 ///\r
 } EFI_MEMORY_ERROR_DETECT_METHOD_TYPE;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
@@ -1468,11 +1468,11 @@ typedef struct {
 } EFI_MEMORY_ERROR_CORRECT_CAPABILITY;\r
 \r
 ///\r
 } EFI_MEMORY_ERROR_CORRECT_CAPABILITY;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
-typedef enum {  \r
+typedef enum {\r
   EfiMemoryInterleaveOther      = 1,\r
   EfiMemoryInterleaveUnknown    = 2,\r
   EfiMemoryInterleaveOneWay     = 3,\r
   EfiMemoryInterleaveOther      = 1,\r
   EfiMemoryInterleaveUnknown    = 2,\r
   EfiMemoryInterleaveOneWay     = 3,\r
@@ -1483,7 +1483,7 @@ typedef enum {
 } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE;\r
 \r
 ///\r
 } EFI_MEMORY_SUPPORT_INTERLEAVE_TYPE;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
@@ -1497,7 +1497,7 @@ typedef struct {
 } EFI_MEMORY_SPEED_TYPE;\r
 \r
 ///\r
 } EFI_MEMORY_SPEED_TYPE;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
@@ -1517,7 +1517,7 @@ typedef struct {
 } EFI_MEMORY_SUPPORTED_TYPE;\r
 \r
 ///\r
 } EFI_MEMORY_SUPPORTED_TYPE;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
@@ -1532,7 +1532,7 @@ typedef struct {
 /// EFI_MEMORY_CONTROLLER_INFORMATION is obsolete\r
 /// Use EFI_MEMORY_CONTROLLER_INFORMATION_DATA instead\r
 ///\r
 /// EFI_MEMORY_CONTROLLER_INFORMATION is obsolete\r
 /// Use EFI_MEMORY_CONTROLLER_INFORMATION_DATA instead\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
@@ -1551,7 +1551,7 @@ typedef struct {
 } EFI_MEMORY_CONTROLLER_INFORMATION;\r
 \r
 ///\r
 } EFI_MEMORY_CONTROLLER_INFORMATION;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 5.\r
 ///\r
@@ -1572,17 +1572,17 @@ typedef struct {
 ///\r
 /// Memory. Error Information - SMBIOS Type 18\r
 ///\r
 ///\r
 /// Memory. Error Information - SMBIOS Type 18\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
 #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER    0x00000009\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
 #define EFI_MEMORY_32BIT_ERROR_INFORMATION_RECORD_NUMBER    0x00000009\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
-typedef enum {  \r
+typedef enum {\r
   EfiMemoryErrorOther             = 1,\r
   EfiMemoryErrorUnknown           = 2,\r
   EfiMemoryErrorOk                = 3,\r
   EfiMemoryErrorOther             = 1,\r
   EfiMemoryErrorUnknown           = 2,\r
   EfiMemoryErrorOk                = 3,\r
@@ -1599,22 +1599,22 @@ typedef enum {
   EfiMemoryErrorUnCorrectable     = 14\r
 } EFI_MEMORY_ERROR_TYPE;\r
 ///\r
   EfiMemoryErrorUnCorrectable     = 14\r
 } EFI_MEMORY_ERROR_TYPE;\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
-typedef enum {  \r
+typedef enum {\r
   EfiMemoryGranularityOther               = 1,\r
   EfiMemoryGranularityOtherUnknown        = 2,\r
   EfiMemoryGranularityDeviceLevel         = 3,\r
   EfiMemoryGranularityMemPartitionLevel   = 4\r
 } EFI_MEMORY_ERROR_GRANULARITY_TYPE;\r
 ///\r
   EfiMemoryGranularityOther               = 1,\r
   EfiMemoryGranularityOtherUnknown        = 2,\r
   EfiMemoryGranularityDeviceLevel         = 3,\r
   EfiMemoryGranularityMemPartitionLevel   = 4\r
 } EFI_MEMORY_ERROR_GRANULARITY_TYPE;\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
-typedef enum {  \r
+typedef enum {\r
   EfiMemoryErrorOperationOther            = 1,\r
   EfiMemoryErrorOperationUnknown          = 2,\r
   EfiMemoryErrorOperationRead             = 3,\r
   EfiMemoryErrorOperationOther            = 1,\r
   EfiMemoryErrorOperationUnknown          = 2,\r
   EfiMemoryErrorOperationRead             = 3,\r
@@ -1622,7 +1622,7 @@ typedef enum {
   EfiMemoryErrorOperationPartialWrite     = 5\r
 } EFI_MEMORY_ERROR_OPERATION_TYPE;\r
 ///\r
   EfiMemoryErrorOperationPartialWrite     = 5\r
 } EFI_MEMORY_ERROR_OPERATION_TYPE;\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 18.\r
 ///\r
@@ -1639,14 +1639,14 @@ typedef struct {
 ///\r
 /// Memory. Error Information - SMBIOS Type 33.\r
 ///\r
 ///\r
 /// Memory. Error Information - SMBIOS Type 33.\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 33.\r
 ///\r
 #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER    0x0000000A\r
 \r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 33.\r
 ///\r
 #define EFI_MEMORY_64BIT_ERROR_INFORMATION_RECORD_NUMBER    0x0000000A\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 33.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 type 33.\r
 ///\r
@@ -1661,7 +1661,7 @@ typedef struct {
 } EFI_MEMORY_64BIT_ERROR_INFORMATION;\r
 \r
 ///\r
 } EFI_MEMORY_64BIT_ERROR_INFORMATION;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It is implementation-specific to simplify the code logic.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It is implementation-specific to simplify the code logic.\r
 ///\r
@@ -1759,28 +1759,28 @@ typedef struct {
   EFI_PHYSICAL_ADDRESS              BiosStartingAddress;\r
   EFI_EXP_BASE2_DATA                BiosPhysicalDeviceSize;\r
   EFI_MISC_BIOS_CHARACTERISTICS     BiosCharacteristics1;\r
   EFI_PHYSICAL_ADDRESS              BiosStartingAddress;\r
   EFI_EXP_BASE2_DATA                BiosPhysicalDeviceSize;\r
   EFI_MISC_BIOS_CHARACTERISTICS     BiosCharacteristics1;\r
-  EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION  \r
+  EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION\r
                                     BiosCharacteristics2;\r
   ///\r
                                     BiosCharacteristics2;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
   UINT8                             BiosMajorRelease;\r
   ///\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
   UINT8                             BiosMajorRelease;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
   UINT8                             BiosMinorRelease;\r
   ///\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
   UINT8                             BiosMinorRelease;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
   UINT8                             BiosEmbeddedFirmwareMajorRelease;\r
   ///\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
   UINT8                             BiosEmbeddedFirmwareMajorRelease;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 0.\r
   ///\r
@@ -1812,13 +1812,13 @@ typedef struct {
   EFI_GUID                          SystemUuid;\r
   EFI_MISC_SYSTEM_WAKEUP_TYPE       SystemWakeupType;\r
   ///\r
   EFI_GUID                          SystemUuid;\r
   EFI_MISC_SYSTEM_WAKEUP_TYPE       SystemWakeupType;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 1.\r
   ///\r
   STRING_REF                        SystemSKUNumber;\r
   ///\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 1.\r
   ///\r
   STRING_REF                        SystemSKUNumber;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 1.\r
   ///\r
   /// In MiscSubclass specification 0.9, this data structure and corrsponding fields are NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 1.\r
   ///\r
@@ -1904,7 +1904,7 @@ typedef enum {
 \r
 typedef struct {\r
   ///\r
 \r
 typedef struct {\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass 0.9 specification, it has the incorrect field name "EFI_MISC_CHASSIS_TYPE".\r
   /// Change it to "ChassisType" to pass build.\r
   ///\r
   /// In MiscSubclass 0.9 specification, it has the incorrect field name "EFI_MISC_CHASSIS_TYPE".\r
   /// Change it to "ChassisType" to pass build.\r
   ///\r
@@ -2055,9 +2055,9 @@ typedef struct {
   EFI_MISC_PORT_CONNECTOR_TYPE      PortExternalConnectorType;\r
   EFI_MISC_PORT_TYPE                PortType;\r
   ///\r
   EFI_MISC_PORT_CONNECTOR_TYPE      PortExternalConnectorType;\r
   EFI_MISC_PORT_TYPE                PortType;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this type of field is defined as EFI_DEVICE_PATH_PROTOCOL,\r
   /// In MiscSubclass specification 0.9, this type of field is defined as EFI_DEVICE_PATH_PROTOCOL,\r
-  /// which causes the implementation some complexity. Keep it unchanged for backward \r
+  /// which causes the implementation some complexity. Keep it unchanged for backward\r
   /// compatibility.\r
   ///\r
   EFI_MISC_PORT_DEVICE_PATH         PortPath;\r
   /// compatibility.\r
   ///\r
   EFI_MISC_PORT_DEVICE_PATH         PortPath;\r
@@ -2085,7 +2085,7 @@ typedef enum {
   EfiSlotTypePci66MhzCapable              = 0x0E,\r
   EfiSlotTypeAgp                          = 0x0F,\r
   ///\r
   EfiSlotTypePci66MhzCapable              = 0x0E,\r
   EfiSlotTypeAgp                          = 0x0F,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, its naming should be EfiSlotTypeAgp2X\r
   /// rather than EfiSlotTypeApg2X.\r
   ///\r
   /// In MiscSubclass specification 0.9, its naming should be EfiSlotTypeAgp2X\r
   /// rather than EfiSlotTypeApg2X.\r
   ///\r
@@ -2099,7 +2099,7 @@ typedef enum {
   EfiSlotTypePC98LocalBus                 = 0xA3,\r
   EfiSlotTypePC98Card                     = 0xA4,\r
   ///\r
   EfiSlotTypePC98LocalBus                 = 0xA3,\r
   EfiSlotTypePC98Card                     = 0xA4,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, these fields aren't defined.\r
   /// They're introduced for SmBios 2.6 specification type 9.\r
   ///\r
   /// In MiscSubclass specification 0.9, these fields aren't defined.\r
   /// They're introduced for SmBios 2.6 specification type 9.\r
   ///\r
@@ -2120,7 +2120,7 @@ typedef enum {
   EfiSlotDataBusWidth64Bit      = 0x06,\r
   EfiSlotDataBusWidth128Bit     = 0x07,\r
   ///\r
   EfiSlotDataBusWidth64Bit      = 0x06,\r
   EfiSlotDataBusWidth128Bit     = 0x07,\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, these fields aren't defined.\r
   /// They're introduced for SmBios 2.6 specification type 9.\r
   ///\r
   /// In MiscSubclass specification 0.9, these fields aren't defined.\r
   /// They're introduced for SmBios 2.6 specification type 9.\r
   ///\r
@@ -2197,7 +2197,7 @@ typedef struct {
 typedef struct {\r
   STRING_REF                        OnBoardDeviceDescription;\r
   ///\r
 typedef struct {\r
   STRING_REF                        OnBoardDeviceDescription;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, the name is OnBoardDeviceType.\r
   /// Keep it unchanged for backward compatibilty.\r
   ///\r
   /// In MiscSubclass specification 0.9, the name is OnBoardDeviceType.\r
   /// Keep it unchanged for backward compatibilty.\r
   ///\r
@@ -2314,19 +2314,19 @@ typedef struct {
 // Portable Battery - SMBIOS Type 22\r
 //\r
 ///\r
 // Portable Battery - SMBIOS Type 22\r
 //\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the name is EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 #define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER   0x00000010\r
 \r
 ///\r
 /// In MiscSubclass specification 0.9, the name is EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 #define EFI_MISC_PORTABLE_BATTERY_RECORD_NUMBER   0x00000010\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_DEVICE_CHEMISTRY.\r
 /// And all field namings are also different with specification.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_DEVICE_CHEMISTRY.\r
 /// And all field namings are also different with specification.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
-typedef enum {  \r
+typedef enum {\r
   EfiPortableBatteryDeviceChemistryOther = 1,\r
   EfiPortableBatteryDeviceChemistryUnknown = 2,\r
   EfiPortableBatteryDeviceChemistryLeadAcid = 3,\r
   EfiPortableBatteryDeviceChemistryOther = 1,\r
   EfiPortableBatteryDeviceChemistryUnknown = 2,\r
   EfiPortableBatteryDeviceChemistryLeadAcid = 3,\r
@@ -2338,7 +2338,7 @@ typedef enum {
 } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY;\r
 \r
 ///\r
 } EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_LOCATION_DATA.\r
 /// Also, the name and the order of the fields vary with specifications.\r
 /// Keep it unchanged for backward compatibilty.\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BATTERY_LOCATION_DATA.\r
 /// Also, the name and the order of the fields vary with specifications.\r
 /// Keep it unchanged for backward compatibilty.\r
@@ -2349,7 +2349,7 @@ typedef struct {
   STRING_REF                        ManufactureDate;\r
   STRING_REF                        SerialNumber;\r
   STRING_REF                        DeviceName;\r
   STRING_REF                        ManufactureDate;\r
   STRING_REF                        SerialNumber;\r
   STRING_REF                        DeviceName;\r
-  EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY  \r
+  EFI_MISC_PORTABLE_BATTERY_DEVICE_CHEMISTRY\r
                                     DeviceChemistry;\r
   UINT16                            DesignCapacity;\r
   UINT16                            DesignVoltage;\r
                                     DeviceChemistry;\r
   UINT16                            DesignCapacity;\r
   UINT16                            DesignVoltage;\r
@@ -2359,8 +2359,8 @@ typedef struct {
   UINT16                            SBDSManufactureDate;\r
   STRING_REF                        SBDSDeviceChemistry;\r
   UINT8                             DesignCapacityMultiplier;\r
   UINT16                            SBDSManufactureDate;\r
   STRING_REF                        SBDSDeviceChemistry;\r
   UINT8                             DesignCapacityMultiplier;\r
-  UINT32                            OEMSpecific;  \r
-  UINT8                             BatteryNumber; // Temporary   \r
+  UINT32                            OEMSpecific;\r
+  UINT8                             BatteryNumber; // Temporary\r
   BOOLEAN                           Valid; // Is entry valid - Temporary\r
 } EFI_MISC_PORTABLE_BATTERY;\r
 \r
   BOOLEAN                           Valid; // Is entry valid - Temporary\r
 } EFI_MISC_PORTABLE_BATTERY;\r
 \r
@@ -2400,9 +2400,9 @@ typedef struct {
 #define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER    0x00000012\r
 \r
 ///\r
 #define EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA_RECORD_NUMBER    0x00000012\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// The MiscSubclass specification 0.9 only mentions the possible value of each field in\r
 /// The MiscSubclass specification 0.9 only mentions the possible value of each field in\r
-/// EFI_MISC_HARDWARE_SECURITY_SETTINGS. \r
+/// EFI_MISC_HARDWARE_SECURITY_SETTINGS.\r
 /// It's implementation-specific in order to to simplify the code logic.\r
 ///\r
 typedef enum {\r
 /// It's implementation-specific in order to to simplify the code logic.\r
 ///\r
 typedef enum {\r
@@ -2501,7 +2501,7 @@ typedef struct {
   EFI_MISC_TEMPERATURE_PROBE_LOCATION\r
                                     TemperatureProbeLocation;\r
   ///\r
   EFI_MISC_TEMPERATURE_PROBE_LOCATION\r
                                     TemperatureProbeLocation;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// MiscSubclass 0.9 specification defines the fields type as EFI_EXP_BASE10_DATA.\r
   /// In fact, they should be UINT16 type because they refer to 16bit width data.\r
   /// Keeping this inconsistency for backward compatibility.\r
   /// MiscSubclass 0.9 specification defines the fields type as EFI_EXP_BASE10_DATA.\r
   /// In fact, they should be UINT16 type because they refer to 16bit width data.\r
   /// Keeping this inconsistency for backward compatibility.\r
@@ -2584,7 +2584,7 @@ typedef struct {
 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER    0x0000001A\r
 \r
 ///\r
 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER    0x0000001A\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
@@ -2605,7 +2605,7 @@ typedef enum {
 \r
 typedef struct {\r
   ///\r
 \r
 typedef struct {\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, the field name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.\r
   /// Keep it unchanged for backward compatibilty.\r
   ///\r
   /// In MiscSubclass specification 0.9, the field name is EFI_MISC_BOOT_INFORMATION_STATUS_TYPE.\r
   /// Keep it unchanged for backward compatibilty.\r
   ///\r
@@ -2661,13 +2661,13 @@ typedef struct {
   EFI_INTER_LINK_DATA               ManagementDeviceLink;\r
   EFI_INTER_LINK_DATA               ManagementDeviceComponentLink;\r
   ///\r
   EFI_INTER_LINK_DATA               ManagementDeviceLink;\r
   EFI_INTER_LINK_DATA               ManagementDeviceComponentLink;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this field is NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 35.\r
   ///\r
   EFI_INTER_LINK_DATA               ManagementDeviceThresholdLink;\r
   ///\r
   /// In MiscSubclass specification 0.9, this field is NOT defined.\r
   /// It's introduced for SmBios 2.6 specification type 35.\r
   ///\r
   EFI_INTER_LINK_DATA               ManagementDeviceThresholdLink;\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, this field is NOT defined.\r
   /// It's implementation-specific to simplify the code logic.\r
   ///\r
   /// In MiscSubclass specification 0.9, this field is NOT defined.\r
   /// It's implementation-specific to simplify the code logic.\r
   ///\r
@@ -2692,7 +2692,7 @@ typedef struct {
 \r
 typedef struct {\r
   EFI_MISC_IPMI_INTERFACE_TYPE      IpmiInterfaceType;\r
 \r
 typedef struct {\r
   EFI_MISC_IPMI_INTERFACE_TYPE      IpmiInterfaceType;\r
-  EFI_MISC_IPMI_SPECIFICATION_REVISION  \r
+  EFI_MISC_IPMI_SPECIFICATION_REVISION\r
                                     IpmiSpecificationRevision;\r
   UINT16                            IpmiI2CSlaveAddress;\r
   UINT16                            IpmiNvDeviceAddress;\r
                                     IpmiSpecificationRevision;\r
   UINT16                            IpmiI2CSlaveAddress;\r
   UINT16                            IpmiNvDeviceAddress;\r
@@ -2710,7 +2710,7 @@ typedef struct {
 ///\r
 /// System Power supply Record - SMBIOS Type 39\r
 ///\r
 ///\r
 /// System Power supply Record - SMBIOS Type 39\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the type of all fields are UINT32.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 /// In MiscSubclass specification 0.9, the type of all fields are UINT32.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
@@ -2725,7 +2725,7 @@ typedef struct {
 } EFI_MISC_POWER_SUPPLY_CHARACTERISTICS;\r
 \r
 ///\r
 } EFI_MISC_POWER_SUPPLY_CHARACTERISTICS;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_POWER_SUPPLY_UNIT_GROUP_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_MISC_POWER_SUPPLY_UNIT_GROUP_DATA.\r
 /// Keep it unchanged for backward compatibilty.\r
 ///\r
@@ -2750,7 +2750,7 @@ typedef struct {
 ///\r
 /// OEM Data Record - SMBIOS Type 0x80-0xFF\r
 ///\r
 ///\r
 /// OEM Data Record - SMBIOS Type 0x80-0xFF\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_SMBIOS_STRUCTURE_HDR.\r
 /// Due to this, the structure is commonly used by vendors to construct SmBios type 0x80~0xFF table,\r
 /// Keep it unchanged for backward compatibilty.\r
 /// In MiscSubclass specification 0.9, the structure name is EFI_SMBIOS_STRUCTURE_HDR.\r
 /// Due to this, the structure is commonly used by vendors to construct SmBios type 0x80~0xFF table,\r
 /// Keep it unchanged for backward compatibilty.\r
@@ -2763,7 +2763,7 @@ typedef struct {
 \r
 typedef struct {\r
   ///\r
 \r
 typedef struct {\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In MiscSubclass specification 0.9, the field name is EFI_SMBIOS_STRUCTURE_HDR.\r
   /// Keep it unchanged for backward compatibilty.\r
   ///\r
   /// In MiscSubclass specification 0.9, the field name is EFI_SMBIOS_STRUCTURE_HDR.\r
   /// Keep it unchanged for backward compatibilty.\r
   ///\r
@@ -2776,14 +2776,14 @@ typedef struct {
 ///\r
 /// Misc. System Event Log  - SMBIOS Type 15\r
 ///\r
 ///\r
 /// Misc. System Event Log  - SMBIOS Type 15\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 15.\r
 ///\r
 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER    0x00000020\r
 \r
 ///\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 15.\r
 ///\r
 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER    0x00000020\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 15.\r
 ///\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 15.\r
 ///\r
@@ -2805,7 +2805,7 @@ typedef struct {
 //  0x00~0x04:  as following definition\r
 //  0x05~0x7f:  Available for future assignment.\r
 //  0x80~0xff:  BIOS Vendor/OEM-specific.\r
 //  0x00~0x04:  as following definition\r
 //  0x05~0x7f:  Available for future assignment.\r
 //  0x80~0xff:  BIOS Vendor/OEM-specific.\r
-// \r
+//\r
 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT    0x00\r
 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT    0X01\r
 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT   0X02\r
 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT    0x00\r
 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT    0X01\r
 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT   0X02\r
@@ -2815,13 +2815,13 @@ typedef struct {
 ///\r
 /// Management Device Threshold Data Record - SMBIOS Type 36\r
 ///\r
 ///\r
 /// Management Device Threshold Data Record - SMBIOS Type 36\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 36.\r
 ///\r
 #define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER    0x00000021\r
 ///\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 36.\r
 ///\r
 #define EFI_MISC_MANAGEMENT_DEVICE_THRESHOLD_RECORD_NUMBER    0x00000021\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 36.\r
 ///\r
 /// In MiscSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It's introduced for SmBios 2.6 specification type 36.\r
 ///\r
@@ -2859,7 +2859,7 @@ typedef EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA            EFI_MISC_SCHEDULED_POW
 typedef EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA           EFI_MISC_VOLTAGE_PROBE_DESCRIPTION;\r
 typedef EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA            EFI_MISC_COOLING_DEVICE_TEMP_LINK;\r
 typedef EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA       EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION;\r
 typedef EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA           EFI_MISC_VOLTAGE_PROBE_DESCRIPTION;\r
 typedef EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA            EFI_MISC_COOLING_DEVICE_TEMP_LINK;\r
 typedef EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA       EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION;\r
-typedef EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA \r
+typedef EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA\r
                                                           EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION;\r
 typedef EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA       EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION;\r
 typedef EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION;\r
                                                           EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION;\r
 typedef EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA       EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION;\r
 typedef EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION;\r
@@ -2867,7 +2867,7 @@ typedef EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
                                                           EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION;\r
 \r
 ///\r
                                                           EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It is implementation-specific to simplify the code logic.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It is implementation-specific to simplify the code logic.\r
 ///\r
@@ -2909,7 +2909,7 @@ typedef union {
 } EFI_MISC_SUBCLASS_RECORDS;\r
 \r
 ///\r
 } EFI_MISC_SUBCLASS_RECORDS;\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It is implementation-specific to simplify the code logic.\r
 ///\r
 /// In MemSubclass specification 0.9, the following data structures are NOT defined.\r
 /// It is implementation-specific to simplify the code logic.\r
 ///\r
@@ -2920,13 +2920,13 @@ typedef struct {
 #pragma pack()\r
 \r
 ///\r
 #pragma pack()\r
 \r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.\r
 /// But value is meaningful, 0 means Reserved.\r
 ///\r
 #define EFI_SUBCLASS_INSTANCE_RESERVED       0\r
 ///\r
 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.\r
 /// But value is meaningful, 0 means Reserved.\r
 ///\r
 #define EFI_SUBCLASS_INSTANCE_RESERVED       0\r
 ///\r
-/// Inconsistent with specification here:  \r
+/// Inconsistent with specification here:\r
 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.\r
 /// But value is meaningful, -1 means Not Applicable.\r
 ///\r
 /// In DataHubSubclass specification 0.9 page 16, the following symbol is NOT defined.\r
 /// But value is meaningful, -1 means Not Applicable.\r
 ///\r
index 56c34765c59383837464a662d2bd59722a2ee7c0..055db4e6caaf3cff1864d95bee8aa9422d969677 100644 (file)
@@ -2,13 +2,13 @@
   Guid used to define the Firmware File System.  See the Framework Firmware\r
   File System Specification for more details.\r
 \r
   Guid used to define the Firmware File System.  See the Framework Firmware\r
   File System Specification for more details.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index 9c7a3333be01e1f70a8f97583f07966c4308016a..66cbe078f1b455097ac17d8d1f0b775b5ba2adea 100644 (file)
@@ -2,13 +2,13 @@
   Definitions EFI_SMM_COMMUNICATE_HEADER used by EFI_SMM_BASE_PROTOCOL.Communicate()\r
   functions.\r
 \r
   Definitions EFI_SMM_COMMUNICATE_HEADER used by EFI_SMM_BASE_PROTOCOL.Communicate()\r
   functions.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define _SMM_COMMUNICATE_GUID_H_\r
 \r
 ///\r
 #define _SMM_COMMUNICATE_GUID_H_\r
 \r
 ///\r
-/// Inconsistent with specification here: \r
+/// Inconsistent with specification here:\r
 /// GUID definition format has been changed, because the GUID format in the Framework specification is incorrect.\r
 ///\r
 #define SMM_COMMUNICATE_HEADER_GUID \\r
 /// GUID definition format has been changed, because the GUID format in the Framework specification is incorrect.\r
 ///\r
 #define SMM_COMMUNICATE_HEADER_GUID \\r
index 04589cf040eebbd03178f422c58a1cb2c6412610..3610364584fcad1c7d78ee68d306091fb9f197dd 100644 (file)
@@ -8,13 +8,13 @@
   * the GUID specific data structure of HOB for reserving SMRAM regions.\r
   This GUIDed HOB can be used to convey the existence of the T-SEG reservation and H-SEG usage\r
 \r
   * the GUID specific data structure of HOB for reserving SMRAM regions.\r
   This GUIDed HOB can be used to convey the existence of the T-SEG reservation and H-SEG usage\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -33,23 +33,23 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 /**\r
 * GUID specific data structure of HOB for reserving SMRAM regions.\r
 *\r
 /**\r
 * GUID specific data structure of HOB for reserving SMRAM regions.\r
 *\r
-* Inconsistent with specification here: \r
+* Inconsistent with specification here:\r
 * EFI_HOB_SMRAM_DESCRIPTOR_BLOCK has been changed to EFI_SMRAM_HOB_DESCRIPTOR_BLOCK.\r
 * This inconsistency is kept in code in order for backward compatibility.\r
 **/\r
 typedef struct {\r
   ///\r
   /// Designates the number of possible regions in the system\r
 * EFI_HOB_SMRAM_DESCRIPTOR_BLOCK has been changed to EFI_SMRAM_HOB_DESCRIPTOR_BLOCK.\r
 * This inconsistency is kept in code in order for backward compatibility.\r
 **/\r
 typedef struct {\r
   ///\r
   /// Designates the number of possible regions in the system\r
-  /// that can be usable for SMRAM. \r
+  /// that can be usable for SMRAM.\r
   ///\r
   ///\r
-  /// Inconsistent with specification here:  \r
+  /// Inconsistent with specification here:\r
   /// In Framework SMM CIS 0.91 specification, it defines the field type as UINTN.\r
   /// However, HOBs are supposed to be CPU neutral, so UINT32 should be used instead.\r
   ///\r
   UINT32                NumberOfSmmReservedRegions;\r
   ///\r
   /// Used throughout this protocol to describe the candidate\r
   /// In Framework SMM CIS 0.91 specification, it defines the field type as UINTN.\r
   /// However, HOBs are supposed to be CPU neutral, so UINT32 should be used instead.\r
   ///\r
   UINT32                NumberOfSmmReservedRegions;\r
   ///\r
   /// Used throughout this protocol to describe the candidate\r
-  /// regions for SMRAM that are supported by this platform. \r
+  /// regions for SMRAM that are supported by this platform.\r
   ///\r
   EFI_SMRAM_DESCRIPTOR  Descriptor[1];\r
 } EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;\r
   ///\r
   EFI_SMRAM_DESCRIPTOR  Descriptor[1];\r
 } EFI_SMRAM_HOB_DESCRIPTOR_BLOCK;\r
index db0f422da8b72e9cf92de0eb7bc085c3668dc694..7f388f6c723c9900389af31453fc955b9fceb089 100644 (file)
@@ -8,13 +8,13 @@
   execution, the PEIM looks for a relevant PPI that is available to execute it, rather than executing it\r
   by issuing the native IA-32 instruction.\r
 \r
   execution, the PEIM looks for a relevant PPI that is available to execute it, rather than executing it\r
   by issuing the native IA-32 instruction.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -39,10 +39,10 @@ typedef struct _EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI EFI_PEI_BOOT_SCRIPT_EXECUTER_PP
   @param  PeiServices    A pointer to the system PEI Services Table.\r
   @param  This           A pointer to the EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI instance.\r
   @param  Address        The physical memory address where the table is stored.\r
   @param  PeiServices    A pointer to the system PEI Services Table.\r
   @param  This           A pointer to the EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI instance.\r
   @param  Address        The physical memory address where the table is stored.\r
-                         It must be zero if the table to be executed is stored in \r
+                         It must be zero if the table to be executed is stored in\r
                          a firmware volume file.\r
   @param  FvFile         The firmware volume file name that contains the table to\r
                          a firmware volume file.\r
   @param  FvFile         The firmware volume file name that contains the table to\r
-                         be executed. It must be NULL if the table to be executed \r
+                         be executed. It must be NULL if the table to be executed\r
                          is stored in physical memory.\r
 \r
   @retval EFI_SUCCESS           The boot script table was executed successfully.\r
                          is stored in physical memory.\r
 \r
   @retval EFI_SUCCESS           The boot script table was executed successfully.\r
@@ -50,7 +50,7 @@ typedef struct _EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI EFI_PEI_BOOT_SCRIPT_EXECUTER_PP
   @retval EFI_NOT_FOUND         The file name specified in FvFile cannot be found.\r
   @retval EFI_UNSUPPORTED       The format of the boot script table is invalid.\r
                                 Or, an unsupported opcode occurred in the table.\r
   @retval EFI_NOT_FOUND         The file name specified in FvFile cannot be found.\r
   @retval EFI_UNSUPPORTED       The format of the boot script table is invalid.\r
                                 Or, an unsupported opcode occurred in the table.\r
-                                Or there were opcode execution errors, such as an \r
+                                Or there were opcode execution errors, such as an\r
                                 insufficient dependency.\r
 \r
 **/\r
                                 insufficient dependency.\r
 \r
 **/\r
@@ -64,14 +64,14 @@ EFI_STATUS
   );\r
 \r
 ///\r
   );\r
 \r
 ///\r
-/// EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI produces the function which interprets and \r
+/// EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI produces the function which interprets and\r
 /// executes the Framework boot script table.\r
 ///\r
 struct _EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI {\r
 /// executes the Framework boot script table.\r
 ///\r
 struct _EFI_PEI_BOOT_SCRIPT_EXECUTER_PPI {\r
-       ///\r
-       /// Executes a boot script table.\r
-       ///\r
-  EFI_PEI_BOOT_SCRIPT_EXECUTE Execute;  \r
+  ///\r
+  /// Executes a boot script table.\r
+  ///\r
+  EFI_PEI_BOOT_SCRIPT_EXECUTE Execute;\r
 };\r
 \r
 extern EFI_GUID gEfiPeiBootScriptExecuterPpiGuid;\r
 };\r
 \r
 extern EFI_GUID gEfiPeiBootScriptExecuterPpiGuid;\r
index 14a9f82dab183175de7ce491fb4ba78e484bd899..d48fda525bc573051d2f9eb6571d221b7322e469 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   This file declares FindFv PPI, which is used to locate FVs that contain PEIMs in PEI.\r
 \r
 /** @file\r
   This file declares FindFv PPI, which is used to locate FVs that contain PEIMs in PEI.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define _FIND_FV_H_\r
 \r
 ///\r
 #define _FIND_FV_H_\r
 \r
 ///\r
-///  Inconsistent with specification here: \r
+///  Inconsistent with specification here:\r
 ///  GUID value format has been changed to the standard GUID format.\r
 ///\r
 #define EFI_PEI_FIND_FV_PPI_GUID \\r
 ///  GUID value format has been changed to the standard GUID format.\r
 ///\r
 #define EFI_PEI_FIND_FV_PPI_GUID \\r
index b19be053aeae17cbe2d71d2d85debf80d07dd786..ba806adc671b1add1caf380d90333f45d629a356 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Load image file from fv to memory.\r
 \r
 /** @file\r
   Load image file from fv to memory.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index ded452a16c3f126d71fd7587cbbf5007a2b00d0c..6749a4acb00e40f6a273cec7eb24b9566d37066d 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   This file declares the PciCfg PPI used to access the PCI configuration space in PEI\r
 \r
 /** @file\r
   This file declares the PciCfg PPI used to access the PCI configuration space in PEI\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
   @par Revision Reference:\r
   This PPI is defined in PEI CIS\r
 \r
   @par Revision Reference:\r
   This PPI is defined in PEI CIS\r
@@ -85,7 +85,7 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  The EFI_PEI_PCI_CFG_PPI interfaces are used to abstract accesses to PCI \r
+  The EFI_PEI_PCI_CFG_PPI interfaces are used to abstract accesses to PCI\r
   controllers behind a PCI root bridge controller.\r
 **/\r
 struct _EFI_PEI_PCI_CFG_PPI {\r
   controllers behind a PCI root bridge controller.\r
 **/\r
 struct _EFI_PEI_PCI_CFG_PPI {\r
@@ -93,12 +93,12 @@ struct _EFI_PEI_PCI_CFG_PPI {
   /// PCI read services.  See the Read() function description.\r
   ///\r
   EFI_PEI_PCI_CFG_PPI_IO  Read;\r
   /// PCI read services.  See the Read() function description.\r
   ///\r
   EFI_PEI_PCI_CFG_PPI_IO  Read;\r
-  \r
+\r
   ///\r
   /// PCI write services.  See the Write() function description.\r
   ///\r
   EFI_PEI_PCI_CFG_PPI_IO  Write;\r
   ///\r
   /// PCI write services.  See the Write() function description.\r
   ///\r
   EFI_PEI_PCI_CFG_PPI_IO  Write;\r
-  \r
+\r
   ///\r
   /// PCI read-modify-write services.  See the Modify() function description.\r
   ///\r
   ///\r
   /// PCI read-modify-write services.  See the Modify() function description.\r
   ///\r
index 167e3a889240e81ad4bd607551369383e64fd699..67c6477020e8fb9cb2650c4146fe2ef42911a2a6 100644 (file)
@@ -7,13 +7,13 @@
   storage. As such, a write command to certain technologies would alter the contents of the entire part,\r
   making the PEIM execution in the original position not follow the required flow.\r
 \r
   storage. As such, a write command to certain technologies would alter the contents of the entire part,\r
   making the PEIM execution in the original position not follow the required flow.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -38,17 +38,17 @@ typedef struct _EFI_PEI_READ_ONLY_VARIABLE_PPI  EFI_PEI_READ_ONLY_VARIABLE_PPI;
 #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
 #define EFI_VARIABLE_RUNTIME_ACCESS     0x00000004\r
 ///\r
 #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002\r
 #define EFI_VARIABLE_RUNTIME_ACCESS     0x00000004\r
 ///\r
-/// Inconsistent with specification here: \r
+/// Inconsistent with specification here:\r
 /// In Framework Spec, PeiCis0.91, neither the macro or its value is defined.\r
 /// Keeping this inconsistancy for backward compatibility.\r
 /// In Framework Spec, PeiCis0.91, neither the macro or its value is defined.\r
 /// Keeping this inconsistancy for backward compatibility.\r
-/// \r
+///\r
 #define EFI_VARIABLE_READ_ONLY          0x00000008\r
 ///@}\r
 \r
 /**\r
   Get Variable value by Name and GUID pair.\r
 \r
 #define EFI_VARIABLE_READ_ONLY          0x00000008\r
 ///@}\r
 \r
 /**\r
   Get Variable value by Name and GUID pair.\r
 \r
-  @param[in]  PeiServices    An indirect pointer to the PEI Services Table published \r
+  @param[in]  PeiServices    An indirect pointer to the PEI Services Table published\r
                              by the PEI Foundation.\r
   @param[in]  VariableName   A NULL-terminated Unicode string that is the name of the vendor's variable.\r
   @param[in]  VendorGuid     A unique identifier for the vendor.\r
                              by the PEI Foundation.\r
   @param[in]  VariableName   A NULL-terminated Unicode string that is the name of the vendor's variable.\r
   @param[in]  VendorGuid     A unique identifier for the vendor.\r
@@ -84,22 +84,22 @@ EFI_STATUS
   and on output the interface returns the next variable name data.  When the\r
   entire variable list has been returned, the error EFI_NOT_FOUND is returned.\r
 \r
   and on output the interface returns the next variable name data.  When the\r
   entire variable list has been returned, the error EFI_NOT_FOUND is returned.\r
 \r
-  @param[in]  PeiServices       An indirect pointer to the PEI Services Table \r
+  @param[in]  PeiServices       An indirect pointer to the PEI Services Table\r
                                 published by the PEI Foundation.\r
   @param[in]  VariableNameSize  The size of the VariableName buffer.\r
   @param[in]  VariableName      On input, supplies the last VariableName that was\r
                                 published by the PEI Foundation.\r
   @param[in]  VariableNameSize  The size of the VariableName buffer.\r
   @param[in]  VariableName      On input, supplies the last VariableName that was\r
-                                returned by GetNextVariableName(). On output, \r
-                                returns the Null-terminated Unicode string of the \r
+                                returned by GetNextVariableName(). On output,\r
+                                returns the Null-terminated Unicode string of the\r
                                 current variable.\r
   @param[in]  VendorGuid        On input, supplies the last VendorGuid that was\r
                                 current variable.\r
   @param[in]  VendorGuid        On input, supplies the last VendorGuid that was\r
-                                returned by GetNextVariableName(). On output, \r
+                                returned by GetNextVariableName(). On output,\r
                                 returns the VendorGuid of the current variable.\r
 \r
   @retval EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_NOT_FOUND         The next variable was not found.\r
   @retval EFI_BUFFER_TOO_SMALL  The VariableNameSize is too small for the result.\r
   @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.\r
                                 returns the VendorGuid of the current variable.\r
 \r
   @retval EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_NOT_FOUND         The next variable was not found.\r
   @retval EFI_BUFFER_TOO_SMALL  The VariableNameSize is too small for the result.\r
   @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.\r
-  @retval EFI_DEVICE_ERROR      The variable name could not be retrieved due to \r
+  @retval EFI_DEVICE_ERROR      The variable name could not be retrieved due to\r
                                 a hardware error.\r
 \r
 **/\r
                                 a hardware error.\r
 \r
 **/\r
@@ -114,19 +114,19 @@ EFI_STATUS
 \r
 ///\r
 /// This PPI provides a lightweight, read-only variant of the full EFI\r
 \r
 ///\r
 /// This PPI provides a lightweight, read-only variant of the full EFI\r
-/// variable services.  \r
+/// variable services.\r
 ///\r
 struct _EFI_PEI_READ_ONLY_VARIABLE_PPI {\r
 ///\r
 struct _EFI_PEI_READ_ONLY_VARIABLE_PPI {\r
-       ///\r
-  /// Inconsistent with specification here: \r
+  ///\r
+  /// Inconsistent with specification here:\r
   /// In Framework Spec, PeiCis0.91, the field is named as GetVariable and GetNextVariableName.\r
   /// Keeping this inconsistancy for backward compatibility.\r
   /// In Framework Spec, PeiCis0.91, the field is named as GetVariable and GetNextVariableName.\r
   /// Keeping this inconsistancy for backward compatibility.\r
-       /// \r
+  ///\r
   EFI_PEI_GET_VARIABLE            PeiGetVariable;         ///< A service to ascertain a given variable name.\r
   EFI_PEI_GET_NEXT_VARIABLE_NAME  PeiGetNextVariableName; ///< A service to ascertain a variable based upon a given, known variable\r
 };\r
 \r
 extern EFI_GUID gEfiPeiReadOnlyVariablePpiGuid;\r
 \r
   EFI_PEI_GET_VARIABLE            PeiGetVariable;         ///< A service to ascertain a given variable name.\r
   EFI_PEI_GET_NEXT_VARIABLE_NAME  PeiGetNextVariableName; ///< A service to ascertain a variable based upon a given, known variable\r
 };\r
 \r
 extern EFI_GUID gEfiPeiReadOnlyVariablePpiGuid;\r
 \r
-#endif /* __PEI_READ_ONLY_VARIABLE_PPI_H__ */\r
+#endif  /* __PEI_READ_ONLY_VARIABLE_PPI_H__ */\r
 \r
 \r
index f78605623557cadd7676bc30f259564c6cfd83fa..be1882657ceb471ef0c231d4ea4fd0519c5adfae 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   This file declares S3 Resume PPI which accomplishes the firmware S3 resume boot path\r
   and transfers control to OS.\r
 /** @file\r
   This file declares S3 Resume PPI which accomplishes the firmware S3 resume boot path\r
   and transfers control to OS.\r
-  \r
+\r
   This PPI is published by the S3 resume PEIM and can be used on the S3 resume boot path to\r
   restore the platform to its preboot configuration and transfer control to OS. The information that is\r
   required for an S3 resume can be saved during the normal boot path using\r
   This PPI is published by the S3 resume PEIM and can be used on the S3 resume boot path to\r
   restore the platform to its preboot configuration and transfer control to OS. The information that is\r
   required for an S3 resume can be saved during the normal boot path using\r
   - OS waking vector.\r
   - The reserved memory range to be used for the S3 resume.\r
   Otherwise, the S3 resume boot path may fail.\r
   - OS waking vector.\r
   - The reserved memory range to be used for the S3 resume.\r
   Otherwise, the S3 resume boot path may fail.\r
-  \r
-Copyright (c) 2007 - 2010, 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
+\r
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -49,7 +49,7 @@ typedef struct _EFI_PEI_S3_RESUME_PPI   EFI_PEI_S3_RESUME_PPI;
   @param  PeiServices    The pointer to the PEI Services Table\r
 \r
   @retval EFI_ABORTED           Execution of the S3 resume boot script table failed.\r
   @param  PeiServices    The pointer to the PEI Services Table\r
 \r
   @retval EFI_ABORTED           Execution of the S3 resume boot script table failed.\r
-  @retval EFI_NOT_FOUND         Could not be locate some necessary information that \r
+  @retval EFI_NOT_FOUND         Could not be locate some necessary information that\r
                                 is used for the S3 resume boot path d.\r
 \r
 **/\r
                                 is used for the S3 resume boot path d.\r
 \r
 **/\r
index e1b5a06321da0e52ba8952e6fedafe191597f5e6..2e888e6f7589fbb7f01860f1a5c1be0e79cbe4af 100644 (file)
@@ -4,13 +4,13 @@
   This PPI is defined in PEI CIS version 0.91. It supports encapsulating sections,\r
   such as GUIDed sections used to authenticate the file encapsulation of other domain-specific wrapping.\r
 \r
   This PPI is defined in PEI CIS version 0.91. It supports encapsulating sections,\r
   such as GUIDed sections used to authenticate the file encapsulation of other domain-specific wrapping.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -40,43 +40,43 @@ typedef struct _EFI_PEI_SECTION_EXTRACTION_PPI EFI_PEI_SECTION_EXTRACTION_PPI;
 \r
   @param PeiServices            The pointer to the PEI Services Table.\r
   @param This                   Indicates the calling context\r
 \r
   @param PeiServices            The pointer to the PEI Services Table.\r
   @param This                   Indicates the calling context\r
-  @param SectionType            The pointer to an EFI_SECTION_TYPE. If \r
-                                SectionType == NULL, the contents of the entire \r
+  @param SectionType            The pointer to an EFI_SECTION_TYPE. If\r
+                                SectionType == NULL, the contents of the entire\r
                                 section are returned in Buffer. If SectionType\r
                                 is not NULL, only the requested section is returned.\r
   @param SectionDefinitionGuid  The pointer to an EFI_GUID.\r
                                 section are returned in Buffer. If SectionType\r
                                 is not NULL, only the requested section is returned.\r
   @param SectionDefinitionGuid  The pointer to an EFI_GUID.\r
-                                If SectionType == EFI_SECTION_GUID_DEFINED, \r
-                                SectionDefinitionGuid indicates for which section \r
-                                GUID to search.  If SectionType != EFI_SECTION_GUID_DEFINED, \r
+                                If SectionType == EFI_SECTION_GUID_DEFINED,\r
+                                SectionDefinitionGuid indicates for which section\r
+                                GUID to search.  If SectionType != EFI_SECTION_GUID_DEFINED,\r
                                 SectionDefinitionGuid is unused and is ignored.\r
   @param SectionInstance        If SectionType is not NULL, indicates which\r
                                 instance of the requested section type to return.\r
                                 SectionDefinitionGuid is unused and is ignored.\r
   @param SectionInstance        If SectionType is not NULL, indicates which\r
                                 instance of the requested section type to return.\r
-  @param Buffer                 The pointer to a pointer to a buffer in which the \r
+  @param Buffer                 The pointer to a pointer to a buffer in which the\r
                                 section contents are returned.\r
                                 section contents are returned.\r
-  @param BufferSize             A pointer to a caller-allocated UINT32. On input, \r
-                                *BufferSize indicates the size in bytes of the \r
+  @param BufferSize             A pointer to a caller-allocated UINT32. On input,\r
+                                *BufferSize indicates the size in bytes of the\r
                                 memory region pointed to by Buffer. On output,\r
                                 memory region pointed to by Buffer. On output,\r
-                                *BufferSize contains the number of bytes required \r
+                                *BufferSize contains the number of bytes required\r
                                 to read the section.\r
   @param AuthenticationStatus   A pointer to a caller-allocated UINT32 in\r
                                 to read the section.\r
   @param AuthenticationStatus   A pointer to a caller-allocated UINT32 in\r
-                                which any metadata from encapsulating GUID-defined \r
+                                which any metadata from encapsulating GUID-defined\r
                                 sections is returned.\r
 \r
   @retval EFI_SUCCESS           The section was successfully processed, and the section\r
                                 contents were returned in Buffer.\r
   @retval EFI_PROTOCOL_ERROR    A GUID-defined section was encountered in\r
                                 sections is returned.\r
 \r
   @retval EFI_SUCCESS           The section was successfully processed, and the section\r
                                 contents were returned in Buffer.\r
   @retval EFI_PROTOCOL_ERROR    A GUID-defined section was encountered in\r
-                                the file with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED \r
-                                bit set, but there was no corresponding GUIDed \r
-                                Section Extraction Protocol in the handle database. \r
+                                the file with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED\r
+                                bit set, but there was no corresponding GUIDed\r
+                                Section Extraction Protocol in the handle database.\r
                                 *Buffer is unmodified.\r
                                 *Buffer is unmodified.\r
-  @retval EFI_NOT_FOUND         The requested section does not exist.*Buffer is \r
+  @retval EFI_NOT_FOUND         The requested section does not exist.*Buffer is\r
                                 unmodified.\r
                                 unmodified.\r
-  @retval EFI_OUT_OF_RESOURCES  The system has insufficient resources to process \r
+  @retval EFI_OUT_OF_RESOURCES  The system has insufficient resources to process\r
                                 the request.\r
   @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.\r
   @retval EFI_WARN_TOO_SMALL    The size of the input buffer is insufficient to\r
                                 the request.\r
   @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.\r
   @retval EFI_WARN_TOO_SMALL    The size of the input buffer is insufficient to\r
-                                contain the requested section. The input buffer \r
-                                is filled and contents are section contents are \r
+                                contain the requested section. The input buffer\r
+                                is filled and contents are section contents are\r
                                 truncated.\r
 \r
 **/\r
                                 truncated.\r
 \r
 **/\r
index 200bc3ca4990032edc3909d1e086b06a96996e16..d3005c4a4cbcd747f4a210e409419ddb523dd505 100644 (file)
@@ -1,17 +1,17 @@
 /** @file\r
   This file declares the Security Architectural PPI.\r
 /** @file\r
   This file declares the Security Architectural PPI.\r
-  \r
+\r
   This PPI is installed by a platform PEIM that abstracts the security policy to the PEI\r
   Foundation, namely the case of a PEIM's authentication state being returned during the PEI section\r
   extraction process.\r
   This PPI is installed by a platform PEIM that abstracts the security policy to the PEI\r
   Foundation, namely the case of a PEIM's authentication state being returned during the PEI section\r
   extraction process.\r
-  \r
-Copyright (c) 2006 - 2010, 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
+\r
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -35,12 +35,12 @@ typedef struct _EFI_PEI_SECURITY_PPI  EFI_PEI_SECURITY_PPI;
   to varying file authentication states.\r
 \r
   @param  PeiServices             The pointer to the PEI Services Table.\r
   to varying file authentication states.\r
 \r
   @param  PeiServices             The pointer to the PEI Services Table.\r
-  @param  This                    Interface pointer that implements the particular \r
+  @param  This                    Interface pointer that implements the particular\r
                                   EFI_PEI_SECURITY_PPI instance.\r
                                   EFI_PEI_SECURITY_PPI instance.\r
-  @param  AuthenticationStatus    Status returned by the verification service as \r
+  @param  AuthenticationStatus    Status returned by the verification service as\r
                                   part of section extraction.\r
   @param  FfsFileHeader           The pointer to the file under review.\r
                                   part of section extraction.\r
   @param  FfsFileHeader           The pointer to the file under review.\r
-  @param  DeferExecution          The pointer to a variable that alerts the PEI \r
+  @param  DeferExecution          The pointer to a variable that alerts the PEI\r
                                   Foundation to defer execution of a PEIM.\r
 \r
   @retval EFI_SUCCESS             The service performed its action successfully.\r
                                   Foundation to defer execution of a PEIM.\r
 \r
   @retval EFI_SUCCESS             The service performed its action successfully.\r
index 2a95fef5ea07d08a26e73bdf290acf6148a079b1..87a6293d4e1c924fcf26e1e8c5482d06dc1ed2a9 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
 /** @file\r
-  This file declares the Smbus PPI, which provides the basic I/O interfaces that a PEIM \r
+  This file declares the Smbus PPI, which provides the basic I/O interfaces that a PEIM\r
   uses to access its SMBus controller and the slave devices attached to it.\r
 \r
   uses to access its SMBus controller and the slave devices attached to it.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -37,14 +37,14 @@ typedef struct _EFI_PEI_SMBUS_PPI EFI_PEI_SMBUS_PPI;
   @param[in]      SlaveAddress  The SMBUS hardware address to which the SMBUS\r
                                 device is preassigned or allocated.\r
   @param[in]      Command       This command is transmitted by the SMBus host\r
   @param[in]      SlaveAddress  The SMBUS hardware address to which the SMBUS\r
                                 device is preassigned or allocated.\r
   @param[in]      Command       This command is transmitted by the SMBus host\r
-                                controller to the SMBus slave device, and the \r
+                                controller to the SMBus slave device, and the\r
                                 interpretation is SMBus slave device specific.\r
   @param[in]      Operation     Signifies which particular SMBus hardware protocol\r
                                 instance to use to execute the SMBus transactions.\r
                                 interpretation is SMBus slave device specific.\r
   @param[in]      Operation     Signifies which particular SMBus hardware protocol\r
                                 instance to use to execute the SMBus transactions.\r
-  @param[in]      PecCheck      Defines if Packet Error Code (PEC) checking is \r
+  @param[in]      PecCheck      Defines if Packet Error Code (PEC) checking is\r
                                 required for this operation.\r
   @param[in, out] Length        The number of bytes for this operation.\r
                                 required for this operation.\r
   @param[in, out] Length        The number of bytes for this operation.\r
-  @param[in, out] Buffer        Contains the value of data to execute to the SMBus \r
+  @param[in, out] Buffer        Contains the value of data to execute to the SMBus\r
                                 slave device.\r
 \r
   @retval EFI_SUCCESS           The last data that was returned from the access\r
                                 slave device.\r
 \r
   @retval EFI_SUCCESS           The last data that was returned from the access\r
@@ -57,8 +57,8 @@ typedef struct _EFI_PEI_SMBUS_PPI EFI_PEI_SMBUS_PPI;
   @retval EFI_DEVICE_ERROR      The request was not completed because a failure\r
                                 was recorded in the Host Status Register bit.\r
   @retval EFI_INVALID_PARAMETER The operation is not defined in EFI_SMBUS_OPERATION.\r
   @retval EFI_DEVICE_ERROR      The request was not completed because a failure\r
                                 was recorded in the Host Status Register bit.\r
   @retval EFI_INVALID_PARAMETER The operation is not defined in EFI_SMBUS_OPERATION.\r
-  @retval EFI_INVALID_PARAMETER Length/Buffer is NULL for operations except for \r
-                                EfiSmbusQuickRead and EfiSmbusQuickWrite. Length \r
+  @retval EFI_INVALID_PARAMETER Length/Buffer is NULL for operations except for\r
+                                EfiSmbusQuickRead and EfiSmbusQuickWrite. Length\r
                                 is outside the range of valid values.\r
   @retval EFI_UNSUPPORTED       The SMBus operation or PEC is not supported.\r
   @retval EFI_BUFFER_TOO_SMALL  Buffer is not sufficient for this operation.\r
                                 is outside the range of valid values.\r
   @retval EFI_UNSUPPORTED       The SMBus operation or PEC is not supported.\r
   @retval EFI_BUFFER_TOO_SMALL  Buffer is not sufficient for this operation.\r
@@ -105,15 +105,15 @@ EFI_STATUS
 \r
   @param[in]      PeiServices   A pointer to the system PEI Services Table.\r
   @param[in]      This          A pointer to the EFI_PEI_SMBUS_PPI instance.\r
 \r
   @param[in]      PeiServices   A pointer to the system PEI Services Table.\r
   @param[in]      This          A pointer to the EFI_PEI_SMBUS_PPI instance.\r
-  @param[in]      ArpAll        A Boolean expression that indicates if the host \r
-                                drivers need to enumerate all the devices or to \r
+  @param[in]      ArpAll        A Boolean expression that indicates if the host\r
+                                drivers need to enumerate all the devices or to\r
                                 enumerate only the device that is identified\r
                                 enumerate only the device that is identified\r
-                                by SmbusUdid. If ArpAll is TRUE, SmbusUdid and \r
+                                by SmbusUdid. If ArpAll is TRUE, SmbusUdid and\r
                                 SlaveAddress are optional and ignored if entered.\r
                                 SlaveAddress are optional and ignored if entered.\r
-                                If ArpAll is FALSE, ArpDevice will enumerate \r
+                                If ArpAll is FALSE, ArpDevice will enumerate\r
                                 SmbusUdid, and the address will be at SlaveAddress.\r
   @param[in]      SmbusUdid     The targeted SMBus Unique Device Identifier (UDID).\r
                                 SmbusUdid, and the address will be at SlaveAddress.\r
   @param[in]      SmbusUdid     The targeted SMBus Unique Device Identifier (UDID).\r
-                                The UDID may not exist for SMBus devices with fixed \r
+                                The UDID may not exist for SMBus devices with fixed\r
                                 addresses.\r
   @param[in, out] SlaveAddress  The new SMBus address for the slave device for\r
                                 which the operation is targeted.\r
                                 addresses.\r
   @param[in, out] SlaveAddress  The new SMBus address for the slave device for\r
                                 which the operation is targeted.\r
@@ -125,7 +125,7 @@ EFI_STATUS
                                 due to a lack of resources.\r
   @retval EFI_TIMEOUT           The SMBus slave device did not respond.\r
   @retval EFI_DEVICE_ERROR      The request was not completed because the transaction failed.\r
                                 due to a lack of resources.\r
   @retval EFI_TIMEOUT           The SMBus slave device did not respond.\r
   @retval EFI_DEVICE_ERROR      The request was not completed because the transaction failed.\r
-  @retval EFI_UNSUPPORTED       ArpDevice() is not implemented by this PEIM. \r
+  @retval EFI_UNSUPPORTED       ArpDevice() is not implemented by this PEIM.\r
                                 This return value is not defined in the Framework Specification.\r
                                 This return value was introduced in the PI Specification.\r
 \r
                                 This return value is not defined in the Framework Specification.\r
                                 This return value was introduced in the PI Specification.\r
 \r
@@ -151,7 +151,7 @@ EFI_STATUS
                                  by the SMBus controller driver.\r
 \r
   @retval EFI_SUCCESS       The device map was returned correctly in the buffer.\r
                                  by the SMBus controller driver.\r
 \r
   @retval EFI_SUCCESS       The device map was returned correctly in the buffer.\r
-  @retval EFI_UNSUPPORTED   GetArpMap() are not implemented by this PEIM. \r
+  @retval EFI_UNSUPPORTED   GetArpMap() are not implemented by this PEIM.\r
                             This return value was not defined in the Framework Specification.\r
                             This return value was introduced in the PI Specification.\r
 \r
                             This return value was not defined in the Framework Specification.\r
                             This return value was introduced in the PI Specification.\r
 \r
@@ -166,7 +166,7 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Allows a device driver to register for a callback when the bus driver detects a state that it needs to \r
+  Allows a device driver to register for a callback when the bus driver detects a state that it needs to\r
   propagate to other PEIMs that are registered for a callback.\r
 \r
   The Notify() function registers all the callback functions to allow the\r
   propagate to other PEIMs that are registered for a callback.\r
 \r
   The Notify() function registers all the callback functions to allow the\r
@@ -184,7 +184,7 @@ EFI_STATUS
                             detects the SlaveAddress and Data pair.\r
 \r
   @retval EFI_SUCCESS       NotifyFunction has been registered.\r
                             detects the SlaveAddress and Data pair.\r
 \r
   @retval EFI_SUCCESS       NotifyFunction has been registered.\r
-  @retval EFI_UNSUPPORTED   Notify() are not implemented by this PEIM. \r
+  @retval EFI_UNSUPPORTED   Notify() are not implemented by this PEIM.\r
                             This return value is not defined in  the Framework Specification.\r
                             This return value was introduced in the PI Specification.\r
 \r
                             This return value is not defined in  the Framework Specification.\r
                             This return value was introduced in the PI Specification.\r
 \r
@@ -208,21 +208,21 @@ struct _EFI_PEI_SMBUS_PPI {
   /// Executes the SMBus operation to an SMBus slave device.\r
   ///\r
   EFI_PEI_SMBUS_PPI_EXECUTE_OPERATION Execute;\r
   /// Executes the SMBus operation to an SMBus slave device.\r
   ///\r
   EFI_PEI_SMBUS_PPI_EXECUTE_OPERATION Execute;\r
-  \r
+\r
   ///\r
   /// Allows an SMBus 2.0 device(s) to be Address Resolution Protocol (ARP)\r
   ///\r
   EFI_PEI_SMBUS_PPI_ARP_DEVICE        ArpDevice;\r
   ///\r
   /// Allows an SMBus 2.0 device(s) to be Address Resolution Protocol (ARP)\r
   ///\r
   EFI_PEI_SMBUS_PPI_ARP_DEVICE        ArpDevice;\r
-  \r
+\r
   ///\r
   /// Allows a PEIM to retrieve the address that was allocated by the SMBus\r
   ///\r
   /// Allows a PEIM to retrieve the address that was allocated by the SMBus\r
-  /// host controller during enumeration/ARP.  \r
+  /// host controller during enumeration/ARP.\r
   ///\r
   EFI_PEI_SMBUS_PPI_GET_ARP_MAP       GetArpMap;\r
   ///\r
   EFI_PEI_SMBUS_PPI_GET_ARP_MAP       GetArpMap;\r
-  \r
+\r
   ///\r
   /// Allows a driver to register for a callback to the SMBus host\r
   ///\r
   /// Allows a driver to register for a callback to the SMBus host\r
-  /// controller driver when the bus issues a notification to the bus controller PEIM.  \r
+  /// controller driver when the bus issues a notification to the bus controller PEIM.\r
   ///\r
   EFI_PEI_SMBUS_PPI_NOTIFY            Notify;\r
 };\r
   ///\r
   EFI_PEI_SMBUS_PPI_NOTIFY            Notify;\r
 };\r
index 0d466bd50350cb3b5ba95a25ba5524ddaba940a6..f7fac0e2ec6b80db1c70e22f65a95a461459911c 100644 (file)
@@ -1,20 +1,20 @@
 /** @file\r
   This protocol is used to prepare all information that is needed for the S3 resume boot path. This\r
   protocol is not required for all platforms.\r
 /** @file\r
   This protocol is used to prepare all information that is needed for the S3 resume boot path. This\r
   protocol is not required for all platforms.\r
-  \r
-Copyright (c) 2006 - 2010, 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
+\r
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
   This Protocol is defined in Framework of S3 Resume Boot Path Spec.\r
   Version 0.9.\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
   This Protocol is defined in Framework of S3 Resume Boot Path Spec.\r
   Version 0.9.\r
-  \r
+\r
 **/\r
 \r
 #ifndef _ACPI_S3_SAVE_PROTOCOL_H_\r
 **/\r
 \r
 #ifndef _ACPI_S3_SAVE_PROTOCOL_H_\r
@@ -38,14 +38,14 @@ typedef struct _EFI_ACPI_S3_SAVE_PROTOCOL EFI_ACPI_S3_SAVE_PROTOCOL;
 //\r
 \r
 /**\r
 //\r
 \r
 /**\r
-       This function is used to:\r
-  \r
+   This function is used to:\r
+\r
   - Prepare all information that is needed in the S3 resume boot path. This information can include\r
   the following:\r
      -- Framework boot script table\r
      -- RSDT pointer\r
      -- Reserved memory for the S3 resume\r
   - Prepare all information that is needed in the S3 resume boot path. This information can include\r
   the following:\r
      -- Framework boot script table\r
      -- RSDT pointer\r
      -- Reserved memory for the S3 resume\r
-     \r
+\r
   - Get the minimum legacy memory length (meaning below 1 MB) that is required for the S3 resume boot path.\r
   If LegacyMemoryAddress is NULL, the firmware will be unable to jump into a real-mode\r
   waking vector. However, it might still be able to jump into a flat-mode waking vector as long as the\r
   - Get the minimum legacy memory length (meaning below 1 MB) that is required for the S3 resume boot path.\r
   If LegacyMemoryAddress is NULL, the firmware will be unable to jump into a real-mode\r
   waking vector. However, it might still be able to jump into a flat-mode waking vector as long as the\r
@@ -59,7 +59,7 @@ typedef struct _EFI_ACPI_S3_SAVE_PROTOCOL EFI_ACPI_S3_SAVE_PROTOCOL;
   @retval EFI_SUCCESS           All information was saved successfully.\r
   @retval EFI_INVALID_PARAMETER The memory range is not located below 1 MB.\r
   @retval EFI_OUT_OF_RESOURCES  Resources were insufficient to save all the information.\r
   @retval EFI_SUCCESS           All information was saved successfully.\r
   @retval EFI_INVALID_PARAMETER The memory range is not located below 1 MB.\r
   @retval EFI_OUT_OF_RESOURCES  Resources were insufficient to save all the information.\r
-  @retval EFI_NOT_FOUND         Some necessary information cannot be found. \r
+  @retval EFI_NOT_FOUND         Some necessary information cannot be found.\r
 \r
 **/\r
 typedef\r
 \r
 **/\r
 typedef\r
@@ -79,11 +79,11 @@ EFI_STATUS
   scope of this specification.\r
 \r
   @param  This                  A pointer to the EFI_ACPI_S3_SAVE_PROTOCOL instance.\r
   scope of this specification.\r
 \r
   @param  This                  A pointer to the EFI_ACPI_S3_SAVE_PROTOCOL instance.\r
-  @param  Size                 The returned size of legacy memory below 1MB.\r
+  @param  Size       The returned size of legacy memory below 1MB.\r
 \r
   @retval EFI_SUCCESS           Size was successfully returned.\r
   @retval EFI_INVALID_PARAMETER The pointer Size is NULL.\r
 \r
   @retval EFI_SUCCESS           Size was successfully returned.\r
   @retval EFI_INVALID_PARAMETER The pointer Size is NULL.\r
-    \r
+\r
 **/\r
 typedef\r
 EFI_STATUS\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -100,7 +100,7 @@ EFI_STATUS
     - ACPI table information, such as RSDT, through which the OS waking vector can be located.\r
     - The range of reserved memory that can be used on the S3 resume boot path.\r
   This protocol can be used after the Framework makes sure that the boot process is complete and\r
     - ACPI table information, such as RSDT, through which the OS waking vector can be located.\r
     - The range of reserved memory that can be used on the S3 resume boot path.\r
   This protocol can be used after the Framework makes sure that the boot process is complete and\r
-  that no hardware has been left unconfigured. Where to call this protocol to save information is implementation-specific. \r
+  that no hardware has been left unconfigured. Where to call this protocol to save information is implementation-specific.\r
   In the case of an EFI-aware OS, ExitBootServices() can be a choice to provide this hook.\r
   The currently executing EFI OS loader image calls ExitBootServices()to terminate all boot\r
   services. After ExitBootServices() successfully completes, the loader becomes responsible\r
   In the case of an EFI-aware OS, ExitBootServices() can be a choice to provide this hook.\r
   The currently executing EFI OS loader image calls ExitBootServices()to terminate all boot\r
   services. After ExitBootServices() successfully completes, the loader becomes responsible\r
@@ -116,7 +116,7 @@ struct _EFI_ACPI_S3_SAVE_PROTOCOL {
   /// Gets the size of legacy memory below 1 MB that is required for S3 resume.\r
   ///\r
   EFI_ACPI_GET_LEGACY_MEMORY_SIZE   GetLegacyMemorySize;\r
   /// Gets the size of legacy memory below 1 MB that is required for S3 resume.\r
   ///\r
   EFI_ACPI_GET_LEGACY_MEMORY_SIZE   GetLegacyMemorySize;\r
-  \r
+\r
   ///\r
   /// Prepare all information for an S3 resume.\r
   ///\r
   ///\r
   /// Prepare all information for an S3 resume.\r
   ///\r
index 278ef8e42b35764720e4c250af52a8378bcde61e..cb89c65bdb03d598c9aebe5bbcbcaf097aefd9f7 100644 (file)
@@ -3,18 +3,18 @@
   services handle many of the more mundane tasks that are required to publish a set of tables. The\r
   services will:\r
         - Generate common tables.\r
   services handle many of the more mundane tasks that are required to publish a set of tables. The\r
   services will:\r
         - Generate common tables.\r
-       - Update the table links.\r
-       - Ensure that tables are properly aligned and use correct types of memory.\r
-       - Update checksum values and IDs.\r
-       - Complete the final installation of the tables.\r
\r
-Copyright (c) 2007 - 2010, 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
+  - Update the table links.\r
+  - Ensure that tables are properly aligned and use correct types of memory.\r
+  - Update checksum values and IDs.\r
+  - Complete the final installation of the tables.\r
+\r
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -95,10 +95,10 @@ EFI_STATUS
   Causes one or more versions of the ACPI tables to be published in\r
   the EFI system configuration tables.\r
 \r
   Causes one or more versions of the ACPI tables to be published in\r
   the EFI system configuration tables.\r
 \r
-  The PublishTables() function installs the ACPI tables for the versions that are specified in \r
-  Version. No tables are published for Version equal to EFI_ACPI_VERSION_NONE. Once \r
-  published, tables will continue to be updated as tables are modified with \r
-  EFI_ACPI_SUPPORT_PROTOCOL.SetAcpiTable(). \r
+  The PublishTables() function installs the ACPI tables for the versions that are specified in\r
+  Version. No tables are published for Version equal to EFI_ACPI_VERSION_NONE. Once\r
+  published, tables will continue to be updated as tables are modified with\r
+  EFI_ACPI_SUPPORT_PROTOCOL.SetAcpiTable().\r
 \r
   @param  This                  A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance.\r
   @param  Version               Indicates to which version(s) of ACPI the table should be published.\r
 \r
   @param  This                  A pointer to the EFI_ACPI_SUPPORT_PROTOCOL instance.\r
   @param  Version               Indicates to which version(s) of ACPI the table should be published.\r
index a8710abc8ac61704359eb2d15cafd3cdf72642ce..a6edc0aae951ffd92171e7437106fc92a64c543e 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
 /** @file\r
-  This protocol is used to store or record various boot scripts into boot \r
+  This protocol is used to store or record various boot scripts into boot\r
   script tables.\r
 \r
   script tables.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index ec75da09fdbcf0f491184d0405d9d9df443a8dcc..e11265758bdf333682b9ee557ed4c30f8a700020 100644 (file)
@@ -1,18 +1,18 @@
 /** @file\r
 /** @file\r
-  This code abstracts the CPU IO Protocol which installed by some platform or chipset-specific \r
-  PEIM that abstracts the processor-visible I/O operations. \r
-  \r
+  This code abstracts the CPU IO Protocol which installed by some platform or chipset-specific\r
+  PEIM that abstracts the processor-visible I/O operations.\r
+\r
   Note: This is a runtime protocol and can be used by runtime drivers after ExitBootServices().\r
   It is different from the PI 1.2 CPU I/O 2 Protocol, which is a boot services only protocol\r
   and may not be used by runtime drivers after ExitBootServices().\r
 \r
   Note: This is a runtime protocol and can be used by runtime drivers after ExitBootServices().\r
   It is different from the PI 1.2 CPU I/O 2 Protocol, which is a boot services only protocol\r
   and may not be used by runtime drivers after ExitBootServices().\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -32,13 +32,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   }\r
 \r
 //\r
   }\r
 \r
 //\r
-// Framework CPU IO protocol structure is the same as CPU IO 2 protocol defined in PI 1.2 spec. \r
+// Framework CPU IO protocol structure is the same as CPU IO 2 protocol defined in PI 1.2 spec.\r
 // However, there is a significant different between the Framework CPU I/O\r
 // Protocol and the PI 1.2 CPU I/O 2 Protocol.  The Framework one is a runtime\r
 // protocol, which means it can be used by runtime drivers after ExitBootServices().\r
 // The PI one is not runtime safe, so it is a boot services only protocol and may\r
 // not be used by runtime drivers after ExitBootServices().\r
 // However, there is a significant different between the Framework CPU I/O\r
 // Protocol and the PI 1.2 CPU I/O 2 Protocol.  The Framework one is a runtime\r
 // protocol, which means it can be used by runtime drivers after ExitBootServices().\r
 // The PI one is not runtime safe, so it is a boot services only protocol and may\r
 // not be used by runtime drivers after ExitBootServices().\r
-// \r
+//\r
 typedef EFI_CPU_IO2_PROTOCOL EFI_CPU_IO_PROTOCOL;\r
 \r
 extern EFI_GUID gEfiCpuIoProtocolGuid;\r
 typedef EFI_CPU_IO2_PROTOCOL EFI_CPU_IO_PROTOCOL;\r
 \r
 extern EFI_GUID gEfiCpuIoProtocolGuid;\r
index eb828fc6f0519277b0e9ff680791696e18ba5e45..dbe99ae159b3574860aed713b1a15d315ac8cb48 100644 (file)
@@ -3,13 +3,13 @@
   data and those wishing to be made aware of all information that\r
   has been logged.  This protocol may only be called <= TPL_NOTIFY.\r
 \r
   data and those wishing to be made aware of all information that\r
   has been logged.  This protocol may only be called <= TPL_NOTIFY.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -33,7 +33,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 //  data. The format of the data is defined by the DataRecordGuid.\r
 //\r
 // If EFI_DATA_RECORD_HEADER is extended in the future, the Version number and HeaderSize must\r
 //  data. The format of the data is defined by the DataRecordGuid.\r
 //\r
 // If EFI_DATA_RECORD_HEADER is extended in the future, the Version number and HeaderSize must\r
-//  change. \r
+//  change.\r
 //\r
 // The logger is responcible for initializing:\r
 //  Version, HeaderSize, RecordSize, DataRecordGuid, DataRecordClass\r
 //\r
 // The logger is responcible for initializing:\r
 //  Version, HeaderSize, RecordSize, DataRecordGuid, DataRecordClass\r
@@ -99,27 +99,27 @@ EFI_STATUS
 \r
   @param  This                  The EFI_DATA_HUB_PROTOCOL instance.\r
   @param  MonotonicCount        On input, it specifies the Record to return.\r
 \r
   @param  This                  The EFI_DATA_HUB_PROTOCOL instance.\r
   @param  MonotonicCount        On input, it specifies the Record to return.\r
-                                An input of zero means to return the first record, \r
+                                An input of zero means to return the first record,\r
                                 as does an input of one.\r
   @param  FilterDriver          If FilterDriver is not passed in a MonotonicCount\r
                                 as does an input of one.\r
   @param  FilterDriver          If FilterDriver is not passed in a MonotonicCount\r
-                                of zero, it means to return the first data record. \r
-                                If FilterDriver is passed in, then a MonotonicCount \r
+                                of zero, it means to return the first data record.\r
+                                If FilterDriver is passed in, then a MonotonicCount\r
                                 of zero means to return the first data not yet read\r
                                 by FilterDriver.\r
                                 of zero means to return the first data not yet read\r
                                 by FilterDriver.\r
-  @param  Record                Returns a dynamically allocated memory buffer with \r
+  @param  Record                Returns a dynamically allocated memory buffer with\r
                                 a data record that matches MonotonicCount.\r
 \r
   @retval EFI_SUCCESS           Data was returned in Record.\r
   @retval EFI_INVALID_PARAMETER FilterDriver was passed in but does not exist.\r
   @retval EFI_NOT_FOUND         MonotonicCount does not match any data record\r
                                 a data record that matches MonotonicCount.\r
 \r
   @retval EFI_SUCCESS           Data was returned in Record.\r
   @retval EFI_INVALID_PARAMETER FilterDriver was passed in but does not exist.\r
   @retval EFI_NOT_FOUND         MonotonicCount does not match any data record\r
-                                in the system. If a MonotonicCount of zero was \r
+                                in the system. If a MonotonicCount of zero was\r
                                 passed in, then no data records exist in the system.\r
   @retval EFI_OUT_OF_RESOURCES  Record was not returned due to lack\r
                                 of system resources.\r
                                 passed in, then no data records exist in the system.\r
   @retval EFI_OUT_OF_RESOURCES  Record was not returned due to lack\r
                                 of system resources.\r
-  @note  Inconsistent with specification here: \r
-         In Framework for EFI Data Hub Specification, Version 0.9, This definition \r
-         is named as EFI_DATA_HUB_GET_NEXT_DATA_RECORD. The inconsistency is \r
-         maintained for backward compatibility. \r
+  @note  Inconsistent with specification here:\r
+         In Framework for EFI Data Hub Specification, Version 0.9, This definition\r
+         is named as EFI_DATA_HUB_GET_NEXT_DATA_RECORD. The inconsistency is\r
+         maintained for backward compatibility.\r
 **/\r
 typedef\r
 EFI_STATUS\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -136,28 +136,28 @@ EFI_STATUS
   @param  This                  The EFI_DATA_HUB_PROTOCOL instance.\r
   @param  FilterEvent           The EFI_EVENT to signal whenever data that matches\r
                                 FilterClass is logged in the system.\r
   @param  This                  The EFI_DATA_HUB_PROTOCOL instance.\r
   @param  FilterEvent           The EFI_EVENT to signal whenever data that matches\r
                                 FilterClass is logged in the system.\r
-  @param  FilterTpl             The maximum EFI_TPL at which FilterEvent can be \r
-                                signaled. It is strongly recommended that you use  \r
-                                the lowest EFI_TPL possible. \r
+  @param  FilterTpl             The maximum EFI_TPL at which FilterEvent can be\r
+                                signaled. It is strongly recommended that you use\r
+                                the lowest EFI_TPL possible.\r
   @param  FilterClass           FilterEvent will be signaled whenever a bit\r
   @param  FilterClass           FilterEvent will be signaled whenever a bit\r
-                                in EFI_DATA_RECORD_HEADER.DataRecordClass is also \r
-                                set in FilterClass. If FilterClass is zero, no \r
+                                in EFI_DATA_RECORD_HEADER.DataRecordClass is also\r
+                                set in FilterClass. If FilterClass is zero, no\r
                                 class-based filtering will be performed.\r
   @param  FilterDataRecordGuid  FilterEvent will be signaled whenever\r
                                 class-based filtering will be performed.\r
   @param  FilterDataRecordGuid  FilterEvent will be signaled whenever\r
-                                FilterDataRecordGuid matches \r
-                                EFI_DATA_RECORD_HEADER.DataRecordGuid. \r
-                                If FilterDataRecordGuid is NULL, then no GUID-based \r
+                                FilterDataRecordGuid matches\r
+                                EFI_DATA_RECORD_HEADER.DataRecordGuid.\r
+                                If FilterDataRecordGuid is NULL, then no GUID-based\r
                                 filtering will be performed.\r
 \r
   @retval EFI_SUCCESS           The filter driver event was registered\r
                                 filtering will be performed.\r
 \r
   @retval EFI_SUCCESS           The filter driver event was registered\r
-  @retval EFI_ALREADY_STARTED   FilterEvent was previously registered and cannot \r
+  @retval EFI_ALREADY_STARTED   FilterEvent was previously registered and cannot\r
                                 be registered again.\r
   @retval EFI_OUT_OF_RESOURCES  The filter driver event was not registered\r
                                 due to lack of system resources.\r
                                 be registered again.\r
   @retval EFI_OUT_OF_RESOURCES  The filter driver event was not registered\r
                                 due to lack of system resources.\r
-  @note  Inconsistent with specification here: \r
-         In Framework for EFI Data Hub Specification, Version 0.9, This definition \r
-         is named as EFI_DATA_HUB_REGISTER_DATA_FILTER_DRIVER. The inconsistency \r
-         is maintained for backward compatibility. \r
+  @note  Inconsistent with specification here:\r
+         In Framework for EFI Data Hub Specification, Version 0.9, This definition\r
+         is named as EFI_DATA_HUB_REGISTER_DATA_FILTER_DRIVER. The inconsistency\r
+         is maintained for backward compatibility.\r
 **/\r
 typedef\r
 EFI_STATUS\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -178,10 +178,10 @@ EFI_STATUS
 \r
   @retval EFI_SUCCESS           The filter driver represented by FilterEvent was shut off.\r
   @retval EFI_NOT_FOUND         FilterEvent did not exist.\r
 \r
   @retval EFI_SUCCESS           The filter driver represented by FilterEvent was shut off.\r
   @retval EFI_NOT_FOUND         FilterEvent did not exist.\r
-  @note  Inconsistent with specification here: \r
-         In Framework for EFI Data Hub Specification, Version 0.9, This definition \r
-         is named as EFI_DATA_HUB_UNREGISTER_DATA_FILTER_DRIVER. The inconsistency \r
-         is maintained for backward compatibility.  \r
+  @note  Inconsistent with specification here:\r
+         In Framework for EFI Data Hub Specification, Version 0.9, This definition\r
+         is named as EFI_DATA_HUB_UNREGISTER_DATA_FILTER_DRIVER. The inconsistency\r
+         is maintained for backward compatibility.\r
 **/\r
 typedef\r
 EFI_STATUS\r
 **/\r
 typedef\r
 EFI_STATUS\r
@@ -198,19 +198,19 @@ struct _EFI_DATA_HUB_PROTOCOL {
   ///\r
   /// Logs a data record.\r
   ///\r
   ///\r
   /// Logs a data record.\r
   ///\r
-  EFI_DATA_HUB_LOG_DATA                 LogData; \r
-  \r
+  EFI_DATA_HUB_LOG_DATA                 LogData;\r
+\r
   ///\r
   /// Gets a data record. Used both to view the memory-based log and to\r
   /// get information about which data records have been consumed by a filter driver.\r
   ///\r
   EFI_DATA_HUB_GET_NEXT_RECORD          GetNextRecord;\r
   ///\r
   /// Gets a data record. Used both to view the memory-based log and to\r
   /// get information about which data records have been consumed by a filter driver.\r
   ///\r
   EFI_DATA_HUB_GET_NEXT_RECORD          GetNextRecord;\r
-  \r
+\r
   ///\r
   /// Allows the registration of an EFI event to act as a filter driver for all data records that are logged.\r
   ///\r
   EFI_DATA_HUB_REGISTER_FILTER_DRIVER   RegisterFilterDriver;\r
   ///\r
   /// Allows the registration of an EFI event to act as a filter driver for all data records that are logged.\r
   ///\r
   EFI_DATA_HUB_REGISTER_FILTER_DRIVER   RegisterFilterDriver;\r
-  \r
+\r
   ///\r
   /// Used to remove a filter driver that was added with RegisterFilterDriver().\r
   ///\r
   ///\r
   /// Used to remove a filter driver that was added with RegisterFilterDriver().\r
   ///\r
index 8c19f0192ce766fa7643d9f7b75e769b33227a63..dd32ab65dd442533304446db60873554a01793b6 100644 (file)
@@ -1,19 +1,19 @@
 /** @file\r
   This file declares the Firmware Volume Protocol.\r
 /** @file\r
   This file declares the Firmware Volume Protocol.\r
-  \r
+\r
   The Firmware Volume Protocol provides file-level access to the firmware volume.\r
   Each firmware volume driver must produce an instance of the Firmware Volume\r
   Protocol if the firmware volume is to be visible to the system. The Firmware\r
   Volume Protocol also provides mechanisms for determining and modifying some\r
   attributes of the firmware volume.\r
 \r
   The Firmware Volume Protocol provides file-level access to the firmware volume.\r
   Each firmware volume driver must produce an instance of the Firmware Volume\r
   Protocol if the firmware volume is to be visible to the system. The Firmware\r
   Volume Protocol also provides mechanisms for determining and modifying some\r
   attributes of the firmware volume.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -102,18 +102,18 @@ EFI_STATUS
   Sets volume attributes\r
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
   Sets volume attributes\r
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
-  @param  Attributes            On input, Attributes is a pointer to an \r
-                                EFI_FV_ATTRIBUTES containing the desired firmware \r
-                                volume settings. On successful return, it contains \r
-                                the new settings of the firmware volume. On \r
-                                unsuccessful return, Attributes is not modified \r
+  @param  Attributes            On input, Attributes is a pointer to an\r
+                                EFI_FV_ATTRIBUTES containing the desired firmware\r
+                                volume settings. On successful return, it contains\r
+                                the new settings of the firmware volume. On\r
+                                unsuccessful return, Attributes is not modified\r
                                 and the firmware volume settings are not changed.\r
 \r
   @retval EFI_INVALID_PARAMETER A bit in Attributes was invalid.\r
                                 and the firmware volume settings are not changed.\r
 \r
   @retval EFI_INVALID_PARAMETER A bit in Attributes was invalid.\r
-  @retval EFI_SUCCESS           The requested firmware volume attributes were set \r
+  @retval EFI_SUCCESS           The requested firmware volume attributes were set\r
                                 and the resulting EFI_FV_ATTRIBUTES is returned in\r
                                 Attributes.\r
                                 and the resulting EFI_FV_ATTRIBUTES is returned in\r
                                 Attributes.\r
-  @retval EFI_ACCESS_DENIED     The Device is locked and does not permit modification. \r
+  @retval EFI_ACCESS_DENIED     The Device is locked and does not permit modification.\r
 \r
 **/\r
 typedef\r
 \r
 **/\r
 typedef\r
@@ -124,26 +124,26 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Read the requested file (NameGuid) or file information from the firmware volume \r
+  Read the requested file (NameGuid) or file information from the firmware volume\r
   and returns data in Buffer.\r
 \r
   @param  This                  The EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
   and returns data in Buffer.\r
 \r
   @param  This                  The EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
-  @param  NameGuid              The pointer to EFI_GUID, which is the filename of \r
+  @param  NameGuid              The pointer to EFI_GUID, which is the filename of\r
                                 the file to read.\r
   @param  Buffer                The pointer to pointer to buffer in which contents of file are returned.\r
                                 <br>\r
                                 the file to read.\r
   @param  Buffer                The pointer to pointer to buffer in which contents of file are returned.\r
                                 <br>\r
-                                If Buffer is NULL, only type, attributes, and size \r
+                                If Buffer is NULL, only type, attributes, and size\r
                                 are returned as there is no output buffer.\r
                                 <br>\r
                                 are returned as there is no output buffer.\r
                                 <br>\r
-                                If Buffer != NULL and *Buffer == NULL, the output \r
+                                If Buffer != NULL and *Buffer == NULL, the output\r
                                 buffer is allocated from BS pool by ReadFile.\r
                                 <br>\r
                                 buffer is allocated from BS pool by ReadFile.\r
                                 <br>\r
-                                If Buffer != NULL and *Buffer != NULL, the output \r
-                                buffer has been allocated by the caller and is being \r
+                                If Buffer != NULL and *Buffer != NULL, the output\r
+                                buffer has been allocated by the caller and is being\r
                                 passed in.\r
   @param  BufferSize            On input: The buffer size. On output: The size\r
                                 required to complete the read.\r
                                 passed in.\r
   @param  BufferSize            On input: The buffer size. On output: The size\r
                                 required to complete the read.\r
-  @param  FoundType             The pointer to the type of the file whose data \r
+  @param  FoundType             The pointer to the type of the file whose data\r
                                 is returned.\r
   @param  FileAttributes        The pointer to attributes of the file whose data\r
                                 is returned.\r
                                 is returned.\r
   @param  FileAttributes        The pointer to attributes of the file whose data\r
                                 is returned.\r
@@ -153,7 +153,7 @@ EFI_STATUS
   @retval EFI_WARN_BUFFER_TOO_SMALL The buffer is too small to contain the requested output.\r
                                     The buffer filled, and the output is truncated.\r
   @retval EFI_NOT_FOUND             NameGuid was not found in the firmware volume.\r
   @retval EFI_WARN_BUFFER_TOO_SMALL The buffer is too small to contain the requested output.\r
                                     The buffer filled, and the output is truncated.\r
   @retval EFI_NOT_FOUND             NameGuid was not found in the firmware volume.\r
-  @retval EFI_DEVICE_ERROR          A hardware error occurred when attempting to \r
+  @retval EFI_DEVICE_ERROR          A hardware error occurred when attempting to\r
                                     access the firmware volume.\r
   @retval EFI_ACCESS_DENIED         The firmware volume is configured to disallow reads.\r
   @retval EFI_OUT_OF_RESOURCES      An allocation failure occurred.\r
                                     access the firmware volume.\r
   @retval EFI_ACCESS_DENIED         The firmware volume is configured to disallow reads.\r
   @retval EFI_OUT_OF_RESOURCES      An allocation failure occurred.\r
@@ -178,28 +178,28 @@ EFI_STATUS
   @param  NameGuid              Filename identifying the file from which to read.\r
   @param  SectionType           The section type to retrieve.\r
   @param  SectionInstance       The instance of SectionType to retrieve.\r
   @param  NameGuid              Filename identifying the file from which to read.\r
   @param  SectionType           The section type to retrieve.\r
   @param  SectionInstance       The instance of SectionType to retrieve.\r
-  @param  Buffer                Pointer to pointer to buffer in which contents of \r
+  @param  Buffer                Pointer to pointer to buffer in which contents of\r
                                 a file are returned.\r
                                 <br>\r
                                 If Buffer is NULL, only type, attributes, and size\r
                                 are returned as there is no output buffer.\r
                                 <br>\r
                                 a file are returned.\r
                                 <br>\r
                                 If Buffer is NULL, only type, attributes, and size\r
                                 are returned as there is no output buffer.\r
                                 <br>\r
-                                If Buffer != NULL and *Buffer == NULL, the output \r
+                                If Buffer != NULL and *Buffer == NULL, the output\r
                                 buffer is allocated from BS pool by ReadFile.\r
                                 <br>\r
                                 buffer is allocated from BS pool by ReadFile.\r
                                 <br>\r
-                                If Buffer != NULL and *Buffer != NULL, the output \r
-                                buffer has been allocated by the caller and is being \r
+                                If Buffer != NULL and *Buffer != NULL, the output\r
+                                buffer has been allocated by the caller and is being\r
                                 passed in.\r
                                 passed in.\r
-  @param  BufferSize            The pointer to the buffer size passed in, and on  \r
+  @param  BufferSize            The pointer to the buffer size passed in, and on\r
                                 output the size required to complete the read.\r
   @param  AuthenticationStatus  The pointer to the authentication status of the data.\r
 \r
   @retval EFI_SUCCESS                The call completed successfully.\r
                                 output the size required to complete the read.\r
   @param  AuthenticationStatus  The pointer to the authentication status of the data.\r
 \r
   @retval EFI_SUCCESS                The call completed successfully.\r
-  @retval EFI_WARN_BUFFER_TOO_SMALL  The buffer is too small to contain the requested output. \r
+  @retval EFI_WARN_BUFFER_TOO_SMALL  The buffer is too small to contain the requested output.\r
                                      The buffer is filled and the output is truncated.\r
   @retval EFI_OUT_OF_RESOURCES       An allocation failure occurred.\r
   @retval EFI_NOT_FOUND              The name was not found in the firmware volume.\r
                                      The buffer is filled and the output is truncated.\r
   @retval EFI_OUT_OF_RESOURCES       An allocation failure occurred.\r
   @retval EFI_NOT_FOUND              The name was not found in the firmware volume.\r
-  @retval EFI_DEVICE_ERROR           A hardware error occurred when attempting to \r
+  @retval EFI_DEVICE_ERROR           A hardware error occurred when attempting to\r
                                      access the firmware volume.\r
   @retval EFI_ACCESS_DENIED          The firmware volume is configured to disallow reads.\r
 \r
                                      access the firmware volume.\r
   @retval EFI_ACCESS_DENIED          The firmware volume is configured to disallow reads.\r
 \r
@@ -233,22 +233,22 @@ typedef struct {
   Write the supplied file (NameGuid) to the FV.\r
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
   Write the supplied file (NameGuid) to the FV.\r
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
-  @param  NumberOfFiles         Indicates the number of file records pointed to \r
+  @param  NumberOfFiles         Indicates the number of file records pointed to\r
                                 by FileData.\r
                                 by FileData.\r
-  @param  WritePolicy           Indicates the level of reliability of the write \r
+  @param  WritePolicy           Indicates the level of reliability of the write\r
                                 with respect to things like power failure events.\r
                                 with respect to things like power failure events.\r
-  @param  FileData              A pointer to an array of EFI_FV_WRITE_FILE_DATA \r
-                                structures. Each element in the array indicates \r
+  @param  FileData              A pointer to an array of EFI_FV_WRITE_FILE_DATA\r
+                                structures. Each element in the array indicates\r
                                 a file to write, and there are NumberOfFiles\r
                                 elements in the input array.\r
 \r
   @retval EFI_SUCCESS           The write completed successfully.\r
                                 a file to write, and there are NumberOfFiles\r
                                 elements in the input array.\r
 \r
   @retval EFI_SUCCESS           The write completed successfully.\r
-  @retval EFI_OUT_OF_RESOURCES  The firmware volume does not have enough free \r
+  @retval EFI_OUT_OF_RESOURCES  The firmware volume does not have enough free\r
                                 space to store file(s).\r
                                 space to store file(s).\r
-  @retval EFI_DEVICE_ERROR      A hardware error occurred when attempting to \r
+  @retval EFI_DEVICE_ERROR      A hardware error occurred when attempting to\r
                                 access the firmware volume.\r
   @retval EFI_WRITE_PROTECTED   The firmware volume is configured to disallow writes.\r
                                 access the firmware volume.\r
   @retval EFI_WRITE_PROTECTED   The firmware volume is configured to disallow writes.\r
-  @retval EFI_NOT_FOUND         A delete was requested, but the requested file was \r
+  @retval EFI_NOT_FOUND         A delete was requested, but the requested file was\r
                                 not found in the firmware volume.\r
   @retval EFI_INVALID_PARAMETER A delete was requested with a multiple file write.\r
                                 An unsupported WritePolicy was requested.\r
                                 not found in the firmware volume.\r
   @retval EFI_INVALID_PARAMETER A delete was requested with a multiple file write.\r
                                 An unsupported WritePolicy was requested.\r
@@ -268,18 +268,18 @@ EFI_STATUS
   Given the input key, search for the next matching file in the volume.\r
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
   Given the input key, search for the next matching file in the volume.\r
 \r
   @param  This                  Indicates the EFI_FIRMWARE_VOLUME_PROTOCOL instance.\r
-  @param  Key                   Pointer to a caller allocated buffer that contains \r
-                                an implementation-specific key that is used to track \r
+  @param  Key                   Pointer to a caller allocated buffer that contains\r
+                                an implementation-specific key that is used to track\r
                                 where to begin searching on successive calls.\r
   @param  FileType              The pointer to the file type to filter for.\r
   @param  NameGuid              The pointer to Guid filename of the file found.\r
   @param  Attributes            The pointer to Attributes of the file found.\r
   @param  Size                  The pointer to Size in bytes of the file found.\r
 \r
                                 where to begin searching on successive calls.\r
   @param  FileType              The pointer to the file type to filter for.\r
   @param  NameGuid              The pointer to Guid filename of the file found.\r
   @param  Attributes            The pointer to Attributes of the file found.\r
   @param  Size                  The pointer to Size in bytes of the file found.\r
 \r
-  @retval EFI_SUCCESS           The output parameters are filled with data obtained from \r
+  @retval EFI_SUCCESS           The output parameters are filled with data obtained from\r
                                 the first matching file that was found.\r
   @retval EFI_NOT_FOUND         No files of type FileType were found.\r
                                 the first matching file that was found.\r
   @retval EFI_NOT_FOUND         No files of type FileType were found.\r
-  @retval EFI_DEVICE_ERROR      A hardware error occurred when attempting to access \r
+  @retval EFI_DEVICE_ERROR      A hardware error occurred when attempting to access\r
                                 the firmware volume.\r
   @retval EFI_ACCESS_DENIED     The firmware volume is configured to disallow reads.\r
 \r
                                 the firmware volume.\r
   @retval EFI_ACCESS_DENIED     The firmware volume is configured to disallow reads.\r
 \r
index 3468ceb3889b8c3370e82b3025c565e37a47e749..cfdbc1c7dff521383d0e4a8e9ed067fb3308b54d 100644 (file)
@@ -1,16 +1,16 @@
 /** @file\r
   This file provides control over block-oriented firmware devices.\r
 \r
 /** @file\r
   This file provides control over block-oriented firmware devices.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
 \r
-  @par Revision Reference: \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
   This protocol is defined in framework spec: Firmware Volume Block Specification.\r
 \r
 **/\r
   This protocol is defined in framework spec: Firmware Volume Block Specification.\r
 \r
 **/\r
@@ -24,18 +24,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 typedef struct _FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL;\r
 ///\r
 /// The type of EFI FVB attribute per the Framework specification.\r
 typedef struct _FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL;\r
 ///\r
 /// The type of EFI FVB attribute per the Framework specification.\r
-/// \r
+///\r
 typedef UINT32  EFI_FVB_ATTRIBUTES;\r
 \r
 /**\r
   The GetAttributes() function retrieves the attributes and\r
 typedef UINT32  EFI_FVB_ATTRIBUTES;\r
 \r
 /**\r
   The GetAttributes() function retrieves the attributes and\r
-  current settings of the block. \r
+  current settings of the block.\r
 \r
   @param This       Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
 \r
   @param Attributes Pointer to EFI_FVB_ATTRIBUTES in which the\r
                     attributes and current settings are\r
 \r
   @param This       Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
 \r
   @param Attributes Pointer to EFI_FVB_ATTRIBUTES in which the\r
                     attributes and current settings are\r
-                    returned. \r
+                    returned.\r
 \r
   @retval EFI_SUCCESS The firmware volume attributes were\r
                       returned.\r
 \r
   @retval EFI_SUCCESS The firmware volume attributes were\r
                       returned.\r
@@ -59,8 +59,8 @@ EFI_STATUS
                       EFI_FVB_ATTRIBUTES that contains the\r
                       desired firmware volume settings. On\r
                       successful return, it contains the new\r
                       EFI_FVB_ATTRIBUTES that contains the\r
                       desired firmware volume settings. On\r
                       successful return, it contains the new\r
-                      settings of the firmware volume. \r
-  \r
+                      settings of the firmware volume.\r
+\r
   @retval EFI_SUCCESS           The firmware volume attributes were returned.\r
 \r
   @retval EFI_INVALID_PARAMETER The attributes requested are in\r
   @retval EFI_SUCCESS           The firmware volume attributes were returned.\r
 \r
   @retval EFI_INVALID_PARAMETER The attributes requested are in\r
@@ -83,14 +83,14 @@ EFI_STATUS
   only for memory-mapped firmware volumes.\r
 \r
   @param This     Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
   only for memory-mapped firmware volumes.\r
 \r
   @param This     Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
-  \r
+\r
   @param Address  Pointer to a caller-allocated\r
                   EFI_PHYSICAL_ADDRESS that, on successful\r
                   return from GetPhysicalAddress(), contains the\r
                   base address of the firmware volume.\r
   @param Address  Pointer to a caller-allocated\r
                   EFI_PHYSICAL_ADDRESS that, on successful\r
                   return from GetPhysicalAddress(), contains the\r
                   base address of the firmware volume.\r
-  \r
+\r
   @retval EFI_SUCCESS       The firmware volume base address is returned.\r
   @retval EFI_SUCCESS       The firmware volume base address is returned.\r
-  \r
+\r
   @retval EFI_NOT_SUPPORTED The firmware volume is not memory mapped.\r
 \r
 **/\r
   @retval EFI_NOT_SUPPORTED The firmware volume is not memory mapped.\r
 \r
 **/\r
@@ -121,9 +121,9 @@ EFI_STATUS
                         blocks in this range have a size of\r
                         BlockSize.\r
 \r
                         blocks in this range have a size of\r
                         BlockSize.\r
 \r
-  \r
+\r
   @retval EFI_SUCCESS             The firmware volume base address was returned.\r
   @retval EFI_SUCCESS             The firmware volume base address was returned.\r
-  \r
+\r
   @retval EFI_INVALID_PARAMETER   The requested LBA is out of range.\r
 \r
 **/\r
   @retval EFI_INVALID_PARAMETER   The requested LBA is out of range.\r
 \r
 **/\r
@@ -154,7 +154,7 @@ EFI_STATUS
   aware that a read may be partially completed.\r
 \r
   @param This     Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
   aware that a read may be partially completed.\r
 \r
   @param This     Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
-  \r
+\r
   @param Lba      The starting logical block index\r
                   from which to read.\r
 \r
   @param Lba      The starting logical block index\r
                   from which to read.\r
 \r
@@ -170,15 +170,15 @@ EFI_STATUS
 \r
   @retval EFI_SUCCESS         The firmware volume was read successfully\r
                               and contents are in Buffer.\r
 \r
   @retval EFI_SUCCESS         The firmware volume was read successfully\r
                               and contents are in Buffer.\r
-  \r
+\r
   @retval EFI_BAD_BUFFER_SIZE A read was attempted across an LBA\r
                               boundary. On output, NumBytes\r
                               contains the total number of bytes\r
                               returned in Buffer.\r
   @retval EFI_BAD_BUFFER_SIZE A read was attempted across an LBA\r
                               boundary. On output, NumBytes\r
                               contains the total number of bytes\r
                               returned in Buffer.\r
-  \r
+\r
   @retval EFI_ACCESS_DENIED   The firmware volume is in the\r
                               ReadDisabled state.\r
   @retval EFI_ACCESS_DENIED   The firmware volume is in the\r
                               ReadDisabled state.\r
-  \r
+\r
   @retval EFI_DEVICE_ERROR    The block device is not\r
                               functioning correctly and could\r
                               not be read.\r
   @retval EFI_DEVICE_ERROR    The block device is not\r
                               functioning correctly and could\r
                               not be read.\r
@@ -210,7 +210,7 @@ EFI_STATUS
   EraseBlocks() function first to erase the specified block to\r
   write. A block erase cycle will transition bits from the\r
   (NOT)EFI_FVB_ERASE_POLARITY state back to the\r
   EraseBlocks() function first to erase the specified block to\r
   write. A block erase cycle will transition bits from the\r
   (NOT)EFI_FVB_ERASE_POLARITY state back to the\r
-  EFI_FVB_ERASE_POLARITY state. Implementors should note \r
+  EFI_FVB_ERASE_POLARITY state. Implementors should note\r
   that the firmware volume might be in the WriteDisabled\r
   state. If it is in this state, the Write() function must\r
   return the status code EFI_ACCESS_DENIED without modifying the\r
   that the firmware volume might be in the WriteDisabled\r
   state. If it is in this state, the Write() function must\r
   return the status code EFI_ACCESS_DENIED without modifying the\r
@@ -225,27 +225,27 @@ EFI_STATUS
   returns.\r
 \r
   @param This     Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
   returns.\r
 \r
   @param This     Indicates the FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL instance.\r
-  \r
+\r
   @param Lba      The starting logical block index to write to.\r
   @param Lba      The starting logical block index to write to.\r
-  \r
+\r
   @param Offset   Offset into the block at which to begin writing.\r
   @param Offset   Offset into the block at which to begin writing.\r
-  \r
+\r
   @param NumBytes The pointer to a UINTN. Input: the total size of the buffer.\r
                   Output: the total number of bytes actually written.\r
   @param NumBytes The pointer to a UINTN. Input: the total size of the buffer.\r
                   Output: the total number of bytes actually written.\r
-  \r
+\r
   @param Buffer   The pointer to a caller-allocated buffer that\r
                   contains the source for the write.\r
   @param Buffer   The pointer to a caller-allocated buffer that\r
                   contains the source for the write.\r
-  \r
+\r
   @retval EFI_SUCCESS         The firmware volume was written successfully.\r
   @retval EFI_SUCCESS         The firmware volume was written successfully.\r
-  \r
+\r
   @retval EFI_BAD_BUFFER_SIZE The write was attempted across an\r
                               LBA boundary. On output, NumBytes\r
                               contains the total number of bytes\r
                               actually written.\r
   @retval EFI_BAD_BUFFER_SIZE The write was attempted across an\r
                               LBA boundary. On output, NumBytes\r
                               contains the total number of bytes\r
                               actually written.\r
-  \r
+\r
   @retval EFI_ACCESS_DENIED   The firmware volume is in the\r
                               WriteDisabled state.\r
   @retval EFI_ACCESS_DENIED   The firmware volume is in the\r
                               WriteDisabled state.\r
-  \r
+\r
   @retval EFI_DEVICE_ERROR    The block device is malfunctioning\r
                               and could not be written.\r
 \r
   @retval EFI_DEVICE_ERROR    The block device is malfunctioning\r
                               and could not be written.\r
 \r
@@ -306,7 +306,7 @@ EFI_STATUS
 \r
   @retval EFI_SUCCESS The erase request successfully\r
                       completed.\r
 \r
   @retval EFI_SUCCESS The erase request successfully\r
                       completed.\r
-  \r
+\r
   @retval EFI_ACCESS_DENIED   The firmware volume is in the\r
                               WriteDisabled state.\r
   @retval EFI_DEVICE_ERROR  The block device is not functioning\r
   @retval EFI_ACCESS_DENIED   The firmware volume is in the\r
                               WriteDisabled state.\r
   @retval EFI_DEVICE_ERROR  The block device is not functioning\r
@@ -315,7 +315,7 @@ EFI_STATUS
                             partially erased.\r
   @retval EFI_INVALID_PARAMETER One or more of the LBAs listed\r
                                 in the variable argument list do\r
                             partially erased.\r
   @retval EFI_INVALID_PARAMETER One or more of the LBAs listed\r
                                 in the variable argument list do\r
-                                not exist in the firmware volume.  \r
+                                not exist in the firmware volume.\r
 \r
 **/\r
 typedef\r
 \r
 **/\r
 typedef\r
@@ -344,7 +344,7 @@ struct _FRAMEWORK_EFI_FIRMWARE_VOLUME_BLOCK_PROTOCOL {
   FRAMEWORK_EFI_FVB_ERASE_BLOCKS          EraseBlocks;\r
   ///\r
   /// The handle of the parent firmware volume.\r
   FRAMEWORK_EFI_FVB_ERASE_BLOCKS          EraseBlocks;\r
   ///\r
   /// The handle of the parent firmware volume.\r
-  ///  \r
+  ///\r
   EFI_HANDLE                    ParentHandle;\r
 };\r
 \r
   EFI_HANDLE                    ParentHandle;\r
 };\r
 \r
index 74c25e2733d6bc493a4b2656828372052e576a25..344d646f3925859e4eb32d5e6422536cd0a27de9 100644 (file)
@@ -5,13 +5,13 @@
   packet of data.  This will also allow the caller to post messages\r
   into the configuration drivers internal mailbox.\r
 \r
   packet of data.  This will also allow the caller to post messages\r
   into the configuration drivers internal mailbox.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   Module Name:  FrameworkFormBrowser.h\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   Module Name:  FrameworkFormBrowser.h\r
@@ -64,36 +64,36 @@ typedef struct {
 \r
   @param  This                  A pointer to the EFI_FORM_BROWSER_PROTOCOL instance.\r
   @param  UseDatabase           Determines whether the HII database is to be\r
 \r
   @param  This                  A pointer to the EFI_FORM_BROWSER_PROTOCOL instance.\r
   @param  UseDatabase           Determines whether the HII database is to be\r
-                                used to gather information. If the value is FALSE, \r
-                                the configuration driver will get the information \r
+                                used to gather information. If the value is FALSE,\r
+                                the configuration driver will get the information\r
                                 provided in the passed-in Packet parameters.\r
                                 provided in the passed-in Packet parameters.\r
-  @param  Handle                A pointer to an array of HII handles to display. \r
-                                This value should correspond to the value of the \r
+  @param  Handle                A pointer to an array of HII handles to display.\r
+                                This value should correspond to the value of the\r
                                 HII form package that is required to be displayed.\r
   @param  HandleCount           The number of handles in the array specified by Handle.\r
   @param  Packet                A pointer to a set of data containing pointers to IFR\r
                                 and/or string data.\r
   @param  CallbackHandle        The handle to the driver's callback interface.\r
                                 HII form package that is required to be displayed.\r
   @param  HandleCount           The number of handles in the array specified by Handle.\r
   @param  Packet                A pointer to a set of data containing pointers to IFR\r
                                 and/or string data.\r
   @param  CallbackHandle        The handle to the driver's callback interface.\r
-                                This parameter is used only when the UseDatabase \r
-                                parameter is FALSE and an application wants to \r
+                                This parameter is used only when the UseDatabase\r
+                                parameter is FALSE and an application wants to\r
                                 register a callback with the browser.\r
   @param  NvMapOverride         This buffer is used only when there is no NV variable\r
                                 register a callback with the browser.\r
   @param  NvMapOverride         This buffer is used only when there is no NV variable\r
-                                to define the current settings and the caller needs \r
-                                to provide to the browser the current settings for \r
+                                to define the current settings and the caller needs\r
+                                to provide to the browser the current settings for\r
                                 the "fake" NV variable.\r
   @param  ScreenDimensions      Allows the browser to be called so that it occupies\r
                                 the "fake" NV variable.\r
   @param  ScreenDimensions      Allows the browser to be called so that it occupies\r
-                                a portion of the physical screen instead of dynamically \r
+                                a portion of the physical screen instead of dynamically\r
                                 determining the screen dimensions.\r
   @param  ResetRequired         This BOOLEAN value denotes whether a reset is required\r
                                 determining the screen dimensions.\r
   @param  ResetRequired         This BOOLEAN value denotes whether a reset is required\r
-                                based on the data that might have been changed. \r
-                                The ResetRequired parameter is primarily applicable \r
+                                based on the data that might have been changed.\r
+                                The ResetRequired parameter is primarily applicable\r
                                 for configuration applications, and is an\r
                                 optional parameter.\r
 \r
   @retval EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_NOT_FOUND         The variable was not found.\r
   @retval EFI_BUFFER_TOO_SMALL  The DataSize is too small for the result.\r
                                 for configuration applications, and is an\r
                                 optional parameter.\r
 \r
   @retval EFI_SUCCESS           The function completed successfully.\r
   @retval EFI_NOT_FOUND         The variable was not found.\r
   @retval EFI_BUFFER_TOO_SMALL  The DataSize is too small for the result.\r
-                                DataSize has been updated with the size needed to \r
+                                DataSize has been updated with the size needed to\r
                                 complete the request.\r
   @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.\r
   @retval EFI_DEVICE_ERROR      The variable could not be saved due to a hardware failure.\r
                                 complete the request.\r
   @retval EFI_INVALID_PARAMETER One of the parameters has an invalid value.\r
   @retval EFI_DEVICE_ERROR      The variable could not be saved due to a hardware failure.\r
@@ -119,10 +119,10 @@ EFI_STATUS
 \r
   @param  NumberOfLines         The number of lines for the dialog box.\r
   @param  HotKey                Defines whether a single character is parsed (TRUE)\r
 \r
   @param  NumberOfLines         The number of lines for the dialog box.\r
   @param  HotKey                Defines whether a single character is parsed (TRUE)\r
-                                and returned in KeyValue, or if a string is returned \r
+                                and returned in KeyValue, or if a string is returned\r
                                 in StringBuffer.\r
   @param  MaximumStringSize     The maximum size in bytes of a typed-in string.\r
                                 in StringBuffer.\r
   @param  MaximumStringSize     The maximum size in bytes of a typed-in string.\r
-                                Because each character is a CHAR16, the minimum \r
+                                Because each character is a CHAR16, the minimum\r
                                 string returned is two bytes.\r
   @param  StringBuffer          The passed-in pointer to the buffer that will hold\r
                                 the typed in string if HotKey is FALSE.\r
                                 string returned is two bytes.\r
   @param  StringBuffer          The passed-in pointer to the buffer that will hold\r
                                 the typed in string if HotKey is FALSE.\r
@@ -160,10 +160,10 @@ struct _EFI_FORM_BROWSER_PROTOCOL {
   /// a pointer to the calling driver's callback interface.\r
   ///\r
   EFI_SEND_FORM     SendForm;\r
   /// a pointer to the calling driver's callback interface.\r
   ///\r
   EFI_SEND_FORM     SendForm;\r
-  \r
+\r
   ///\r
   /// Routine used to abstract a generic dialog interface and return the\r
   ///\r
   /// Routine used to abstract a generic dialog interface and return the\r
-  /// selected key or string.  \r
+  /// selected key or string.\r
   ///\r
   EFI_CREATE_POP_UP CreatePopUp;\r
 };\r
   ///\r
   EFI_CREATE_POP_UP CreatePopUp;\r
 };\r
index 2d769bc3b28a3654cbfa84d61c26fcd6e7e7fc3d..4a9e26c5b2f969181ede08a9fb747f8c8b08e3cf 100644 (file)
@@ -5,13 +5,13 @@
   specific drivers that want to export access to custom hardware storage or\r
   publish IFR that need to call back the original driver.\r
 \r
   specific drivers that want to export access to custom hardware storage or\r
   publish IFR that need to call back the original driver.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -36,14 +36,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 typedef struct _EFI_FORM_CALLBACK_PROTOCOL  EFI_FORM_CALLBACK_PROTOCOL;\r
 \r
 ///\r
 typedef struct _EFI_FORM_CALLBACK_PROTOCOL  EFI_FORM_CALLBACK_PROTOCOL;\r
 \r
 ///\r
-///  Inconsistent with specification here: \r
-///  RESET_REQUIRED, EXIT_REQUIRED, SAVE_REQUIRED, NV_CHANGED and NV_NOT_CHANGED are not \r
+///  Inconsistent with specification here:\r
+///  RESET_REQUIRED, EXIT_REQUIRED, SAVE_REQUIRED, NV_CHANGED and NV_NOT_CHANGED are not\r
 ///  defined in HII specification. These Flags of EFI_IFR_DATA_ENTRY should be defined\r
 ///  to describe the standard behavior of the browser after the callback.\r
 ///\r
 /// If this flag is set, the browser will exit and reset after processing callback results.\r
 ///\r
 ///  defined in HII specification. These Flags of EFI_IFR_DATA_ENTRY should be defined\r
 ///  to describe the standard behavior of the browser after the callback.\r
 ///\r
 /// If this flag is set, the browser will exit and reset after processing callback results.\r
 ///\r
-#define RESET_REQUIRED  1 \r
+#define RESET_REQUIRED  1\r
 ///\r
 /// If this flag is set, the browser will exit after processing callback results.\r
 ///\r
 ///\r
 /// If this flag is set, the browser will exit after processing callback results.\r
 ///\r
@@ -143,12 +143,12 @@ EFI_STATUS
 \r
   @param  This                  A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.\r
   @param  VariableName          A NULL-terminated Unicode string that is the\r
 \r
   @param  This                  A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.\r
   @param  VariableName          A NULL-terminated Unicode string that is the\r
-                                name of the vendor's variable. Each VariableName \r
-                                is unique for each VendorGuid.  \r
+                                name of the vendor's variable. Each VariableName\r
+                                is unique for each VendorGuid.\r
   @param  VendorGuid            A unique identifier for the vendor.\r
   @param  Attributes            Attributes bit-mask to set for the variable.\r
   @param  VendorGuid            A unique identifier for the vendor.\r
   @param  Attributes            Attributes bit-mask to set for the variable.\r
-                                Inconsistent with specification here: \r
-                                Attributes data type has been changed from \r
+                                Inconsistent with specification here:\r
+                                Attributes data type has been changed from\r
                                 UINT32 * to UINT32, because the input parameter is\r
                                 not necessary to use a pointer date type.\r
   @param  DataSize              The size in bytes of the Buffer. A size of zero causes\r
                                 UINT32 * to UINT32, because the input parameter is\r
                                 not necessary to use a pointer date type.\r
   @param  DataSize              The size in bytes of the Buffer. A size of zero causes\r
@@ -185,8 +185,8 @@ EFI_STATUS
 \r
   @param  This                  A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.\r
   @param  KeyValue              A unique value which is sent to the original exporting\r
 \r
   @param  This                  A pointer to the EFI_FORM_CALLBACK_PROTOCOL instance.\r
   @param  KeyValue              A unique value which is sent to the original exporting\r
-                                driver so that it can identify the type of data \r
-                                to expect. The format of the data tends to vary based \r
+                                driver so that it can identify the type of data\r
+                                to expect. The format of the data tends to vary based\r
                                 on the opcode that generated the callback.\r
   @param  Data                  A pointer to the data being sent to the original exporting driver.\r
   @param  Packet                A pointer to a packet of information that a driver passes\r
                                 on the opcode that generated the callback.\r
   @param  Data                  A pointer to the data being sent to the original exporting driver.\r
   @param  Packet                A pointer to a packet of information that a driver passes\r
index 9f32805f8483e2565de8974b575f380b1015dbde..d84048a70f8c8bcd6a01a574e34dc8af7f674803 100644 (file)
@@ -3,13 +3,13 @@
   used by resources that want to publish IFR/Font/String data and have it\r
   collected by the Configuration engine.\r
 \r
   used by resources that want to publish IFR/Font/String data and have it\r
   collected by the Configuration engine.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -473,7 +473,7 @@ EFI_STATUS
   Removes a package from the HII database.\r
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   Removes a package from the HII database.\r
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
-  @param  Handle                The handle that was registered to the data that \r
+  @param  Handle                The handle that was registered to the data that\r
                                 is requested for removal.\r
 \r
   @retval EFI_SUCCESS           The data associated with the Handle was removed\r
                                 is requested for removal.\r
 \r
   @retval EFI_SUCCESS           The data associated with the Handle was removed\r
@@ -560,14 +560,14 @@ EFI_STATUS
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  StringToTest          A pointer to a Unicode string.\r
   @param  FirstMissing          A pointer to an index into the string. On input,\r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  StringToTest          A pointer to a Unicode string.\r
   @param  FirstMissing          A pointer to an index into the string. On input,\r
-                                the index of the first character in the StringToTest \r
-                                to examine. On exit, the index of the first character \r
+                                the index of the first character in the StringToTest\r
+                                to examine. On exit, the index of the first character\r
                                 encountered for which a glyph is unavailable.\r
                                 encountered for which a glyph is unavailable.\r
-                                If all glyphs in the string are available, the \r
+                                If all glyphs in the string are available, the\r
                                 index is the index of the terminator of the string.\r
   @param  GlyphBufferSize       A pointer to a value. On output, if the function\r
                                 index is the index of the terminator of the string.\r
   @param  GlyphBufferSize       A pointer to a value. On output, if the function\r
-                                returns EFI_SUCCESS, it contains the amount of \r
-                                memory that is required to store the string's \r
+                                returns EFI_SUCCESS, it contains the amount of\r
+                                memory that is required to store the string's\r
                                 glyph equivalent.\r
 \r
   @retval EFI_SUCCESS           All glyphs are available. Note that an empty string\r
                                 glyph equivalent.\r
 \r
   @retval EFI_SUCCESS           All glyphs are available. Note that an empty string\r
@@ -592,23 +592,23 @@ EFI_STATUS
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Source                A pointer to a Unicode string.\r
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Source                A pointer to a Unicode string.\r
-  @param  Index                 On input, the offset into the string from which to \r
-                                fetch the character. On successful completion, the \r
-                                index is updated to the first character past the \r
+  @param  Index                 On input, the offset into the string from which to\r
+                                fetch the character. On successful completion, the\r
+                                index is updated to the first character past the\r
                                 character(s) making up the just extracted glyph.\r
   @param  GlyphBuffer           Pointer to an array where the glyphs corresponding\r
                                 character(s) making up the just extracted glyph.\r
   @param  GlyphBuffer           Pointer to an array where the glyphs corresponding\r
-                                to the characters in the source may be stored. \r
-                                GlyphBuffer is assumed to be wide enough to accept \r
+                                to the characters in the source may be stored.\r
+                                GlyphBuffer is assumed to be wide enough to accept\r
                                 a wide glyph character.\r
   @param  BitWidth              If EFI_SUCCESS was returned, the UINT16 pointed to by\r
                                 this value is filled with the length of the glyph in\r
                                 pixels. It is unchanged if the call was unsuccessful.\r
   @param  InternalStatus        The cell pointed to by this parameter must be\r
                                 a wide glyph character.\r
   @param  BitWidth              If EFI_SUCCESS was returned, the UINT16 pointed to by\r
                                 this value is filled with the length of the glyph in\r
                                 pixels. It is unchanged if the call was unsuccessful.\r
   @param  InternalStatus        The cell pointed to by this parameter must be\r
-                                initialized to zero prior to invoking the call the \r
+                                initialized to zero prior to invoking the call the\r
                                 first time for any string.\r
 \r
                                 first time for any string.\r
 \r
-  @retval EFI_SUCCESS           Found the corresponding font glyph for a Unicode \r
-                                character. \r
+  @retval EFI_SUCCESS           Found the corresponding font glyph for a Unicode\r
+                                character.\r
   @retval EFI_NOT_FOUND         A glyph for a character was not found.\r
 \r
 **/\r
   @retval EFI_NOT_FOUND         A glyph for a character was not found.\r
 \r
 **/\r
@@ -639,7 +639,7 @@ EFI_STATUS
   @param  BltBuffer             A pointer to the buffer that contains the data that is\r
                                 ready to be used by the UGA BLT routines.\r
 \r
   @param  BltBuffer             A pointer to the buffer that contains the data that is\r
                                 ready to be used by the UGA BLT routines.\r
 \r
-  @retval EFI_SUCCESS           Successfully translated a glyph into the required \r
+  @retval EFI_SUCCESS           Successfully translated a glyph into the required\r
                                 format for input to UGA BLT routines.\r
   @retval EFI_NOT_FOUND         A glyph for a character was not found.\r
   @note  Inconsistent with specification here:\r
                                 format for input to UGA BLT routines.\r
   @retval EFI_NOT_FOUND         A glyph for a character was not found.\r
   @note  Inconsistent with specification here:\r
@@ -666,15 +666,15 @@ EFI_STATUS
   to avoid name confict with EFI_HII_NEW_STRING defined in the UEFI 2.1d specification.\r
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   to avoid name confict with EFI_HII_NEW_STRING defined in the UEFI 2.1d specification.\r
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
-  @param  Pointer               to a NULL-terminated string containing a single \r
-                                ISO 639-2 language identifier, indicating the language \r
-                                in which the string is translated.  \r
-  @param  Handle                The handle of the language pack to which the string \r
+  @param  Pointer               to a NULL-terminated string containing a single\r
+                                ISO 639-2 language identifier, indicating the language\r
+                                in which the string is translated.\r
+  @param  Handle                The handle of the language pack to which the string\r
                                 is to be added.\r
                                 is to be added.\r
-  @param  Reference             The identifier of the string to be added. If the \r
-                                reference value is zero, then the string will be \r
+  @param  Reference             The identifier of the string to be added. If the\r
+                                reference value is zero, then the string will be\r
                                 assigned a new identifier on that handle for\r
                                 assigned a new identifier on that handle for\r
-                                the language specified. Otherwise, the string will \r
+                                the language specified. Otherwise, the string will\r
                                 be updated with the NewString Value.\r
   @param  NewString             The string to be added.\r
 \r
                                 be updated with the NewString Value.\r
   @param  NewString             The string to be added.\r
 \r
@@ -699,7 +699,7 @@ EFI_STATUS
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the strings reside.\r
   @param  LanguageString        A string allocated by GetPrimaryLanguages() that\r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the strings reside.\r
   @param  LanguageString        A string allocated by GetPrimaryLanguages() that\r
-                                contains a list of all primary languages registered \r
+                                contains a list of all primary languages registered\r
                                 on the handle.\r
 \r
   @retval EFI_SUCCESS           LanguageString was correctly returned.\r
                                 on the handle.\r
 \r
   @retval EFI_SUCCESS           LanguageString was correctly returned.\r
@@ -720,11 +720,11 @@ EFI_STATUS
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the strings reside.\r
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the strings reside.\r
-  @param  PrimaryLanguage       Pointer to a NULL-terminated string containing a \r
-                                single ISO 639-2 language identifier, indicating \r
+  @param  PrimaryLanguage       Pointer to a NULL-terminated string containing a\r
+                                single ISO 639-2 language identifier, indicating\r
                                 the primary language.\r
   @param  LanguageString        A string allocated by GetSecondaryLanguages()\r
                                 the primary language.\r
   @param  LanguageString        A string allocated by GetSecondaryLanguages()\r
-                                containing a list of all secondary languages \r
+                                containing a list of all secondary languages\r
                                 registered on the handle.\r
 \r
   @retval EFI_SUCCESS           LanguageString was correctly returned.\r
                                 registered on the handle.\r
 \r
   @retval EFI_SUCCESS           LanguageString was correctly returned.\r
@@ -749,14 +749,14 @@ EFI_STATUS
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the string resides.\r
   @param  Token                 The string token assigned to the string.\r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the string resides.\r
   @param  Token                 The string token assigned to the string.\r
-  @param  Raw                   If TRUE, the string is returned unedited in the \r
-                                internal storage format. If false, the string \r
-                                returned is edited by replacing <cr> with <space> \r
+  @param  Raw                   If TRUE, the string is returned unedited in the\r
+                                internal storage format. If false, the string\r
+                                returned is edited by replacing <cr> with <space>\r
                                 and by removing special characters such as the\r
                                 <wide> prefix.\r
   @param  LanguageString        Pointer to a NULL-terminated string containing a\r
                                 and by removing special characters such as the\r
                                 <wide> prefix.\r
   @param  LanguageString        Pointer to a NULL-terminated string containing a\r
-                                single ISO 639-2 language identifier, indicating \r
-                                the language to print. If the LanguageString is \r
+                                single ISO 639-2 language identifier, indicating\r
+                                the language to print. If the LanguageString is\r
                                 empty (starts with a NULL), the default system\r
                                 language will be used to determine the language.\r
   @param  BufferLength          Length of the StringBuffer.\r
                                 empty (starts with a NULL), the default system\r
                                 language will be used to determine the language.\r
   @param  BufferLength          Length of the StringBuffer.\r
@@ -786,19 +786,19 @@ EFI_STATUS
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the string resides.\r
   @param  Token                 The string token assigned to the string.\r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The handle on which the string resides.\r
   @param  Token                 The string token assigned to the string.\r
-  @param  Index                 On input, the offset into the string where the \r
-                                line is to start. On output, the index is updated  \r
-                                to point beyond the last character returned in \r
+  @param  Index                 On input, the offset into the string where the\r
+                                line is to start. On output, the index is updated\r
+                                to point beyond the last character returned in\r
                                 the call.\r
   @param  LineWidth             The maximum width of the line in units of narrow glyphs.\r
   @param  LanguageString        The pointer to a NULL-terminated string containing a\r
                                 the call.\r
   @param  LineWidth             The maximum width of the line in units of narrow glyphs.\r
   @param  LanguageString        The pointer to a NULL-terminated string containing a\r
-                                single ISO 639-2 language identifier, indicating \r
+                                single ISO 639-2 language identifier, indicating\r
                                 the language to print.\r
   @param  BufferLength          The pointer to the length of the StringBuffer.\r
                                 the language to print.\r
   @param  BufferLength          The pointer to the length of the StringBuffer.\r
-  @param  StringBuffer          The buffer designed to receive the characters in \r
+  @param  StringBuffer          The buffer designed to receive the characters in\r
                                 the string.\r
 \r
                                 the string.\r
 \r
-  @retval EFI_SUCCESS           StringBuffer filled with characters that will fit \r
+  @retval EFI_SUCCESS           StringBuffer filled with characters that will fit\r
                                 on the line.\r
   @retval EFI_NOT_FOUND         The font glyph for at least one of the characters in\r
                                 the string is not in the font database.\r
                                 on the line.\r
   @retval EFI_NOT_FOUND         The font glyph for at least one of the characters in\r
                                 the string is not in the font database.\r
@@ -855,9 +855,9 @@ EFI_STATUS
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The HII handle from which will have default data retrieved.\r
 \r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  Handle                The HII handle from which will have default data retrieved.\r
-  @param  DefaultMask           The mask used to specify some type of default \r
+  @param  DefaultMask           The mask used to specify some type of default\r
                                 override when extracting the default image data.\r
                                 override when extracting the default image data.\r
-  @param  VariablePackList      An indirect pointer to the first entry of a link \r
+  @param  VariablePackList      An indirect pointer to the first entry of a link\r
                                 list with type EFI_HII_VARIABLE_PACK_LIST.\r
 \r
   @retval EFI_SUCCESS           The VariablePackList was populated with the appropriate\r
                                 list with type EFI_HII_VARIABLE_PACK_LIST.\r
 \r
   @retval EFI_SUCCESS           The VariablePackList was populated with the appropriate\r
@@ -912,8 +912,8 @@ EFI_STATUS
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  DescriptorCount       A pointer to the number of Descriptor entries being\r
                                 described in the keyboard layout being retrieved.\r
   @param  This                  A pointer to the EFI_HII_PROTOCOL instance.\r
   @param  DescriptorCount       A pointer to the number of Descriptor entries being\r
                                 described in the keyboard layout being retrieved.\r
-  @param  Descriptor            A pointer to a buffer containing an array of \r
-                                FRAMEWORK_EFI_KEY_DESCRIPTOR entries. Each entry \r
+  @param  Descriptor            A pointer to a buffer containing an array of\r
+                                FRAMEWORK_EFI_KEY_DESCRIPTOR entries. Each entry\r
                                 will reflect the definition of a specific physical key.\r
 \r
   @retval EFI_SUCCESS           The keyboard layout was retrieved successfully.\r
                                 will reflect the definition of a specific physical key.\r
 \r
   @retval EFI_SUCCESS           The keyboard layout was retrieved successfully.\r
index b1c8f55154ff58175cae3ff5a884aecfde326160..39e3b46e68a12b0896ade2d0aee6523fd80cf81f 100644 (file)
@@ -1,10 +1,10 @@
 /** @file\r
 /** @file\r
-  When installed, the Framework MP Services Protocol produces a collection of \r
-  services that are needed for MP management, such as initialization and management \r
-  of application processors.  \r
-  \r
-  @par Note: \r
-    This protocol has been deprecated and has been replaced by the MP Services \r
+  When installed, the Framework MP Services Protocol produces a collection of\r
+  services that are needed for MP management, such as initialization and management\r
+  of application processors.\r
+\r
+  @par Note:\r
+    This protocol has been deprecated and has been replaced by the MP Services\r
     Protocol from the UEFI Platform Initialization Specification 1.2, Volume 2:\r
     Driver Execution Environment Core Interface.\r
 \r
     Protocol from the UEFI Platform Initialization Specification 1.2, Volume 2:\r
     Driver Execution Environment Core Interface.\r
 \r
   The Protocol is available only during boot time.\r
 \r
   MP Services Protocol is hardware-independent. Most of the logic of this protocol\r
   The Protocol is available only during boot time.\r
 \r
   MP Services Protocol is hardware-independent. Most of the logic of this protocol\r
-  is architecturally neutral. It abstracts the multi-processor environment and \r
-  status of processors, and provides interfaces to retrieve information, maintain, \r
+  is architecturally neutral. It abstracts the multi-processor environment and\r
+  status of processors, and provides interfaces to retrieve information, maintain,\r
   and dispatch.\r
 \r
   and dispatch.\r
 \r
-  MP Services Protocol may be consumed by ACPI module. The ACPI module may use this \r
+  MP Services Protocol may be consumed by ACPI module. The ACPI module may use this\r
   protocol to retrieve data that are needed for an MP platform and report them to OS.\r
   protocol to retrieve data that are needed for an MP platform and report them to OS.\r
-  MP Services Protocol may also be used to program and configure processors, such \r
+  MP Services Protocol may also be used to program and configure processors, such\r
   as MTRR synchronization for memory space attributes setting in DXE Services.\r
   as MTRR synchronization for memory space attributes setting in DXE Services.\r
-  MP Services Protocol may be used by non-CPU DXE drivers to speed up platform boot \r
-  by taking advantage of the processing capabilities of the APs, for example, using \r
+  MP Services Protocol may be used by non-CPU DXE drivers to speed up platform boot\r
+  by taking advantage of the processing capabilities of the APs, for example, using\r
   APs to help test system memory in parallel with other device initialization.\r
   Diagnostics applications may also use this protocol for multi-processor.\r
 \r
   APs to help test system memory in parallel with other device initialization.\r
   Diagnostics applications may also use this protocol for multi-processor.\r
 \r
-Copyright (c) 1999 - 2010, 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
+Copyright (c) 1999 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -68,27 +68,27 @@ typedef struct _FRAMEWORK_EFI_MP_SERVICES_PROTOCOL FRAMEWORK_EFI_MP_SERVICES_PRO
 #define DELIVERY_MODE_FIXED           0x0\r
 \r
 ///\r
 #define DELIVERY_MODE_FIXED           0x0\r
 \r
 ///\r
-/// Lowest priority delivery mode that may be used as the DeliveryMode parameter in SendIpi(). \r
+/// Lowest priority delivery mode that may be used as the DeliveryMode parameter in SendIpi().\r
 ///\r
 #define DELIVERY_MODE_LOWEST_PRIORITY 0x1\r
 \r
 ///\r
 ///\r
 #define DELIVERY_MODE_LOWEST_PRIORITY 0x1\r
 \r
 ///\r
-/// SMI delivery mode that may be used as the DeliveryMode parameter in SendIpi(). \r
+/// SMI delivery mode that may be used as the DeliveryMode parameter in SendIpi().\r
 ///\r
 #define DELIVERY_MODE_SMI             0x2\r
 \r
 ///\r
 ///\r
 #define DELIVERY_MODE_SMI             0x2\r
 \r
 ///\r
-/// Remote read delivery mode that may be used as the DeliveryMode parameter in SendIpi(). \r
+/// Remote read delivery mode that may be used as the DeliveryMode parameter in SendIpi().\r
 ///\r
 #define DELIVERY_MODE_REMOTE_READ     0x3\r
 \r
 ///\r
 ///\r
 #define DELIVERY_MODE_REMOTE_READ     0x3\r
 \r
 ///\r
-/// NMI delivery mode that may be used as the DeliveryMode parameter in SendIpi(). \r
+/// NMI delivery mode that may be used as the DeliveryMode parameter in SendIpi().\r
 ///\r
 #define DELIVERY_MODE_NMI             0x4\r
 \r
 ///\r
 ///\r
 #define DELIVERY_MODE_NMI             0x4\r
 \r
 ///\r
-/// INIT delivery mode that may be used as the DeliveryMode parameter in SendIpi(). \r
+/// INIT delivery mode that may be used as the DeliveryMode parameter in SendIpi().\r
 ///\r
 #define DELIVERY_MODE_INIT            0x5\r
 \r
 ///\r
 #define DELIVERY_MODE_INIT            0x5\r
 \r
@@ -119,7 +119,7 @@ typedef struct _FRAMEWORK_EFI_MP_SERVICES_PROTOCOL FRAMEWORK_EFI_MP_SERVICES_PRO
 \r
 typedef union {\r
   ///\r
 \r
 typedef union {\r
   ///\r
-  /// Bitfield structure for the IPF Self Test State Parameter. \r
+  /// Bitfield structure for the IPF Self Test State Parameter.\r
   ///\r
   struct {\r
     UINT32  Status:2;\r
   ///\r
   struct {\r
     UINT32  Status:2;\r
@@ -143,8 +143,8 @@ typedef struct {
   ///   BIST (built-in self-test) data of the processor.\r
   ///\r
   /// @par IPF:\r
   ///   BIST (built-in self-test) data of the processor.\r
   ///\r
   /// @par IPF:\r
-  ///   Lower 32 bits of the self-test state parameter. For definition of self-test \r
-  ///   state parameter, please refer to Intel(R) Itanium(R) Architecture Software \r
+  ///   Lower 32 bits of the self-test state parameter. For definition of self-test\r
+  ///   state parameter, please refer to Intel(R) Itanium(R) Architecture Software\r
   ///   Developer's Manual, Volume 2: System Architecture.\r
   ///\r
   EFI_MP_HEALTH_FLAGS  Flags;\r
   ///   Developer's Manual, Volume 2: System Architecture.\r
   ///\r
   EFI_MP_HEALTH_FLAGS  Flags;\r
@@ -170,35 +170,35 @@ typedef struct {
   ///   The lower 8 bits contains local APIC ID, and higher bits are reserved.\r
   ///\r
   /// @par IPF:\r
   ///   The lower 8 bits contains local APIC ID, and higher bits are reserved.\r
   ///\r
   /// @par IPF:\r
-  ///   The lower 16 bits contains id/eid as physical address of local SAPIC \r
+  ///   The lower 16 bits contains id/eid as physical address of local SAPIC\r
   ///   unit, and higher bits are reserved.\r
   ///\r
   UINT32               ApicID;\r
   ///\r
   ///   unit, and higher bits are reserved.\r
   ///\r
   UINT32               ApicID;\r
   ///\r
-  /// This field indicates whether the processor is enabled.  If the value is \r
+  /// This field indicates whether the processor is enabled.  If the value is\r
   /// TRUE, then the processor is enabled. Otherwise, it is disabled.\r
   ///\r
   BOOLEAN              Enabled;\r
   ///\r
   /// This field indicates whether the processor is playing the role of BSP.\r
   /// TRUE, then the processor is enabled. Otherwise, it is disabled.\r
   ///\r
   BOOLEAN              Enabled;\r
   ///\r
   /// This field indicates whether the processor is playing the role of BSP.\r
-  /// If the value is EfiCpuAP, then the processor is AP. If the value is \r
+  /// If the value is EfiCpuAP, then the processor is AP. If the value is\r
   /// EfiCpuBSP, then the processor is BSP.\r
   ///\r
   EFI_CPU_DESIGNATION  Designation;\r
   ///\r
   /// @par IA32, X64:\r
   /// EfiCpuBSP, then the processor is BSP.\r
   ///\r
   EFI_CPU_DESIGNATION  Designation;\r
   ///\r
   /// @par IA32, X64:\r
-  ///   The Flags field of this EFI_MP_HEALTH data structure holds BIST (built-in \r
-  ///   self test) data of the processor. The TestStatus field is not used, and \r
+  ///   The Flags field of this EFI_MP_HEALTH data structure holds BIST (built-in\r
+  ///   self test) data of the processor. The TestStatus field is not used, and\r
   ///   the value is always zero.\r
   ///\r
   /// @par IPF:\r
   ///   the value is always zero.\r
   ///\r
   /// @par IPF:\r
-  ///   Bit format of this field is the same as the definition of self-test state \r
-  ///   parameter, in Intel(R) Itanium(R) Architecture Software Developer's Manual, \r
+  ///   Bit format of this field is the same as the definition of self-test state\r
+  ///   parameter, in Intel(R) Itanium(R) Architecture Software Developer's Manual,\r
   ///   Volume 2: System Architecture.\r
   ///\r
   EFI_MP_HEALTH        Health;\r
   ///\r
   ///   Volume 2: System Architecture.\r
   ///\r
   EFI_MP_HEALTH        Health;\r
   ///\r
-  /// Zero-based physical package number that identifies the cartridge of the \r
+  /// Zero-based physical package number that identifies the cartridge of the\r
   /// processor.\r
   ///\r
   UINTN                PackageNumber;\r
   /// processor.\r
   ///\r
   UINTN                PackageNumber;\r
@@ -219,7 +219,7 @@ typedef struct {
   ///   This field is not used, and the value is always zero.\r
   ///\r
   /// @par IPF:\r
   ///   This field is not used, and the value is always zero.\r
   ///\r
   /// @par IPF:\r
-  ///   This field is a mask number that is handed off by the PAL about which \r
+  ///   This field is a mask number that is handed off by the PAL about which\r
   ///   processor tests are performed and which are masked.\r
   ///\r
   UINT64               ProcessorTestMask;\r
   ///   processor tests are performed and which are masked.\r
   ///\r
   UINT64               ProcessorTestMask;\r
@@ -237,22 +237,22 @@ typedef struct {
 \r
   @param[in]  This                   The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                      instance.\r
 \r
   @param[in]  This                   The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                      instance.\r
-  @param[out] NumberOfCPUs           The pointer to the total number of logical processors \r
-                                     in the system, including the BSP and disabled \r
+  @param[out] NumberOfCPUs           The pointer to the total number of logical processors\r
+                                     in the system, including the BSP and disabled\r
                                      APs.  If NULL, this parameter is ignored.\r
                                      APs.  If NULL, this parameter is ignored.\r
-  @param[out] MaximumNumberOfCPUs    Pointer to the maximum number of processors \r
-                                     supported by the system.  If NULL, this \r
+  @param[out] MaximumNumberOfCPUs    Pointer to the maximum number of processors\r
+                                     supported by the system.  If NULL, this\r
                                      parameter is ignored.\r
                                      parameter is ignored.\r
-  @param[out] NumberOfEnabledCPUs    The pointer to the number of enabled logical \r
-                                     processors that exist in system, including \r
+  @param[out] NumberOfEnabledCPUs    The pointer to the number of enabled logical\r
+                                     processors that exist in system, including\r
                                      the BSP.  If NULL, this parameter is ignored.\r
   @param[out] RendezvousIntNumber    This parameter is only meaningful for IPF.\r
                                      the BSP.  If NULL, this parameter is ignored.\r
   @param[out] RendezvousIntNumber    This parameter is only meaningful for IPF.\r
-                                     - IA32, X64: The returned value is zero.  \r
+                                     - IA32, X64: The returned value is zero.\r
                                      If NULL, this parameter is ignored.\r
                                      If NULL, this parameter is ignored.\r
-                                     - IPF: Pointer to the rendezvous interrupt \r
+                                     - IPF: Pointer to the rendezvous interrupt\r
                                      number that is used for AP wake-up.\r
                                      number that is used for AP wake-up.\r
-  @param[out] RendezvousProcLength   The pointer to the length of rendezvous procedure. \r
-                                     - IA32, X64: The returned value is 0x1000.  \r
+  @param[out] RendezvousProcLength   The pointer to the length of rendezvous procedure.\r
+                                     - IA32, X64: The returned value is 0x1000.\r
                                      If NULL, this parameter is ignored.\r
                                      - IPF: The returned value is zero.\r
 \r
                                      If NULL, this parameter is ignored.\r
                                      - IPF: The returned value is zero.\r
 \r
@@ -273,42 +273,42 @@ EFI_STATUS
 /**\r
   This service gets detailed MP-related information of the requested processor.\r
 \r
 /**\r
   This service gets detailed MP-related information of the requested processor.\r
 \r
-  This service gets detailed MP-related information of the requested processor \r
+  This service gets detailed MP-related information of the requested processor\r
   at the instant this call is made. Note the following:\r
   at the instant this call is made. Note the following:\r
-    - The processor information may change during the course of a boot session. \r
-    - The data of information presented here is entirely MP related. \r
+    - The processor information may change during the course of a boot session.\r
+    - The data of information presented here is entirely MP related.\r
   Information regarding the number of caches and their sizes, frequency of operation,\r
   Information regarding the number of caches and their sizes, frequency of operation,\r
-  slot numbers is all considered platform-related information and will not be \r
-  presented here. \r
+  slot numbers is all considered platform-related information and will not be\r
+  presented here.\r
 \r
   @param[in]  This                     The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                        instance.\r
   @param[in]  ProcessorNumber          The handle number of the processor. The range\r
 \r
   @param[in]  This                     The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                        instance.\r
   @param[in]  ProcessorNumber          The handle number of the processor. The range\r
-                                       is from 0 to the total number of logical \r
-                                       processors minus 1. The total number of \r
-                                       logical processors can be retrieved by \r
+                                       is from 0 to the total number of logical\r
+                                       processors minus 1. The total number of\r
+                                       logical processors can be retrieved by\r
                                        GetGeneralMPInfo().\r
                                        GetGeneralMPInfo().\r
-  @param[in,out] BufferLength          On input, pointer to the size in bytes of \r
-                                       ProcessorContextBuffer.  On output, if the \r
-                                       size of ProcessorContextBuffer is not large \r
-                                       enough, the value pointed by this parameter \r
-                                       is updated to size in bytes that is needed. \r
-                                       If the size of ProcessorContextBuffer is \r
-                                       sufficient, the value is not changed from \r
+  @param[in,out] BufferLength          On input, pointer to the size in bytes of\r
+                                       ProcessorContextBuffer.  On output, if the\r
+                                       size of ProcessorContextBuffer is not large\r
+                                       enough, the value pointed by this parameter\r
+                                       is updated to size in bytes that is needed.\r
+                                       If the size of ProcessorContextBuffer is\r
+                                       sufficient, the value is not changed from\r
                                        input.\r
                                        input.\r
-  @param[out] ProcessorContextBuffer   The pointer to the buffer where the data of \r
-                                       requested processor will be deposited. \r
-                                       The buffer is allocated by caller. \r
+  @param[out] ProcessorContextBuffer   The pointer to the buffer where the data of\r
+                                       requested processor will be deposited.\r
+                                       The buffer is allocated by caller.\r
 \r
   @retval EFI_SUCCESS             Processor information was successfully returned.\r
 \r
   @retval EFI_SUCCESS             Processor information was successfully returned.\r
-  @retval EFI_BUFFER_TOO_SMALL    The size of ProcessorContextBuffer is too small. \r
-                                  The value pointed by BufferLength has been updated \r
+  @retval EFI_BUFFER_TOO_SMALL    The size of ProcessorContextBuffer is too small.\r
+                                  The value pointed by BufferLength has been updated\r
                                   to size in bytes that is needed.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64:BufferLength is NULL.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64:ProcessorContextBuffer is NULL.\r
                                   to size in bytes that is needed.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64:BufferLength is NULL.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64:ProcessorContextBuffer is NULL.\r
-  @retval EFI_INVALID_PARAMETER   IA32, X64:Processor with the handle specified by \r
+  @retval EFI_INVALID_PARAMETER   IA32, X64:Processor with the handle specified by\r
                                   ProcessorNumber does not exist.\r
                                   ProcessorNumber does not exist.\r
-  @retval EFI_NOT_FOUND           IPF: Processor with the handle specified by \r
+  @retval EFI_NOT_FOUND           IPF: Processor with the handle specified by\r
                                   ProcessorNumber does not exist.\r
 \r
 **/\r
                                   ProcessorNumber does not exist.\r
 \r
 **/\r
@@ -322,112 +322,112 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  This function is used to dispatch all enabled APs to the function specified \r
-  by Procedure. APs can run either simultaneously or one by one. The caller can \r
-  also configure the BSP to either wait for APs or just proceed with the next \r
-  task.  It is the responsibility of the caller of the StartupAllAPs() to make \r
-  sure that the nature of the code that will be run on the BSP and the dispatched \r
-  APs is well controlled. The MP Services Protocol does not guarantee that the \r
-  function that either processor is executing is MP-safe. Hence, the tasks that \r
+  This function is used to dispatch all enabled APs to the function specified\r
+  by Procedure. APs can run either simultaneously or one by one. The caller can\r
+  also configure the BSP to either wait for APs or just proceed with the next\r
+  task.  It is the responsibility of the caller of the StartupAllAPs() to make\r
+  sure that the nature of the code that will be run on the BSP and the dispatched\r
+  APs is well controlled. The MP Services Protocol does not guarantee that the\r
+  function that either processor is executing is MP-safe. Hence, the tasks that\r
   can be run in parallel are limited to certain independent tasks and well-\r
   can be run in parallel are limited to certain independent tasks and well-\r
-  controlled exclusive code. EFI services and protocols may not be called by APs \r
+  controlled exclusive code. EFI services and protocols may not be called by APs\r
   unless otherwise specified.\r
 \r
   @param[in]  This                    The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                       instance.\r
   unless otherwise specified.\r
 \r
   @param[in]  This                    The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                       instance.\r
-  @param[in]  Procedure               A pointer to the function to be run on enabled \r
-                                      APs of the system. \r
-  @param[in]  SingleThread            Flag that requests APs to execute one at a \r
+  @param[in]  Procedure               A pointer to the function to be run on enabled\r
+                                      APs of the system.\r
+  @param[in]  SingleThread            Flag that requests APs to execute one at a\r
                                       time or simultaneously.\r
                                       - IA32, X64:\r
                                       time or simultaneously.\r
                                       - IA32, X64:\r
-                                      If TRUE, then all the enabled APs execute \r
-                                      the function specified by Procedure one by \r
-                                      one, in ascending order of processor handle \r
-                                      number.  If FALSE, then all the enabled APs \r
-                                      execute the function specified by Procedure \r
+                                      If TRUE, then all the enabled APs execute\r
+                                      the function specified by Procedure one by\r
+                                      one, in ascending order of processor handle\r
+                                      number.  If FALSE, then all the enabled APs\r
+                                      execute the function specified by Procedure\r
                                       simultaneously.\r
                                       - IPF:\r
                                       simultaneously.\r
                                       - IPF:\r
-                                      If TRUE, then all the enabled APs execute \r
+                                      If TRUE, then all the enabled APs execute\r
                                       the function specified by Procedure simultaneously.\r
                                       the function specified by Procedure simultaneously.\r
-                                      If FALSE, then all the enabled APs execute the \r
-                                      function specified by Procedure one by one, in \r
-                                      ascending order of processor handle number. The \r
-                                      time interval of AP dispatching is determined \r
+                                      If FALSE, then all the enabled APs execute the\r
+                                      function specified by Procedure one by one, in\r
+                                      ascending order of processor handle number. The\r
+                                      time interval of AP dispatching is determined\r
                                       by WaitEvent and TimeoutInMicrosecs.\r
   @param[in]  WaitEvent               Event to signal when APs have finished.\r
                                       - IA32, X64:\r
                                       by WaitEvent and TimeoutInMicrosecs.\r
   @param[in]  WaitEvent               Event to signal when APs have finished.\r
                                       - IA32, X64:\r
-                                      If not NULL, when all APs finish after timeout \r
-                                      expires, the event will be signaled.  If NULL, \r
+                                      If not NULL, when all APs finish after timeout\r
+                                      expires, the event will be signaled.  If NULL,\r
                                       the parameter is ignored.\r
                                       - IPF:\r
                                       the parameter is ignored.\r
                                       - IPF:\r
-                                      If SingleThread is TRUE, this parameter \r
-                                      is ignored.  If SingleThread is FALSE (i.e. \r
-                                      dispatch APs one by one), this parameter \r
-                                      determines whether the BSP waits after each \r
-                                      AP is dispatched. If it is NULL, the BSP \r
-                                      does not wait after each AP is dispatched. \r
-                                      If it is not NULL, the BSP waits after each \r
-                                      AP is dispatched, and the time interval is \r
-                                      determined by TimeoutInMicrosecs.  Type \r
-                                      EFI_EVENT is defined in CreateEvent() in \r
-                                      the Unified Extensible Firmware Interface \r
+                                      If SingleThread is TRUE, this parameter\r
+                                      is ignored.  If SingleThread is FALSE (i.e.\r
+                                      dispatch APs one by one), this parameter\r
+                                      determines whether the BSP waits after each\r
+                                      AP is dispatched. If it is NULL, the BSP\r
+                                      does not wait after each AP is dispatched.\r
+                                      If it is not NULL, the BSP waits after each\r
+                                      AP is dispatched, and the time interval is\r
+                                      determined by TimeoutInMicrosecs.  Type\r
+                                      EFI_EVENT is defined in CreateEvent() in\r
+                                      the Unified Extensible Firmware Interface\r
                                       Specification.\r
   @param[in]  TimeoutInMicrosecsond   Time to wait for APs to finish.\r
                                       - IA32, X64:\r
                                       Specification.\r
   @param[in]  TimeoutInMicrosecsond   Time to wait for APs to finish.\r
                                       - IA32, X64:\r
-                                      If the value is zero, it means no timeout \r
-                                      limit. The BSP waits until all APs finish.  \r
-                                      If the value is not zero, the BSP waits \r
-                                      until all APs finish or timeout expires. \r
+                                      If the value is zero, it means no timeout\r
+                                      limit. The BSP waits until all APs finish.\r
+                                      If the value is not zero, the BSP waits\r
+                                      until all APs finish or timeout expires.\r
                                       If timeout expires, EFI_TIMEOUT is returned,\r
                                       If timeout expires, EFI_TIMEOUT is returned,\r
-                                      and the BSP will then check APs?status \r
-                                      periodically, with time interval of 16 \r
+                                      and the BSP will then check APs?status\r
+                                      periodically, with time interval of 16\r
                                       microseconds.\r
                                       - IPF:\r
                                       microseconds.\r
                                       - IPF:\r
-                                      If SingleThread is TRUE and FailedCPUList \r
-                                      is NULL, this parameter is ignored.  If \r
-                                      SingleThread is TRUE and FailedCPUList is \r
-                                      not NULL, this parameter determines whether \r
-                                      the BSP waits until all APs finish their \r
-                                      procedure. If it is zero, the BSP does not \r
-                                      wait for APs. If it is non-zero, it waits \r
-                                      until all APs finish.  If SingleThread is \r
-                                      FALSE and WaitEvent is NULL, this parameter \r
-                                      is ignored.  If SingleThread is FALSE and \r
-                                      WaitEvent is not NULL, the BSP waits after \r
-                                      each AP is dispatched and this value \r
-                                      determines time interval. If the value is \r
-                                      zero, the length of time interval is 10ms. \r
-                                      If the value is non-zero, the BSP waits \r
-                                      until dispatched AP finishes and then \r
+                                      If SingleThread is TRUE and FailedCPUList\r
+                                      is NULL, this parameter is ignored.  If\r
+                                      SingleThread is TRUE and FailedCPUList is\r
+                                      not NULL, this parameter determines whether\r
+                                      the BSP waits until all APs finish their\r
+                                      procedure. If it is zero, the BSP does not\r
+                                      wait for APs. If it is non-zero, it waits\r
+                                      until all APs finish.  If SingleThread is\r
+                                      FALSE and WaitEvent is NULL, this parameter\r
+                                      is ignored.  If SingleThread is FALSE and\r
+                                      WaitEvent is not NULL, the BSP waits after\r
+                                      each AP is dispatched and this value\r
+                                      determines time interval. If the value is\r
+                                      zero, the length of time interval is 10ms.\r
+                                      If the value is non-zero, the BSP waits\r
+                                      until dispatched AP finishes and then\r
                                       dispatch the next.\r
                                       dispatch the next.\r
-  @param[in]  ProcedureArgument       The pointer to the optional parameter of the \r
+  @param[in]  ProcedureArgument       The pointer to the optional parameter of the\r
                                       function specified by Procedure.\r
   @param[out] FailedCPUList           List of APs that did not finish.\r
                                       - IA32, X64:\r
                                       function specified by Procedure.\r
   @param[out] FailedCPUList           List of APs that did not finish.\r
                                       - IA32, X64:\r
-                                      If not NULL, it records handle numbers of \r
-                                      all logical processors that fail to accept \r
+                                      If not NULL, it records handle numbers of\r
+                                      all logical processors that fail to accept\r
                                       caller-provided function (busy or disabled).\r
                                       If NULL, this parameter is ignored.\r
                                       - IPF:\r
                                       caller-provided function (busy or disabled).\r
                                       If NULL, this parameter is ignored.\r
                                       - IPF:\r
-                                      If not NULL, it records status of all \r
-                                      logical processors, with processor handle \r
-                                      number as index. If a logical processor \r
-                                      fails to accept caller-provided function \r
-                                      because it is busy, the status is EFI_NOT_READY. \r
-                                      If it fails to accept function due to other \r
-                                      reasons, the status is EFI_NOT_AVAILABLE_YET. \r
+                                      If not NULL, it records status of all\r
+                                      logical processors, with processor handle\r
+                                      number as index. If a logical processor\r
+                                      fails to accept caller-provided function\r
+                                      because it is busy, the status is EFI_NOT_READY.\r
+                                      If it fails to accept function due to other\r
+                                      reasons, the status is EFI_NOT_AVAILABLE_YET.\r
                                       If timeout expires, the status is EFI_TIMEOUT.\r
                                       If timeout expires, the status is EFI_TIMEOUT.\r
-                                      Otherwise, the value is EFI_SUCCESS.  If NULL, \r
+                                      Otherwise, the value is EFI_SUCCESS.  If NULL,\r
                                       this parameter is ignored.\r
 \r
                                       this parameter is ignored.\r
 \r
-  @retval EFI_SUCCESS              IA32, X64: All dispatched APs have finished \r
+  @retval EFI_SUCCESS              IA32, X64: All dispatched APs have finished\r
                                   before the timeout expires.\r
                                   before the timeout expires.\r
-  @retval EFI_SUCCESS              IA32, X64: Only 1 logical processor exists \r
+  @retval EFI_SUCCESS              IA32, X64: Only 1 logical processor exists\r
                                   in system.\r
                                   in system.\r
-  @retval EFI_INVALID_PARAMETER            IA32, X64: Procedure is NULL.\r
-  @retval EFI_TIMEOUT              IA32, X64: The timeout expires before all \r
+  @retval EFI_INVALID_PARAMETER      IA32, X64: Procedure is NULL.\r
+  @retval EFI_TIMEOUT              IA32, X64: The timeout expires before all\r
                                   dispatched APs have finished.\r
                                   dispatched APs have finished.\r
-  @retval EFI_SUCCESS              IPF: This function always returns EFI_SUCCESS.\r
+  @retval EFI_SUCCESS              IPF: This function always returns EFI_SUCCESS.\r
 \r
 **/\r
 typedef\r
 \r
 **/\r
 typedef\r
@@ -437,63 +437,63 @@ EFI_STATUS
   IN  FRAMEWORK_EFI_AP_PROCEDURE          Procedure,\r
   IN  BOOLEAN                             SingleThread,\r
   IN  EFI_EVENT                           WaitEvent           OPTIONAL,\r
   IN  FRAMEWORK_EFI_AP_PROCEDURE          Procedure,\r
   IN  BOOLEAN                             SingleThread,\r
   IN  EFI_EVENT                           WaitEvent           OPTIONAL,\r
-  IN  UINTN                               TimeoutInMicroSecs,  \r
+  IN  UINTN                               TimeoutInMicroSecs,\r
   IN  VOID                                *ProcArguments      OPTIONAL,\r
   OUT UINTN                               *FailedCPUList      OPTIONAL\r
   );\r
 \r
 /**\r
   IN  VOID                                *ProcArguments      OPTIONAL,\r
   OUT UINTN                               *FailedCPUList      OPTIONAL\r
   );\r
 \r
 /**\r
-  This function is used to dispatch one enabled AP to the function provided by \r
-  the caller. The caller can request the BSP to either wait for the AP or just \r
+  This function is used to dispatch one enabled AP to the function provided by\r
+  the caller. The caller can request the BSP to either wait for the AP or just\r
   proceed with the next task.\r
 \r
   @param[in] This                    The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                      instance.\r
   proceed with the next task.\r
 \r
   @param[in] This                    The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                      instance.\r
-  @param[in] Procedure               A pointer to the function to be run on the \r
-                                     designated AP. \r
-  @param[in] ProcessorNumber         The handle number of AP. The range is from \r
-                                     0 to the total number of logical processors \r
-                                     minus 1.  The total number of logical \r
+  @param[in] Procedure               A pointer to the function to be run on the\r
+                                     designated AP.\r
+  @param[in] ProcessorNumber         The handle number of AP. The range is from\r
+                                     0 to the total number of logical processors\r
+                                     minus 1.  The total number of logical\r
                                      processors can be retrieved by GetGeneralMPInfo().\r
   @param[in] WaitEvent               Event to signal when APs have finished.\r
                                      - IA32, X64:\r
                                      processors can be retrieved by GetGeneralMPInfo().\r
   @param[in] WaitEvent               Event to signal when APs have finished.\r
                                      - IA32, X64:\r
-                                     If not NULL, when the AP finishes after timeout \r
-                                     expires, the event will be signaled.  If NULL, \r
+                                     If not NULL, when the AP finishes after timeout\r
+                                     expires, the event will be signaled.  If NULL,\r
                                      the parameter is ignored.\r
                                      - IPF:\r
                                      the parameter is ignored.\r
                                      - IPF:\r
-                                     This parameter determines whether the BSP \r
-                                     waits after the AP is dispatched. If it is \r
-                                     NULL, the BSP does not wait after the AP \r
-                                     is dispatched. If it is not NULL, the BSP \r
-                                     waits after the AP is dispatched, and the \r
+                                     This parameter determines whether the BSP\r
+                                     waits after the AP is dispatched. If it is\r
+                                     NULL, the BSP does not wait after the AP\r
+                                     is dispatched. If it is not NULL, the BSP\r
+                                     waits after the AP is dispatched, and the\r
                                      time interval is determined by TimeoutInMicrosecs.\r
                                      time interval is determined by TimeoutInMicrosecs.\r
-                                     Type EFI_EVENT is defined in CreateEvent() \r
-                                     in the Unified Extensible Firmware Interface \r
+                                     Type EFI_EVENT is defined in CreateEvent()\r
+                                     in the Unified Extensible Firmware Interface\r
                                      Specification.\r
   @param[in] TimeoutInMicrosecsond   Time to wait for APs to finish.\r
                                      - IA32, X64:\r
                                      Specification.\r
   @param[in] TimeoutInMicrosecsond   Time to wait for APs to finish.\r
                                      - IA32, X64:\r
-                                     If the value is zero, it means no timeout \r
-                                     limit. The BSP waits until the AP finishes.  \r
-                                     If the value is not zero, the BSP waits until \r
-                                     the AP finishes or timeout expires. If timeout \r
-                                     expires, EFI_TIMEOUT is returned, and the \r
-                                     BSP will then check the AP's status periodically, \r
+                                     If the value is zero, it means no timeout\r
+                                     limit. The BSP waits until the AP finishes.\r
+                                     If the value is not zero, the BSP waits until\r
+                                     the AP finishes or timeout expires. If timeout\r
+                                     expires, EFI_TIMEOUT is returned, and the\r
+                                     BSP will then check the AP's status periodically,\r
                                      with time interval of 16 microseconds.\r
                                      - IPF:\r
                                      If WaitEvent is NULL, this parameter is ignored.\r
                                      with time interval of 16 microseconds.\r
                                      - IPF:\r
                                      If WaitEvent is NULL, this parameter is ignored.\r
-                                     If WaitEvent is not NULL, the BSP waits after \r
-                                     the AP is dispatched and this value determines \r
-                                     time interval. If the value is zero, the length \r
-                                     of time interval is 10ms. If the value is \r
+                                     If WaitEvent is not NULL, the BSP waits after\r
+                                     the AP is dispatched and this value determines\r
+                                     time interval. If the value is zero, the length\r
+                                     of time interval is 10ms. If the value is\r
                                      non-zero, the BSP waits until the AP finishes.\r
                                      non-zero, the BSP waits until the AP finishes.\r
-  @param[in] ProcedureArgument       The pointer to the optional parameter of the \r
+  @param[in] ProcedureArgument       The pointer to the optional parameter of the\r
                                      function specified by Procedure.\r
 \r
                                      function specified by Procedure.\r
 \r
-  @retval EFI_SUCCESS             Specified AP has finished before the timeout \r
+  @retval EFI_SUCCESS             Specified AP has finished before the timeout\r
                                   expires.\r
                                   expires.\r
-  @retval EFI_TIMEOUT             The timeout expires before specified AP has \r
+  @retval EFI_TIMEOUT             The timeout expires before specified AP has\r
                                   finished.\r
                                   finished.\r
-  @retval EFI_INVALID_PARAMETER   IA32, X64: Processor with the handle specified \r
+  @retval EFI_INVALID_PARAMETER   IA32, X64: Processor with the handle specified\r
                                   by ProcessorNumber does not exist.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64: Specified AP is busy or disabled.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64: Procedure is NULL.\r
                                   by ProcessorNumber does not exist.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64: Specified AP is busy or disabled.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64: Procedure is NULL.\r
@@ -516,22 +516,22 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  This service switches the requested AP to be the BSP from that point onward. \r
-  The new BSP can take over the execution of the old BSP and continue seamlessly \r
-  from where the old one left off.  This call can only be performed by the \r
+  This service switches the requested AP to be the BSP from that point onward.\r
+  The new BSP can take over the execution of the old BSP and continue seamlessly\r
+  from where the old one left off.  This call can only be performed by the\r
   current BSP.\r
 \r
   @param[in] This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                instance.\r
   current BSP.\r
 \r
   @param[in] This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                instance.\r
-  @param[in] ProcessorNumber   The handle number of AP. The range is from 0 to \r
-                               the total number of logical processors minus 1. \r
-                               The total number of logical processors can be \r
+  @param[in] ProcessorNumber   The handle number of AP. The range is from 0 to\r
+                               the total number of logical processors minus 1.\r
+                               The total number of logical processors can be\r
                                retrieved by GetGeneralMPInfo().\r
                                retrieved by GetGeneralMPInfo().\r
-  @param[in] EnableOldBSP      If TRUE, then the old BSP will be listed as an \r
+  @param[in] EnableOldBSP      If TRUE, then the old BSP will be listed as an\r
                                enabled AP. Otherwise, it will be disabled.\r
 \r
   @retval EFI_SUCCESS             BSP successfully switched.\r
                                enabled AP. Otherwise, it will be disabled.\r
 \r
   @retval EFI_SUCCESS             BSP successfully switched.\r
-  @retval EFI_INVALID_PARAMETER   The processor with the handle specified by \r
+  @retval EFI_INVALID_PARAMETER   The processor with the handle specified by\r
                                   ProcessorNumber does not exist.\r
   @retval EFI_INVALID_PARAMETER   ProcessorNumber specifies the BSP.\r
   @retval EFI_NOT_READY           IA32, X64: Specified AP is busy or disabled.\r
                                   ProcessorNumber does not exist.\r
   @retval EFI_INVALID_PARAMETER   ProcessorNumber specifies the BSP.\r
   @retval EFI_NOT_READY           IA32, X64: Specified AP is busy or disabled.\r
@@ -549,26 +549,26 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  This service sends an IPI to a specified AP. Caller can specify vector number \r
+  This service sends an IPI to a specified AP. Caller can specify vector number\r
   and delivery mode of the interrupt.\r
 \r
   @param[in] This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                instance.\r
   and delivery mode of the interrupt.\r
 \r
   @param[in] This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                instance.\r
-  @param[in] ProcessorNumber   The handle number of AP. The range is from 0 to \r
-                               the total number of logical processors minus 1. \r
-                               The total number of logical processors can be \r
+  @param[in] ProcessorNumber   The handle number of AP. The range is from 0 to\r
+                               the total number of logical processors minus 1.\r
+                               The total number of logical processors can be\r
                                retrieved by GetGeneralMPInfo().\r
   @param[in] VectorNumber      The vector number of the interrupt.\r
   @param[in] DeliveryMode      The delivery mode of the interrupt.\r
 \r
   @retval EFI_SUCCESS             IPI was successfully sent.\r
   @retval EFI_INVALID_PARAMETER   ProcessorNumber specifies the BSP.\r
                                retrieved by GetGeneralMPInfo().\r
   @param[in] VectorNumber      The vector number of the interrupt.\r
   @param[in] DeliveryMode      The delivery mode of the interrupt.\r
 \r
   @retval EFI_SUCCESS             IPI was successfully sent.\r
   @retval EFI_INVALID_PARAMETER   ProcessorNumber specifies the BSP.\r
-  @retval EFI_INVALID_PARAMETER   IA32, X64: Processor with the handle specified \r
+  @retval EFI_INVALID_PARAMETER   IA32, X64: Processor with the handle specified\r
                                   by ProcessorNumber does not exist.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64: VectorNumber is greater than 255.\r
                                   by ProcessorNumber does not exist.\r
   @retval EFI_INVALID_PARAMETER   IA32, X64: VectorNumber is greater than 255.\r
-  @retval EFI_INVALID_PARAMETER   IA32, X64: DeliveryMode is greater than or equal \r
+  @retval EFI_INVALID_PARAMETER   IA32, X64: DeliveryMode is greater than or equal\r
                                   to DELIVERY_MODE_MAX.\r
                                   to DELIVERY_MODE_MAX.\r
-  @retval EFI_NOT_READY           IA32, X64: IPI is not accepted by the target \r
+  @retval EFI_NOT_READY           IA32, X64: IPI is not accepted by the target\r
                                   processor within 10 microseconds.\r
   @retval EFI_INVALID_PARAMETER   IPF: Specified AP is disabled.\r
   @retval EFI_INVALID_PARAMETER   IPF: Specified AP is unhealthy or untested.\r
                                   processor within 10 microseconds.\r
   @retval EFI_INVALID_PARAMETER   IPF: Specified AP is disabled.\r
   @retval EFI_INVALID_PARAMETER   IPF: Specified AP is unhealthy or untested.\r
@@ -585,28 +585,28 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  This service lets the caller enable or disable an AP.  The caller can optionally \r
-  specify the health status of the AP by Health. It is usually used to update the \r
+  This service lets the caller enable or disable an AP.  The caller can optionally\r
+  specify the health status of the AP by Health. It is usually used to update the\r
   health status of the processor after some processor test.\r
 \r
   @param[in] This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                instance.\r
   health status of the processor after some processor test.\r
 \r
   @param[in] This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                instance.\r
-  @param[in] ProcessorNumber   The handle number of AP. The range is from 0 to \r
-                               the total number of logical processors minus 1. \r
-                               The total number of logical processors can be \r
+  @param[in] ProcessorNumber   The handle number of AP. The range is from 0 to\r
+                               the total number of logical processors minus 1.\r
+                               The total number of logical processors can be\r
                                retrieved by GetGeneralMPInfo().\r
                                retrieved by GetGeneralMPInfo().\r
-  @param[in] NewAPState        Indicates whether the new, desired state of the \r
-                               AP is enabled or disabled. TRUE for enabling, \r
+  @param[in] NewAPState        Indicates whether the new, desired state of the\r
+                               AP is enabled or disabled. TRUE for enabling,\r
                                FALSE otherwise.\r
                                FALSE otherwise.\r
-  @param[in] HealthState       If not NULL, it points to the value that specifies \r
-                               the new health status of the AP.  If it is NULL, \r
-                               this parameter is ignored.  \r
+  @param[in] HealthState       If not NULL, it points to the value that specifies\r
+                               the new health status of the AP.  If it is NULL,\r
+                               this parameter is ignored.\r
 \r
   @retval EFI_SUCCESS             AP successfully enabled or disabled.\r
   @retval EFI_INVALID_PARAMETER   ProcessorNumber specifies the BSP.\r
 \r
   @retval EFI_SUCCESS             AP successfully enabled or disabled.\r
   @retval EFI_INVALID_PARAMETER   ProcessorNumber specifies the BSP.\r
-  @retval EFI_INVALID_PARAMETER   IA32, X64: Processor with the handle specified \r
+  @retval EFI_INVALID_PARAMETER   IA32, X64: Processor with the handle specified\r
                                   by ProcessorNumber does not exist.\r
                                   by ProcessorNumber does not exist.\r
-  @retval EFI_INVALID_PARAMETER   IPF: If an unhealthy or untested AP is to be \r
+  @retval EFI_INVALID_PARAMETER   IPF: If an unhealthy or untested AP is to be\r
                                   enabled.\r
 \r
 **/\r
                                   enabled.\r
 \r
 **/\r
@@ -620,17 +620,17 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  This service lets the caller processor get its handle number, with which any \r
-  processor in the system can be uniquely identified. The range is from 0 to the \r
-  total number of logical processors minus 1. The total number of logical \r
-  processors can be retrieved by GetGeneralMPInfo(). This service may be called \r
+  This service lets the caller processor get its handle number, with which any\r
+  processor in the system can be uniquely identified. The range is from 0 to the\r
+  total number of logical processors minus 1. The total number of logical\r
+  processors can be retrieved by GetGeneralMPInfo(). This service may be called\r
   from the BSP and APs.\r
 \r
   @param[in]  This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                 instance.\r
   from the BSP and APs.\r
 \r
   @param[in]  This              The pointer to the FRAMEWORK_EFI_MP_SERVICES_PROTOCOL\r
                                 instance.\r
-  @param[out] ProcessorNumber   A pointer to the handle number of AP. The range is \r
-                                from 0 to the total number of logical processors \r
-                                minus 1. The total number of logical processors \r
+  @param[out] ProcessorNumber   A pointer to the handle number of AP. The range is\r
+                                from 0 to the total number of logical processors\r
+                                minus 1. The total number of logical processors\r
                                 can be retrieved by GetGeneralMPInfo().\r
 \r
 @retval EFI_SUCCESS   This function always returns EFI_SUCCESS.\r
                                 can be retrieved by GetGeneralMPInfo().\r
 \r
 @retval EFI_SUCCESS   This function always returns EFI_SUCCESS.\r
index c843de1018a85b0f874694591ab0d86add728bea..3f973f6700ddb130fde13a364df4945917c58d57 100644 (file)
@@ -2,13 +2,13 @@
   This protocol abstracts the 8259 interrupt controller. This includes\r
   PCI IRQ routing needed to program the PCI Interrupt Line register.\r
 \r
   This protocol abstracts the 8259 interrupt controller. This includes\r
   PCI IRQ routing needed to program the PCI Interrupt Line register.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index 00a149e38783c24089e0ba0afbc4186c7af3da55..2ac79c956ba0d86f5f855a9497fd6448bbd4740e 100644 (file)
@@ -7,15 +7,15 @@
   well known naming conventions.\r
 \r
   Thunk is the code that switches from 32-bit protected environment into the 16-bit real-mode\r
   well known naming conventions.\r
 \r
   Thunk is the code that switches from 32-bit protected environment into the 16-bit real-mode\r
-       environment. Reverse thunk is the code that does the opposite.\r
+  environment. Reverse thunk is the code that does the opposite.\r
 \r
 \r
-Copyright (c) 2007 - 2015, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -28,7 +28,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #define _EFI_LEGACY_BIOS_H_\r
 \r
 ///\r
 #define _EFI_LEGACY_BIOS_H_\r
 \r
 ///\r
-/// \r
+///\r
 ///\r
 #pragma pack(1)\r
 \r
 ///\r
 #pragma pack(1)\r
 \r
@@ -51,75 +51,75 @@ typedef struct {
   /// 1 is "F," byte 2 is "E," and byte 3 is "$" and is normally accessed as a DWORD or UINT32.\r
   ///\r
   UINT32                            Signature;\r
   /// 1 is "F," byte 2 is "E," and byte 3 is "$" and is normally accessed as a DWORD or UINT32.\r
   ///\r
   UINT32                            Signature;\r
-  \r
+\r
   ///\r
   /// The value required such that byte checksum of TableLength equals zero.\r
   ///\r
   UINT8                             TableChecksum;\r
   ///\r
   /// The value required such that byte checksum of TableLength equals zero.\r
   ///\r
   UINT8                             TableChecksum;\r
-  \r
+\r
   ///\r
   /// The length of this table.\r
   ///\r
   UINT8                             TableLength;\r
   ///\r
   /// The length of this table.\r
   ///\r
   UINT8                             TableLength;\r
-  \r
+\r
   ///\r
   /// The major EFI revision for which this table was generated.\r
   ///\r
   /// The major EFI revision for which this table was generated.\r
-  /// \r
+  ///\r
   UINT8                             EfiMajorRevision;\r
   UINT8                             EfiMajorRevision;\r
-  \r
+\r
   ///\r
   /// The minor EFI revision for which this table was generated.\r
   ///\r
   UINT8                             EfiMinorRevision;\r
   ///\r
   /// The minor EFI revision for which this table was generated.\r
   ///\r
   UINT8                             EfiMinorRevision;\r
-  \r
+\r
   ///\r
   /// The major revision of this table.\r
   ///\r
   UINT8                             TableMajorRevision;\r
   ///\r
   /// The major revision of this table.\r
   ///\r
   UINT8                             TableMajorRevision;\r
-  \r
+\r
   ///\r
   /// The minor revision of this table.\r
   ///\r
   UINT8                             TableMinorRevision;\r
   ///\r
   /// The minor revision of this table.\r
   ///\r
   UINT8                             TableMinorRevision;\r
-  \r
+\r
   ///\r
   /// Reserved for future usage.\r
   ///\r
   UINT16                            Reserved;\r
   ///\r
   /// Reserved for future usage.\r
   ///\r
   UINT16                            Reserved;\r
-  \r
+\r
   ///\r
   /// The segment of the entry point within the traditional BIOS for Compatibility16 functions.\r
   ///\r
   UINT16                            Compatibility16CallSegment;\r
   ///\r
   /// The segment of the entry point within the traditional BIOS for Compatibility16 functions.\r
   ///\r
   UINT16                            Compatibility16CallSegment;\r
-  \r
+\r
   ///\r
   /// The offset of the entry point within the traditional BIOS for Compatibility16 functions.\r
   ///\r
   UINT16                            Compatibility16CallOffset;\r
   ///\r
   /// The offset of the entry point within the traditional BIOS for Compatibility16 functions.\r
   ///\r
   UINT16                            Compatibility16CallOffset;\r
-  \r
+\r
   ///\r
   ///\r
-  /// The segment of the entry point within the traditional BIOS for EfiCompatibility \r
+  /// The segment of the entry point within the traditional BIOS for EfiCompatibility\r
   /// to invoke the PnP installation check.\r
   ///\r
   UINT16                            PnPInstallationCheckSegment;\r
   /// to invoke the PnP installation check.\r
   ///\r
   UINT16                            PnPInstallationCheckSegment;\r
-  \r
+\r
   ///\r
   ///\r
-  /// The Offset of the entry point within the traditional BIOS for EfiCompatibility \r
+  /// The Offset of the entry point within the traditional BIOS for EfiCompatibility\r
   /// to invoke the PnP installation check.\r
   ///\r
   UINT16                            PnPInstallationCheckOffset;\r
   /// to invoke the PnP installation check.\r
   ///\r
   UINT16                            PnPInstallationCheckOffset;\r
-  \r
+\r
   ///\r
   ///\r
-  /// EFI system resources table. Type EFI_SYSTEM_TABLE is defined in the IntelPlatform \r
+  /// EFI system resources table. Type EFI_SYSTEM_TABLE is defined in the IntelPlatform\r
   ///Innovation Framework for EFI Driver Execution Environment Core Interface Specification (DXE CIS).\r
   ///\r
   ///Innovation Framework for EFI Driver Execution Environment Core Interface Specification (DXE CIS).\r
   ///\r
-  UINT32                            EfiSystemTable; \r
-  \r
+  UINT32                            EfiSystemTable;\r
+\r
   ///\r
   /// The address of an OEM-provided identifier string. The string is null terminated.\r
   ///\r
   UINT32                            OemIdStringPointer;\r
   ///\r
   /// The address of an OEM-provided identifier string. The string is null terminated.\r
   ///\r
   UINT32                            OemIdStringPointer;\r
-  \r
+\r
   ///\r
   /// The 32-bit physical address where ACPI RSD PTR is stored within the traditional\r
   /// BIOS. The remained of the ACPI tables are located at their EFI addresses. The size\r
   ///\r
   /// The 32-bit physical address where ACPI RSD PTR is stored within the traditional\r
   /// BIOS. The remained of the ACPI tables are located at their EFI addresses. The size\r
@@ -127,93 +127,93 @@ typedef struct {
   /// RSD PTR with either the ACPI 1.0b or 2.0 values.\r
   ///\r
   UINT32                            AcpiRsdPtrPointer;\r
   /// RSD PTR with either the ACPI 1.0b or 2.0 values.\r
   ///\r
   UINT32                            AcpiRsdPtrPointer;\r
-  \r
+\r
   ///\r
   /// The OEM revision number. Usage is undefined but provided for OEM module usage.\r
   ///\r
   UINT16                            OemRevision;\r
   ///\r
   /// The OEM revision number. Usage is undefined but provided for OEM module usage.\r
   ///\r
   UINT16                            OemRevision;\r
-  \r
+\r
   ///\r
   /// The 32-bit physical address where INT15 E820 data is stored within the traditional\r
   /// BIOS. The EfiCompatibility code will fill in the E820Pointer value and copy the\r
   /// data to the indicated area.\r
   ///\r
   UINT32                            E820Pointer;\r
   ///\r
   /// The 32-bit physical address where INT15 E820 data is stored within the traditional\r
   /// BIOS. The EfiCompatibility code will fill in the E820Pointer value and copy the\r
   /// data to the indicated area.\r
   ///\r
   UINT32                            E820Pointer;\r
-  \r
+\r
   ///\r
   /// The length of the E820 data and is filled in by the EfiCompatibility code.\r
   ///\r
   UINT32                            E820Length;\r
   ///\r
   /// The length of the E820 data and is filled in by the EfiCompatibility code.\r
   ///\r
   UINT32                            E820Length;\r
-  \r
+\r
   ///\r
   /// The 32-bit physical address where the $PIR table is stored in the traditional BIOS.\r
   /// The EfiCompatibility code will fill in the IrqRoutingTablePointer value and\r
   /// copy the data to the indicated area.\r
   ///\r
   UINT32                            IrqRoutingTablePointer;\r
   ///\r
   /// The 32-bit physical address where the $PIR table is stored in the traditional BIOS.\r
   /// The EfiCompatibility code will fill in the IrqRoutingTablePointer value and\r
   /// copy the data to the indicated area.\r
   ///\r
   UINT32                            IrqRoutingTablePointer;\r
-  \r
+\r
   ///\r
   /// The length of the $PIR table and is filled in by the EfiCompatibility code.\r
   ///\r
   UINT32                            IrqRoutingTableLength;\r
   ///\r
   /// The length of the $PIR table and is filled in by the EfiCompatibility code.\r
   ///\r
   UINT32                            IrqRoutingTableLength;\r
-  \r
+\r
   ///\r
   /// The 32-bit physical address where the MP table is stored in the traditional BIOS.\r
   ///\r
   /// The 32-bit physical address where the MP table is stored in the traditional BIOS.\r
-  /// The EfiCompatibility code will fill in the MpTablePtr value and copy the data \r
+  /// The EfiCompatibility code will fill in the MpTablePtr value and copy the data\r
   /// to the indicated area.\r
   ///\r
   UINT32                            MpTablePtr;\r
   /// to the indicated area.\r
   ///\r
   UINT32                            MpTablePtr;\r
-  \r
+\r
   ///\r
   /// The length of the MP table and is filled in by the EfiCompatibility code.\r
   ///\r
   UINT32                            MpTableLength;\r
   ///\r
   /// The length of the MP table and is filled in by the EfiCompatibility code.\r
   ///\r
   UINT32                            MpTableLength;\r
-  \r
+\r
   ///\r
   /// The segment of the OEM-specific INT table/code.\r
   ///\r
   /// The segment of the OEM-specific INT table/code.\r
-  /// \r
+  ///\r
   UINT16                            OemIntSegment;\r
   UINT16                            OemIntSegment;\r
-  \r
+\r
   ///\r
   /// The offset of the OEM-specific INT table/code.\r
   ///\r
   UINT16                            OemIntOffset;\r
   ///\r
   /// The offset of the OEM-specific INT table/code.\r
   ///\r
   UINT16                            OemIntOffset;\r
-  \r
+\r
   ///\r
   /// The segment of the OEM-specific 32-bit table/code.\r
   ///\r
   UINT16                            Oem32Segment;\r
   ///\r
   /// The segment of the OEM-specific 32-bit table/code.\r
   ///\r
   UINT16                            Oem32Segment;\r
-  \r
+\r
   ///\r
   /// The offset of the OEM-specific 32-bit table/code.\r
   ///\r
   UINT16                            Oem32Offset;\r
   ///\r
   /// The offset of the OEM-specific 32-bit table/code.\r
   ///\r
   UINT16                            Oem32Offset;\r
-  \r
+\r
   ///\r
   /// The segment of the OEM-specific 16-bit table/code.\r
   ///\r
   UINT16                            Oem16Segment;\r
   ///\r
   /// The segment of the OEM-specific 16-bit table/code.\r
   ///\r
   UINT16                            Oem16Segment;\r
-  \r
+\r
   ///\r
   /// The offset of the OEM-specific 16-bit table/code.\r
   ///\r
   UINT16                            Oem16Offset;\r
   ///\r
   /// The offset of the OEM-specific 16-bit table/code.\r
   ///\r
   UINT16                            Oem16Offset;\r
-  \r
+\r
   ///\r
   /// The segment of the TPM binary passed to 16-bit CSM.\r
   ///\r
   UINT16                            TpmSegment;\r
   ///\r
   /// The segment of the TPM binary passed to 16-bit CSM.\r
   ///\r
   UINT16                            TpmSegment;\r
-  \r
+\r
   ///\r
   /// The offset of the TPM binary passed to 16-bit CSM.\r
   ///\r
   UINT16                            TpmOffset;\r
   ///\r
   /// The offset of the TPM binary passed to 16-bit CSM.\r
   ///\r
   UINT16                            TpmOffset;\r
-  \r
+\r
   ///\r
   /// A pointer to a string identifying the independent BIOS vendor.\r
   ///\r
   UINT32                            IbvPointer;\r
   ///\r
   /// A pointer to a string identifying the independent BIOS vendor.\r
   ///\r
   UINT32                            IbvPointer;\r
-  \r
+\r
   ///\r
   /// This field is NULL for all systems not supporting PCI Express. This field is the base\r
   /// value of the start of the PCI Express memory-mapped configuration registers and\r
   ///\r
   /// This field is NULL for all systems not supporting PCI Express. This field is the base\r
   /// value of the start of the PCI Express memory-mapped configuration registers and\r
@@ -223,7 +223,7 @@ typedef struct {
   /// Functions.\r
   ///\r
   UINT32                            PciExpressBase;\r
   /// Functions.\r
   ///\r
   UINT32                            PciExpressBase;\r
-  \r
+\r
   ///\r
   /// Maximum PCI bus number assigned.\r
   ///\r
   ///\r
   /// Maximum PCI bus number assigned.\r
   ///\r
@@ -256,12 +256,12 @@ typedef struct {
 } EFI_COMPATIBILITY16_TABLE;\r
 \r
 ///\r
 } EFI_COMPATIBILITY16_TABLE;\r
 \r
 ///\r
-/// Functions provided by the CSM binary which communicate between the EfiCompatibility \r
+/// Functions provided by the CSM binary which communicate between the EfiCompatibility\r
 /// and Compatability16 code.\r
 ///\r
 /// and Compatability16 code.\r
 ///\r
-/// Inconsistent with the specification here: \r
-/// The member's name started with "Compatibility16" [defined in Intel Framework \r
-/// Compatibility Support Module Specification / 0.97 version] \r
+/// Inconsistent with the specification here:\r
+/// The member's name started with "Compatibility16" [defined in Intel Framework\r
+/// Compatibility Support Module Specification / 0.97 version]\r
 /// has been changed to "Legacy16" since keeping backward compatible.\r
 ///\r
 typedef enum {\r
 /// has been changed to "Legacy16" since keeping backward compatible.\r
 ///\r
 typedef enum {\r
@@ -274,7 +274,7 @@ typedef enum {
   ///   AX = Return Status codes\r
   ///\r
   Legacy16InitializeYourself    = 0x0000,\r
   ///   AX = Return Status codes\r
   ///\r
   Legacy16InitializeYourself    = 0x0000,\r
-  \r
+\r
   ///\r
   /// Causes the Compatibility16 BIOS to perform any drive number translations to match the boot sequence.\r
   /// Input:\r
   ///\r
   /// Causes the Compatibility16 BIOS to perform any drive number translations to match the boot sequence.\r
   /// Input:\r
@@ -284,18 +284,18 @@ typedef enum {
   ///   AX = Returned status codes\r
   ///\r
   Legacy16UpdateBbs             = 0x0001,\r
   ///   AX = Returned status codes\r
   ///\r
   Legacy16UpdateBbs             = 0x0001,\r
-  \r
+\r
   ///\r
   /// Allows the Compatibility16 code to perform any final actions before booting. The Compatibility16\r
   /// code is read/write.\r
   /// Input:\r
   ///   AX = Compatibility16PrepareToBoot\r
   ///\r
   /// Allows the Compatibility16 code to perform any final actions before booting. The Compatibility16\r
   /// code is read/write.\r
   /// Input:\r
   ///   AX = Compatibility16PrepareToBoot\r
-  ///   ES:BX = Pointer to EFI_TO_COMPATIBILITY16_BOOT_TABLE structure  \r
+  ///   ES:BX = Pointer to EFI_TO_COMPATIBILITY16_BOOT_TABLE structure\r
   /// Return:\r
   ///   AX = Returned status codes\r
   ///\r
   Legacy16PrepareToBoot         = 0x0002,\r
   /// Return:\r
   ///   AX = Returned status codes\r
   ///\r
   Legacy16PrepareToBoot         = 0x0002,\r
-  \r
+\r
   ///\r
   /// Causes the Compatibility16 BIOS to boot. The Compatibility16 code is Read/Only.\r
   /// Input:\r
   ///\r
   /// Causes the Compatibility16 BIOS to boot. The Compatibility16 code is Read/Only.\r
   /// Input:\r
@@ -304,7 +304,7 @@ typedef enum {
   ///   AX = Returned status codes\r
   ///\r
   Legacy16Boot                  = 0x0003,\r
   ///   AX = Returned status codes\r
   ///\r
   Legacy16Boot                  = 0x0003,\r
-  \r
+\r
   ///\r
   /// Allows the Compatibility16 code to get the last device from which a boot was attempted. This is\r
   /// stored in CMOS and is the priority number of the last attempted boot device.\r
   ///\r
   /// Allows the Compatibility16 code to get the last device from which a boot was attempted. This is\r
   /// stored in CMOS and is the priority number of the last attempted boot device.\r
@@ -315,7 +315,7 @@ typedef enum {
   ///   BX = Priority number of the boot device.\r
   ///\r
   Legacy16RetrieveLastBootDevice = 0x0004,\r
   ///   BX = Priority number of the boot device.\r
   ///\r
   Legacy16RetrieveLastBootDevice = 0x0004,\r
-  \r
+\r
   ///\r
   /// Allows the Compatibility16 code rehook INT13, INT18, and/or INT19 after dispatching a legacy OpROM.\r
   /// Input:\r
   ///\r
   /// Allows the Compatibility16 code rehook INT13, INT18, and/or INT19 after dispatching a legacy OpROM.\r
   /// Input:\r
@@ -326,7 +326,7 @@ typedef enum {
   ///   BX = Number of non-BBS-compliant devices found. Equals 0 if BBS compliant.\r
   ///\r
   Legacy16DispatchOprom         = 0x0005,\r
   ///   BX = Number of non-BBS-compliant devices found. Equals 0 if BBS compliant.\r
   ///\r
   Legacy16DispatchOprom         = 0x0005,\r
-  \r
+\r
   ///\r
   /// Finds a free area in the 0xFxxxx or 0xExxxx region of the specified length and returns the address\r
   /// of that region.\r
   ///\r
   /// Finds a free area in the 0xFxxxx or 0xExxxx region of the specified length and returns the address\r
   /// of that region.\r
@@ -343,7 +343,7 @@ typedef enum {
   ///   DS:BX = Address of the region\r
   ///\r
   Legacy16GetTableAddress       = 0x0006,\r
   ///   DS:BX = Address of the region\r
   ///\r
   Legacy16GetTableAddress       = 0x0006,\r
-  \r
+\r
   ///\r
   /// Enables the EfiCompatibility module to do any nonstandard processing of keyboard LEDs or state.\r
   /// Input:\r
   ///\r
   /// Enables the EfiCompatibility module to do any nonstandard processing of keyboard LEDs or state.\r
   /// Input:\r
@@ -356,7 +356,7 @@ typedef enum {
   ///     AX = Returned status codes\r
   ///\r
   Legacy16SetKeyboardLeds       = 0x0007,\r
   ///     AX = Returned status codes\r
   ///\r
   Legacy16SetKeyboardLeds       = 0x0007,\r
-  \r
+\r
   ///\r
   /// Enables the EfiCompatibility module to install an interrupt handler for PCI mass media devices that\r
   /// do not have an OpROM associated with them. An example is SATA.\r
   ///\r
   /// Enables the EfiCompatibility module to install an interrupt handler for PCI mass media devices that\r
   /// do not have an OpROM associated with them. An example is SATA.\r
@@ -385,8 +385,8 @@ typedef struct {
   UINT32  BbsTablePointer;              ///< A pointer to the BBS table.\r
   UINT16  RuntimeSegment;               ///< The segment where the OpROM can be relocated to. If this value is 0x0000, this\r
                                         ///< means that the relocation of this run time code is not supported.\r
   UINT32  BbsTablePointer;              ///< A pointer to the BBS table.\r
   UINT16  RuntimeSegment;               ///< The segment where the OpROM can be relocated to. If this value is 0x0000, this\r
                                         ///< means that the relocation of this run time code is not supported.\r
-                                        ///< Inconsistent with specification here: \r
-                                        ///< The member's name "OpromDestinationSegment" [defined in Intel Framework Compatibility Support Module Specification / 0.97 version] \r
+                                        ///< Inconsistent with specification here:\r
+                                        ///< The member's name "OpromDestinationSegment" [defined in Intel Framework Compatibility Support Module Specification / 0.97 version]\r
                                         ///< has been changed to "RuntimeSegment" since keeping backward compatible.\r
 \r
 } EFI_DISPATCH_OPROM_TABLE;\r
                                         ///< has been changed to "RuntimeSegment" since keeping backward compatible.\r
 \r
 } EFI_DISPATCH_OPROM_TABLE;\r
@@ -399,52 +399,52 @@ typedef struct {
   /// Starting address of memory under 1 MB. The ending address is assumed to be 640 KB or 0x9FFFF.\r
   ///\r
   UINT32                            BiosLessThan1MB;\r
   /// Starting address of memory under 1 MB. The ending address is assumed to be 640 KB or 0x9FFFF.\r
   ///\r
   UINT32                            BiosLessThan1MB;\r
-  \r
+\r
   ///\r
   /// The starting address of the high memory block.\r
   ///\r
   UINT32                            HiPmmMemory;\r
   ///\r
   /// The starting address of the high memory block.\r
   ///\r
   UINT32                            HiPmmMemory;\r
-  \r
+\r
   ///\r
   /// The length of high memory block.\r
   ///\r
   UINT32                            HiPmmMemorySizeInBytes;\r
   ///\r
   /// The length of high memory block.\r
   ///\r
   UINT32                            HiPmmMemorySizeInBytes;\r
-  \r
+\r
   ///\r
   /// The segment of the reverse thunk call code.\r
   ///\r
   UINT16                            ReverseThunkCallSegment;\r
   ///\r
   /// The segment of the reverse thunk call code.\r
   ///\r
   UINT16                            ReverseThunkCallSegment;\r
-  \r
+\r
   ///\r
   /// The offset of the reverse thunk call code.\r
   ///\r
   UINT16                            ReverseThunkCallOffset;\r
   ///\r
   /// The offset of the reverse thunk call code.\r
   ///\r
   UINT16                            ReverseThunkCallOffset;\r
-  \r
+\r
   ///\r
   /// The number of E820 entries copied to the Compatibility16 BIOS.\r
   ///\r
   UINT32                            NumberE820Entries;\r
   ///\r
   /// The number of E820 entries copied to the Compatibility16 BIOS.\r
   ///\r
   UINT32                            NumberE820Entries;\r
-  \r
+\r
   ///\r
   /// The amount of usable memory above 1 MB, e.g., E820 type 1 memory.\r
   ///\r
   UINT32                            OsMemoryAbove1Mb;\r
   ///\r
   /// The amount of usable memory above 1 MB, e.g., E820 type 1 memory.\r
   ///\r
   UINT32                            OsMemoryAbove1Mb;\r
-  \r
+\r
   ///\r
   /// The start of thunk code in main memory. Memory cannot be used by BIOS or PMM.\r
   ///\r
   UINT32                            ThunkStart;\r
   ///\r
   /// The start of thunk code in main memory. Memory cannot be used by BIOS or PMM.\r
   ///\r
   UINT32                            ThunkStart;\r
-  \r
+\r
   ///\r
   /// The size of the thunk code.\r
   ///\r
   UINT32                            ThunkSizeInBytes;\r
   ///\r
   /// The size of the thunk code.\r
   ///\r
   UINT32                            ThunkSizeInBytes;\r
-  \r
+\r
   ///\r
   /// Starting address of memory under 1 MB.\r
   ///\r
   UINT32                            LowPmmMemory;\r
   ///\r
   /// Starting address of memory under 1 MB.\r
   ///\r
   UINT32                            LowPmmMemory;\r
-  \r
+\r
   ///\r
   /// The length of low Memory block.\r
   ///\r
   ///\r
   /// The length of low Memory block.\r
   ///\r
@@ -535,40 +535,40 @@ typedef struct {
   /// per IDE controller. The IdentifyDrive is per drive. Index 0 is master and index\r
   /// 1 is slave.\r
   ///\r
   /// per IDE controller. The IdentifyDrive is per drive. Index 0 is master and index\r
   /// 1 is slave.\r
   ///\r
-  UINT16                            Status;   \r
-  \r
+  UINT16                            Status;\r
+\r
   ///\r
   /// PCI bus of IDE controller.\r
   ///\r
   UINT32                            Bus;\r
   ///\r
   /// PCI bus of IDE controller.\r
   ///\r
   UINT32                            Bus;\r
-  \r
+\r
   ///\r
   /// PCI device of IDE controller.\r
   ///\r
   UINT32                            Device;\r
   ///\r
   /// PCI device of IDE controller.\r
   ///\r
   UINT32                            Device;\r
-  \r
+\r
   ///\r
   /// PCI function of IDE controller.\r
   ///\r
   UINT32                            Function;\r
   ///\r
   /// PCI function of IDE controller.\r
   ///\r
   UINT32                            Function;\r
-  \r
+\r
   ///\r
   /// Command ports base address.\r
   ///\r
   UINT16                            CommandBaseAddress;\r
   ///\r
   /// Command ports base address.\r
   ///\r
   UINT16                            CommandBaseAddress;\r
-  \r
+\r
   ///\r
   /// Control ports base address.\r
   ///\r
   UINT16                            ControlBaseAddress;\r
   ///\r
   /// Control ports base address.\r
   ///\r
   UINT16                            ControlBaseAddress;\r
-  \r
+\r
   ///\r
   /// Bus master address.\r
   ///\r
   UINT16                            BusMasterAddress;\r
   ///\r
   /// Bus master address.\r
   ///\r
   UINT16                            BusMasterAddress;\r
-  \r
+\r
   UINT8                             HddIrq;\r
   UINT8                             HddIrq;\r
-  \r
+\r
   ///\r
   /// Data that identifies the drive data; one per possible attached drive.\r
   ///\r
   ///\r
   /// Data that identifies the drive data; one per possible attached drive.\r
   ///\r
@@ -596,7 +596,7 @@ typedef struct {
   UINT16                            Enabled : 1;        ///< If 0, ignore this entry.\r
   UINT16                            Failed : 1;         ///< 0 = Not known if boot failure occurred.\r
                                                         ///< 1 = Boot attempted failed.\r
   UINT16                            Enabled : 1;        ///< If 0, ignore this entry.\r
   UINT16                            Failed : 1;         ///< 0 = Not known if boot failure occurred.\r
                                                         ///< 1 = Boot attempted failed.\r
-  \r
+\r
   ///\r
   /// State of media present.\r
   ///   00 = No bootable media is present in the device.\r
   ///\r
   /// State of media present.\r
   ///   00 = No bootable media is present in the device.\r
@@ -616,64 +616,64 @@ typedef struct {
   /// The boot priority for this boot device. Values are defined below.\r
   ///\r
   UINT16                            BootPriority;\r
   /// The boot priority for this boot device. Values are defined below.\r
   ///\r
   UINT16                            BootPriority;\r
-  \r
+\r
   ///\r
   /// The PCI bus for this boot device.\r
   ///\r
   UINT32                            Bus;\r
   ///\r
   /// The PCI bus for this boot device.\r
   ///\r
   UINT32                            Bus;\r
-  \r
+\r
   ///\r
   /// The PCI device for this boot device.\r
   ///\r
   UINT32                            Device;\r
   ///\r
   /// The PCI device for this boot device.\r
   ///\r
   UINT32                            Device;\r
-  \r
+\r
   ///\r
   /// The PCI function for the boot device.\r
   ///\r
   UINT32                            Function;\r
   ///\r
   /// The PCI function for the boot device.\r
   ///\r
   UINT32                            Function;\r
-  \r
+\r
   ///\r
   /// The PCI class for this boot device.\r
   ///\r
   UINT8                             Class;\r
   ///\r
   /// The PCI class for this boot device.\r
   ///\r
   UINT8                             Class;\r
-  \r
+\r
   ///\r
   /// The PCI Subclass for this boot device.\r
   ///\r
   UINT8                             SubClass;\r
   ///\r
   /// The PCI Subclass for this boot device.\r
   ///\r
   UINT8                             SubClass;\r
-  \r
+\r
   ///\r
   /// Segment:offset address of an ASCIIZ description string describing the manufacturer.\r
   ///\r
   UINT16                            MfgStringOffset;\r
   ///\r
   /// Segment:offset address of an ASCIIZ description string describing the manufacturer.\r
   ///\r
   UINT16                            MfgStringOffset;\r
-  \r
+\r
   ///\r
   /// Segment:offset address of an ASCIIZ description string describing the manufacturer.\r
   ///\r
   /// Segment:offset address of an ASCIIZ description string describing the manufacturer.\r
-  ///  \r
+  ///\r
   UINT16                            MfgStringSegment;\r
   UINT16                            MfgStringSegment;\r
-  \r
+\r
   ///\r
   /// BBS device type. BBS device types are defined below.\r
   ///\r
   UINT16                            DeviceType;\r
   ///\r
   /// BBS device type. BBS device types are defined below.\r
   ///\r
   UINT16                            DeviceType;\r
-  \r
+\r
   ///\r
   /// Status of this boot device. Type BBS_STATUS_FLAGS is defined below.\r
   ///\r
   BBS_STATUS_FLAGS                  StatusFlags;\r
   ///\r
   /// Status of this boot device. Type BBS_STATUS_FLAGS is defined below.\r
   ///\r
   BBS_STATUS_FLAGS                  StatusFlags;\r
-  \r
+\r
   ///\r
   /// Segment:Offset address of boot loader for IPL devices or install INT13 handler for\r
   /// BCV devices.\r
   ///\r
   UINT16                            BootHandlerOffset;\r
   ///\r
   /// Segment:Offset address of boot loader for IPL devices or install INT13 handler for\r
   /// BCV devices.\r
   ///\r
   UINT16                            BootHandlerOffset;\r
-  \r
+\r
   ///\r
   /// Segment:Offset address of boot loader for IPL devices or install INT13 handler for\r
   /// BCV devices.\r
   ///\r
   /// Segment:Offset address of boot loader for IPL devices or install INT13 handler for\r
   /// BCV devices.\r
-  ///  \r
+  ///\r
   UINT16                            BootHandlerSegment;\r
   UINT16                            BootHandlerSegment;\r
-  \r
+\r
   ///\r
   /// Segment:offset address of an ASCIIZ description string describing this device.\r
   ///\r
   ///\r
   /// Segment:offset address of an ASCIIZ description string describing this device.\r
   ///\r
@@ -683,38 +683,38 @@ typedef struct {
   /// Segment:offset address of an ASCIIZ description string describing this device.\r
   ///\r
   UINT16                            DescStringSegment;\r
   /// Segment:offset address of an ASCIIZ description string describing this device.\r
   ///\r
   UINT16                            DescStringSegment;\r
-  \r
+\r
   ///\r
   /// Reserved.\r
   ///\r
   UINT32                            InitPerReserved;\r
   ///\r
   /// Reserved.\r
   ///\r
   UINT32                            InitPerReserved;\r
-  \r
+\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
   ///\r
   UINT32                            AdditionalIrq13Handler;\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
   ///\r
   UINT32                            AdditionalIrq13Handler;\r
-  \r
+\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
-  ///  \r
+  ///\r
   UINT32                            AdditionalIrq18Handler;\r
   UINT32                            AdditionalIrq18Handler;\r
-  \r
+\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
-  ///  \r
+  ///\r
   UINT32                            AdditionalIrq19Handler;\r
   UINT32                            AdditionalIrq19Handler;\r
-  \r
+\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
   ///\r
   /// The use of these fields is IBV dependent. They can be used to flag that an OpROM\r
   /// has hooked the specified IRQ. The OpROM may be BBS compliant as some SCSI\r
   /// BBS-compliant OpROMs also hook IRQ vectors in order to run their BIOS Setup\r
-  ///  \r
+  ///\r
   UINT32                            AdditionalIrq40Handler;\r
   UINT8                             AssignedDriveNumber;\r
   UINT32                            AdditionalIrq41Handler;\r
   UINT32                            AdditionalIrq40Handler;\r
   UINT8                             AssignedDriveNumber;\r
   UINT32                            AdditionalIrq41Handler;\r
@@ -754,17 +754,17 @@ typedef struct {
   /// values are reserved for future usage.\r
   ///\r
   UINT16                            Type : 3;\r
   /// values are reserved for future usage.\r
   ///\r
   UINT16                            Type : 3;\r
-  \r
+\r
   ///\r
   /// The size of "port" in bits. Defined values are below.\r
   ///\r
   UINT16                            PortGranularity : 3;\r
   ///\r
   /// The size of "port" in bits. Defined values are below.\r
   ///\r
   UINT16                            PortGranularity : 3;\r
-  \r
+\r
   ///\r
   /// The size of data in bits. Defined values are below.\r
   ///\r
   UINT16                            DataGranularity : 3;\r
   ///\r
   /// The size of data in bits. Defined values are below.\r
   ///\r
   UINT16                            DataGranularity : 3;\r
-  \r
+\r
   ///\r
   /// Reserved for future use.\r
   ///\r
   ///\r
   /// Reserved for future use.\r
   ///\r
@@ -829,17 +829,17 @@ typedef struct {
   /// SMM_ATTRIBUTES is defined below.\r
   ///\r
   SMM_ATTRIBUTES                    SmmAttributes;\r
   /// SMM_ATTRIBUTES is defined below.\r
   ///\r
   SMM_ATTRIBUTES                    SmmAttributes;\r
-  \r
+\r
   ///\r
   /// Function Soft SMI is to perform. Type SMM_FUNCTION is defined below.\r
   ///\r
   SMM_FUNCTION                      SmmFunction;\r
   ///\r
   /// Function Soft SMI is to perform. Type SMM_FUNCTION is defined below.\r
   ///\r
   SMM_FUNCTION                      SmmFunction;\r
-  \r
+\r
   ///\r
   /// SmmPort size depends upon SmmAttributes and ranges from2 bytes to 16 bytes.\r
   ///\r
   UINT8                             SmmPort;\r
   ///\r
   /// SmmPort size depends upon SmmAttributes and ranges from2 bytes to 16 bytes.\r
   ///\r
   UINT8                             SmmPort;\r
-  \r
+\r
   ///\r
   /// SmmData size depends upon SmmAttributes and ranges from2 bytes to 16 bytes.\r
   ///\r
   ///\r
   /// SmmData size depends upon SmmAttributes and ranges from2 bytes to 16 bytes.\r
   ///\r
@@ -862,18 +862,18 @@ typedef struct {
   /// This bit set indicates that the ServiceAreaData is valid.\r
   ///\r
   UINT8                             DirectoryServiceValidity : 1;\r
   /// This bit set indicates that the ServiceAreaData is valid.\r
   ///\r
   UINT8                             DirectoryServiceValidity : 1;\r
-  \r
+\r
   ///\r
   /// This bit set indicates to use the Reserve Area Boot Code Address (RACBA) only if\r
   /// DirectoryServiceValidity is 0.\r
   ///\r
   UINT8                             RabcaUsedFlag : 1;\r
   ///\r
   /// This bit set indicates to use the Reserve Area Boot Code Address (RACBA) only if\r
   /// DirectoryServiceValidity is 0.\r
   ///\r
   UINT8                             RabcaUsedFlag : 1;\r
-  \r
+\r
   ///\r
   /// This bit set indicates to execute hard disk diagnostics.\r
   ///\r
   UINT8                             ExecuteHddDiagnosticsFlag : 1;\r
   ///\r
   /// This bit set indicates to execute hard disk diagnostics.\r
   ///\r
   UINT8                             ExecuteHddDiagnosticsFlag : 1;\r
-  \r
+\r
   ///\r
   /// Reserved for future use. Set to 0.\r
   ///\r
   ///\r
   /// Reserved for future use. Set to 0.\r
   ///\r
@@ -889,35 +889,35 @@ typedef struct {
   /// UDC_ATTRIBUTES is defined below.\r
   ///\r
   UDC_ATTRIBUTES                    Attributes;\r
   /// UDC_ATTRIBUTES is defined below.\r
   ///\r
   UDC_ATTRIBUTES                    Attributes;\r
-  \r
+\r
   ///\r
   /// This field contains the zero-based device on which the selected\r
   ///\r
   /// This field contains the zero-based device on which the selected\r
-  /// ServiceDataArea is present. It is 0 for master and 1 for the slave device.  \r
+  /// ServiceDataArea is present. It is 0 for master and 1 for the slave device.\r
   ///\r
   UINT8                             DeviceNumber;\r
   ///\r
   UINT8                             DeviceNumber;\r
-  \r
+\r
   ///\r
   /// This field contains the zero-based index into the BbsTable for the parent device.\r
   /// This index allows the user to reference the parent device information such as PCI\r
   /// bus, device function.\r
   ///\r
   UINT8                             BbsTableEntryNumberForParentDevice;\r
   ///\r
   /// This field contains the zero-based index into the BbsTable for the parent device.\r
   /// This index allows the user to reference the parent device information such as PCI\r
   /// bus, device function.\r
   ///\r
   UINT8                             BbsTableEntryNumberForParentDevice;\r
-  \r
+\r
   ///\r
   /// This field contains the zero-based index into the BbsTable for the boot entry.\r
   ///\r
   UINT8                             BbsTableEntryNumberForBoot;\r
   ///\r
   /// This field contains the zero-based index into the BbsTable for the boot entry.\r
   ///\r
   UINT8                             BbsTableEntryNumberForBoot;\r
-  \r
+\r
   ///\r
   /// This field contains the zero-based index into the BbsTable for the HDD diagnostics entry.\r
   ///\r
   UINT8                             BbsTableEntryNumberForHddDiag;\r
   ///\r
   /// This field contains the zero-based index into the BbsTable for the HDD diagnostics entry.\r
   ///\r
   UINT8                             BbsTableEntryNumberForHddDiag;\r
-  \r
+\r
   ///\r
   /// The raw Beer data.\r
   ///\r
   UINT8                             BeerData[128];\r
   ///\r
   /// The raw Beer data.\r
   ///\r
   UINT8                             BeerData[128];\r
-  \r
+\r
   ///\r
   /// The raw data of selected service area.\r
   ///\r
   ///\r
   /// The raw data of selected service area.\r
   ///\r
@@ -1008,8 +1008,8 @@ typedef struct _EFI_LEGACY_BIOS_PROTOCOL EFI_LEGACY_BIOS_PROTOCOL;
 #define ROM_WITH_CONFIG   0x04     ///< Not defined in the Framework CSM Specification.\r
 \r
 ///\r
 #define ROM_WITH_CONFIG   0x04     ///< Not defined in the Framework CSM Specification.\r
 \r
 ///\r
-/// The following macros do not appear in the Framework CSM Specification and \r
-/// are kept for backward compatibility only.  They convert 32-bit address (_Adr) \r
+/// The following macros do not appear in the Framework CSM Specification and\r
+/// are kept for backward compatibility only.  They convert 32-bit address (_Adr)\r
 /// to Segment:Offset 16-bit form.\r
 ///\r
 ///@{\r
 /// to Segment:Offset 16-bit form.\r
 ///\r
 ///@{\r
@@ -1147,7 +1147,7 @@ typedef union {
   @param[in,out] Reg       Register contexted passed into (and returned) from thunk to\r
                            16-bit mode.\r
 \r
   @param[in,out] Reg       Register contexted passed into (and returned) from thunk to\r
                            16-bit mode.\r
 \r
-  @retval TRUE                Thunk completed with no BIOS errors in the target code. See Regs for status.  \r
+  @retval TRUE                Thunk completed with no BIOS errors in the target code. See Regs for status.\r
   @retval FALSE                  There was a BIOS error in the target code.\r
 **/\r
 typedef\r
   @retval FALSE                  There was a BIOS error in the target code.\r
 **/\r
 typedef\r
@@ -1292,8 +1292,8 @@ EFI_STATUS
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  This function takes the Leds input parameter and sets/resets the BDA accordingly. \r
-  Leds is also passed to Compatibility16 code, in case any special processing is required. \r
+  This function takes the Leds input parameter and sets/resets the BDA accordingly.\r
+  Leds is also passed to Compatibility16 code, in case any special processing is required.\r
   This function is normally called from EFI Setup drivers that handle user-selectable\r
   keyboard options such as boot with NUM LOCK on/off. This function does not\r
   touch the keyboard or keyboard LEDs but only the BDA.\r
   This function is normally called from EFI Setup drivers that handle user-selectable\r
   keyboard options such as boot with NUM LOCK on/off. This function does not\r
   touch the keyboard or keyboard LEDs but only the BDA.\r
@@ -1386,9 +1386,9 @@ EFI_STATUS
   Warning: Use this with caution. This routine disconnects all EFI\r
   drivers. If used externally, then  the caller must re-connect EFI\r
   drivers.\r
   Warning: Use this with caution. This routine disconnects all EFI\r
   drivers. If used externally, then  the caller must re-connect EFI\r
   drivers.\r
-  \r
+\r
   @param[in]  This   The protocol instance pointer.\r
   @param[in]  This   The protocol instance pointer.\r
-  \r
+\r
   @retval EFI_SUCCESS   OPROMs were shadowed.\r
 \r
 **/\r
   @retval EFI_SUCCESS   OPROMs were shadowed.\r
 \r
 **/\r
@@ -1460,58 +1460,58 @@ struct _EFI_LEGACY_BIOS_PROTOCOL {
   /// Performs traditional software INT. See the Int86() function description.\r
   ///\r
   EFI_LEGACY_BIOS_INT86                       Int86;\r
   /// Performs traditional software INT. See the Int86() function description.\r
   ///\r
   EFI_LEGACY_BIOS_INT86                       Int86;\r
-  \r
+\r
   ///\r
   /// Performs a far call into Compatibility16 or traditional OpROM code.\r
   ///\r
   EFI_LEGACY_BIOS_FARCALL86                   FarCall86;\r
   ///\r
   /// Performs a far call into Compatibility16 or traditional OpROM code.\r
   ///\r
   EFI_LEGACY_BIOS_FARCALL86                   FarCall86;\r
-  \r
+\r
   ///\r
   /// Checks if a traditional OpROM exists for this device.\r
   ///\r
   EFI_LEGACY_BIOS_CHECK_ROM                   CheckPciRom;\r
   ///\r
   /// Checks if a traditional OpROM exists for this device.\r
   ///\r
   EFI_LEGACY_BIOS_CHECK_ROM                   CheckPciRom;\r
-  \r
+\r
   ///\r
   /// Loads a traditional OpROM in traditional OpROM address space.\r
   ///\r
   EFI_LEGACY_BIOS_INSTALL_ROM                 InstallPciRom;\r
   ///\r
   /// Loads a traditional OpROM in traditional OpROM address space.\r
   ///\r
   EFI_LEGACY_BIOS_INSTALL_ROM                 InstallPciRom;\r
-  \r
+\r
   ///\r
   /// Boots a traditional OS.\r
   ///\r
   EFI_LEGACY_BIOS_BOOT                        LegacyBoot;\r
   ///\r
   /// Boots a traditional OS.\r
   ///\r
   EFI_LEGACY_BIOS_BOOT                        LegacyBoot;\r
-  \r
+\r
   ///\r
   /// Updates BDA to reflect the current EFI keyboard LED status.\r
   ///\r
   EFI_LEGACY_BIOS_UPDATE_KEYBOARD_LED_STATUS  UpdateKeyboardLedStatus;\r
   ///\r
   /// Updates BDA to reflect the current EFI keyboard LED status.\r
   ///\r
   EFI_LEGACY_BIOS_UPDATE_KEYBOARD_LED_STATUS  UpdateKeyboardLedStatus;\r
-  \r
+\r
   ///\r
   /// Allows an external agent, such as BIOS Setup, to get the BBS data.\r
   ///\r
   EFI_LEGACY_BIOS_GET_BBS_INFO                GetBbsInfo;\r
   ///\r
   /// Allows an external agent, such as BIOS Setup, to get the BBS data.\r
   ///\r
   EFI_LEGACY_BIOS_GET_BBS_INFO                GetBbsInfo;\r
-  \r
+\r
   ///\r
   /// Causes all legacy OpROMs to be shadowed.\r
   ///\r
   EFI_LEGACY_BIOS_SHADOW_ALL_LEGACY_OPROMS    ShadowAllLegacyOproms;\r
   ///\r
   /// Causes all legacy OpROMs to be shadowed.\r
   ///\r
   EFI_LEGACY_BIOS_SHADOW_ALL_LEGACY_OPROMS    ShadowAllLegacyOproms;\r
-  \r
+\r
   ///\r
   /// Performs all actions prior to boot. Used when booting an EFI-aware OS\r
   ///\r
   /// Performs all actions prior to boot. Used when booting an EFI-aware OS\r
-  /// rather than a legacy OS.  \r
+  /// rather than a legacy OS.\r
   ///\r
   EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI         PrepareToBootEfi;\r
   ///\r
   EFI_LEGACY_BIOS_PREPARE_TO_BOOT_EFI         PrepareToBootEfi;\r
-  \r
+\r
   ///\r
   /// Allows EFI to reserve an area in the 0xE0000 or 0xF0000 block.\r
   ///\r
   EFI_LEGACY_BIOS_GET_LEGACY_REGION           GetLegacyRegion;\r
   ///\r
   /// Allows EFI to reserve an area in the 0xE0000 or 0xF0000 block.\r
   ///\r
   EFI_LEGACY_BIOS_GET_LEGACY_REGION           GetLegacyRegion;\r
-  \r
+\r
   ///\r
   /// Allows EFI to copy data to the area specified by GetLegacyRegion.\r
   ///\r
   EFI_LEGACY_BIOS_COPY_LEGACY_REGION          CopyLegacyRegion;\r
   ///\r
   /// Allows EFI to copy data to the area specified by GetLegacyRegion.\r
   ///\r
   EFI_LEGACY_BIOS_COPY_LEGACY_REGION          CopyLegacyRegion;\r
-  \r
+\r
   ///\r
   /// Allows the user to boot off an unconventional device such as a PARTIES partition.\r
   ///\r
   ///\r
   /// Allows the user to boot off an unconventional device such as a PARTIES partition.\r
   ///\r
index 0d309b5f1ba85e2946334a3d8dde2af0b9f5d333..f772ccb7074fd82900068ba6f2239152a8ec2e85 100644 (file)
@@ -4,13 +4,13 @@
   the Legacy BIOS protocol is generic and consumes this protocol.\r
   A driver that matches the Legacy16 produces this protocol\r
 \r
   the Legacy BIOS protocol is generic and consumes this protocol.\r
   A driver that matches the Legacy16 produces this protocol\r
 \r
-Copyright (c) 2007 - 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -59,7 +59,7 @@ typedef enum {
   ///     Bit 1 = 1 0xE0000 64 KB block.\r
   ///     Multiple bits can be set.\r
   ///\r
   ///     Bit 1 = 1 0xE0000 64 KB block.\r
   ///     Multiple bits can be set.\r
   ///\r
-  ///   Alignment Bit-mapped address alignment granularity. \r
+  ///   Alignment Bit-mapped address alignment granularity.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   //    LegacySegment Segment in which EfiCompatibility code will place the MP table.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   //    LegacySegment Segment in which EfiCompatibility code will place the MP table.\r
@@ -97,7 +97,7 @@ typedef enum {
   ///       Bit 1 = 1 0xE0000 64 KB block.\r
   ///       Multiple bits can be set.\r
   ///\r
   ///       Bit 1 = 1 0xE0000 64 KB block.\r
   ///       Multiple bits can be set.\r
   ///\r
-  ///   Alignment Bit mapped address alignment granularity. \r
+  ///   Alignment Bit mapped address alignment granularity.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
@@ -116,7 +116,7 @@ typedef enum {
   /// IBVs normally use this mode for nonstandard Compatibility16 runtime 16 bit routines. It\r
   /// is the responsibility of this routine to coalesce multiple OEM 16 bit functions, if they\r
   /// exist, into one coherent package that is understandable by the Compatibility16 code.\r
   /// IBVs normally use this mode for nonstandard Compatibility16 runtime 16 bit routines. It\r
   /// is the responsibility of this routine to coalesce multiple OEM 16 bit functions, if they\r
   /// exist, into one coherent package that is understandable by the Compatibility16 code.\r
-  /// \r
+  ///\r
   /// Example usage: A legacy mobile BIOS that has a pre-existing runtime\r
   /// interface to return the battery status to calling applications.\r
   ///\r
   /// Example usage: A legacy mobile BIOS that has a pre-existing runtime\r
   /// interface to return the battery status to calling applications.\r
   ///\r
@@ -139,7 +139,7 @@ typedef enum {
   ///      Bit 1 = 1 0xE0000 64 KB block.\r
   ///      Multiple bits can be set.\r
   ///\r
   ///      Bit 1 = 1 0xE0000 64 KB block.\r
   ///      Multiple bits can be set.\r
   ///\r
-  ///   Alignment Bit mapped address alignment granularity. \r
+  ///   Alignment Bit mapped address alignment granularity.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
@@ -158,13 +158,13 @@ typedef enum {
 /// IBVs normally use this mode for nonstandard Compatibility16 runtime 32 bit routines. It\r
 /// is the responsibility of this routine to coalesce multiple OEM 32 bit functions, if they\r
 /// exist, into one coherent package that is understandable by the Compatibility16 code.\r
 /// IBVs normally use this mode for nonstandard Compatibility16 runtime 32 bit routines. It\r
 /// is the responsibility of this routine to coalesce multiple OEM 32 bit functions, if they\r
 /// exist, into one coherent package that is understandable by the Compatibility16 code.\r
-/// \r
+///\r
 /// Example usage: A legacy mobile BIOS that has a pre existing runtime\r
 /// interface to return the battery status to calling applications.\r
 ///\r
 /// This mode is invoked twice. The first invocation has LegacySegment and\r
 /// LegacyOffset set to 0. The mode returns the table address in EFI memory and its size.\r
 /// Example usage: A legacy mobile BIOS that has a pre existing runtime\r
 /// interface to return the battery status to calling applications.\r
 ///\r
 /// This mode is invoked twice. The first invocation has LegacySegment and\r
 /// LegacyOffset set to 0. The mode returns the table address in EFI memory and its size.\r
-/// \r
+///\r
 /// The second invocation has LegacySegment and LegacyOffset set to the location\r
 /// in the 0xF0000 or 0xE0000 block to which the table is to be copied. The second\r
 /// invocation allows any table address fix ups to occur in the EFI memory copy of the table.\r
 /// The second invocation has LegacySegment and LegacyOffset set to the location\r
 /// in the 0xF0000 or 0xE0000 block to which the table is to be copied. The second\r
 /// invocation allows any table address fix ups to occur in the EFI memory copy of the table.\r
@@ -191,7 +191,7 @@ typedef enum {
 ///       Bit 1 = 1 0xE0000 64 KB block.\r
 ///       Multiple bits can be set.\r
 ///\r
 ///       Bit 1 = 1 0xE0000 64 KB block.\r
 ///       Multiple bits can be set.\r
 ///\r
-///   Alignment Bit mapped address alignment granularity. \r
+///   Alignment Bit mapped address alignment granularity.\r
 ///       The first nonzero bit from the right is the address granularity.\r
 ///\r
 ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
 ///       The first nonzero bit from the right is the address granularity.\r
 ///\r
 ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
@@ -217,7 +217,7 @@ EfiGetPlatformBinaryOem32Data    = 3,
   ///      Bit 1 = 1 0xE0000 64 KB block.\r
   ///      Multiple bits can be set.\r
   ///\r
   ///      Bit 1 = 1 0xE0000 64 KB block.\r
   ///      Multiple bits can be set.\r
   ///\r
-  ///   Alignment Bit mapped address alignment granularity. \r
+  ///   Alignment Bit mapped address alignment granularity.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
   ///     The first nonzero bit from the right is the address granularity.\r
   ///\r
   ///   LegacySegment Segment in which EfiCompatibility code will place the table or data.\r
@@ -239,21 +239,21 @@ EfiGetPlatformBinaryOem32Data    = 3,
   /// The function parameters associated with this mode are:\r
   ///\r
   ///    System ROM image for the platform.\r
   /// The function parameters associated with this mode are:\r
   ///\r
   ///    System ROM image for the platform.\r
-  ///    \r
+  ///\r
   ///    TableSize Size of Table in bytes.\r
   ///    TableSize Size of Table in bytes.\r
-  ///    \r
+  ///\r
   ///    Location Ignored.\r
   ///    Location Ignored.\r
-  ///    \r
+  ///\r
   ///    Alignment Ignored.\r
   ///    Alignment Ignored.\r
-  ///    \r
+  ///\r
   ///    LegacySegment Ignored.\r
   ///    LegacySegment Ignored.\r
-  ///    \r
+  ///\r
   ///    LegacyOffset Ignored.\r
   ///\r
   /// The return values associated with this mode are:\r
   ///\r
   ///    EFI_SUCCESS ROM image found.\r
   ///    LegacyOffset Ignored.\r
   ///\r
   /// The return values associated with this mode are:\r
   ///\r
   ///    EFI_SUCCESS ROM image found.\r
-  ///    \r
+  ///\r
   ///    EFI_NOT_FOUND ROM not found.\r
   ///\r
   EfiGetPlatformBinarySystemRom    = 5,\r
   ///    EFI_NOT_FOUND ROM not found.\r
   ///\r
   EfiGetPlatformBinarySystemRom    = 5,\r
@@ -264,15 +264,15 @@ EfiGetPlatformBinaryOem32Data    = 3,
   /// The function parameters associated with this mode are:\r
   ///\r
   ///    Table System ROM image for the platform.\r
   /// The function parameters associated with this mode are:\r
   ///\r
   ///    Table System ROM image for the platform.\r
-  ///    \r
+  ///\r
   ///    TableSize Size of Table in bytes.\r
   ///    TableSize Size of Table in bytes.\r
-  ///    \r
+  ///\r
   ///    Location Ignored.\r
   ///    Location Ignored.\r
-  ///    \r
+  ///\r
   ///    Alignment Ignored.\r
   ///    Alignment Ignored.\r
-  ///    \r
+  ///\r
   ///    LegacySegment Ignored.\r
   ///    LegacySegment Ignored.\r
-  ///    \r
+  ///\r
   ///    LegacyOffset Ignored.\r
   ///\r
   /// The return values associated with this mode are:\r
   ///    LegacyOffset Ignored.\r
   ///\r
   /// The return values associated with this mode are:\r
@@ -306,7 +306,7 @@ typedef enum {
   ///   HandleCount Number of VGA handles found.\r
   ///\r
   ///   AdditionalData NULL.\r
   ///   HandleCount Number of VGA handles found.\r
   ///\r
   ///   AdditionalData NULL.\r
-  /// \r
+  ///\r
   EfiGetPlatformVgaHandle       = 0,\r
   ///\r
   /// This mode returns the Compatibility16 policy for the device that should be the IDE\r
   EfiGetPlatformVgaHandle       = 0,\r
   ///\r
   /// This mode returns the Compatibility16 policy for the device that should be the IDE\r
@@ -368,7 +368,7 @@ typedef enum {
   ///\r
   ///     Type 0.\r
   ///\r
   ///\r
   ///     Type 0.\r
   ///\r
-  ///     DeviceHandle Handle of device OpROM is associated with. \r
+  ///     DeviceHandle Handle of device OpROM is associated with.\r
   ///\r
   ///     ShadowAddress Address where OpROM is shadowed.\r
   ///\r
   ///\r
   ///     ShadowAddress Address where OpROM is shadowed.\r
   ///\r
@@ -402,14 +402,14 @@ typedef enum {
   ///\r
   ///       Type 0.\r
   ///\r
   ///\r
   ///       Type 0.\r
   ///\r
-  ///       DeviceHandle Handle of device OpROM is associated with. \r
+  ///       DeviceHandle Handle of device OpROM is associated with.\r
   ///\r
   ///       ShadowAddress Address where OpROM is shadowed.\r
   ///\r
   ///       Compatibility16Table NULL.\r
   ///\r
   ///       AdditionalData NULL.\r
   ///\r
   ///       ShadowAddress Address where OpROM is shadowed.\r
   ///\r
   ///       Compatibility16Table NULL.\r
   ///\r
   ///       AdditionalData NULL.\r
-  /// \r
+  ///\r
   EfiPlatformHookAfterRomInit     = 2\r
 } EFI_GET_PLATFORM_HOOK_MODE;\r
 \r
   EfiPlatformHookAfterRomInit     = 2\r
 } EFI_GET_PLATFORM_HOOK_MODE;\r
 \r
@@ -419,7 +419,7 @@ typedef enum {
 #define PCI_UNUSED        0x00\r
 ///\r
 /// This IRQ has been assigned to PCI.\r
 #define PCI_UNUSED        0x00\r
 ///\r
 /// This IRQ has been assigned to PCI.\r
-/// \r
+///\r
 #define PCI_USED          0xFF\r
 ///\r
 /// This IRQ has been used by an SIO legacy device and cannot be used by PCI.\r
 #define PCI_USED          0xFF\r
 ///\r
 /// This IRQ has been used by an SIO legacy device and cannot be used by PCI.\r
@@ -546,8 +546,8 @@ typedef struct {
   @param  This                  The protocol instance pointer.\r
   @param  Mode                  Specifies what data to return. See See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  Table                 Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  This                  The protocol instance pointer.\r
   @param  Mode                  Specifies what data to return. See See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  Table                 Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
-  @param  TableSize                    Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
-  @param  Location                     Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
+  @param  TableSize              Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
+  @param  Location               Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  Alignment             Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  LegacySegment         Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  LegacyOffset          Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  Alignment             Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  LegacySegment         Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
   @param  LegacyOffset          Mode specific.  See EFI_GET_PLATFORM_INFO_MODE enum.\r
@@ -649,7 +649,7 @@ EFI_STATUS
     * A list of PCI IRQs and the priority order to assign them.\r
 \r
   @param  This                    The protocol instance pointer.\r
     * A list of PCI IRQs and the priority order to assign them.\r
 \r
   @param  This                    The protocol instance pointer.\r
-  @param  RoutingTable            The pointer to PCI IRQ Routing table. \r
+  @param  RoutingTable            The pointer to PCI IRQ Routing table.\r
                                   This location is the $PIR table minus the header.\r
   @param  RoutingTableEntries     The number of entries in table.\r
   @param  LocalPirqTable          $PIR table.\r
                                   This location is the $PIR table minus the header.\r
   @param  RoutingTableEntries     The number of entries in table.\r
   @param  LocalPirqTable          $PIR table.\r
@@ -674,7 +674,7 @@ EFI_STATUS
 \r
 /**\r
   Translates the given PIRQ accounting for bridge.\r
 \r
 /**\r
   Translates the given PIRQ accounting for bridge.\r
-  This function translates the given PIRQ back through all buses, if required, \r
+  This function translates the given PIRQ back through all buses, if required,\r
   and returns the true PIRQ and associated IRQ.\r
 \r
   @param  This                  The protocol instance pointer.\r
   and returns the true PIRQ and associated IRQ.\r
 \r
   @param  This                  The protocol instance pointer.\r
@@ -746,7 +746,7 @@ struct _EFI_LEGACY_BIOS_PLATFORM_PROTOCOL {
   ///\r
   ///  Gets $PIR table.\r
   EFI_LEGACY_BIOS_PLATFORM_GET_ROUTING_TABLE    GetRoutingTable;\r
   ///\r
   ///  Gets $PIR table.\r
   EFI_LEGACY_BIOS_PLATFORM_GET_ROUTING_TABLE    GetRoutingTable;\r
-  /// \r
+  ///\r
   ///  Translates the given PIRQ to the final value after traversing any PCI bridges.\r
   ///\r
   EFI_LEGACY_BIOS_PLATFORM_TRANSLATE_PIRQ       TranslatePirq;\r
   ///  Translates the given PIRQ to the final value after traversing any PCI bridges.\r
   ///\r
   EFI_LEGACY_BIOS_PLATFORM_TRANSLATE_PIRQ       TranslatePirq;\r
index 8b2d56b2d339d44ad62d3bc9b808ab31de582edf..f67c1636fb26c9e84a11713119b3be401631be4e 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   This protocol abstracts the PIRQ programming from the generic EFI Compatibility Support Modules (CSMs).\r
 \r
 /** @file\r
   This protocol abstracts the PIRQ programming from the generic EFI Compatibility Support Modules (CSMs).\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index b18e8bc40b1b7afcd419c0b432bb8819b5e8d63d..1c49964a2a898f19f0973d941aaf6be235252163 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   This protocol manages the legacy memory regions between 0xc0000 - 0xfffff.\r
 \r
 /** @file\r
   This protocol manages the legacy memory regions between 0xc0000 - 0xfffff.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index ef1d24ae52ae2025d5da92025637510c2eeedd01..f4725cc8b3dcce80ef038992172a476c8098e04a 100644 (file)
@@ -4,13 +4,13 @@
   This interface provides a means of decoding a set of sections into a linked list of\r
   leaf sections.  This provides for an extensible and flexible file format.\r
 \r
   This interface provides a means of decoding a set of sections into a linked list of\r
   leaf sections.  This provides for an extensible and flexible file format.\r
 \r
-Copyright (c) 2006 - 2010, 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
+Copyright (c) 2006 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -66,15 +66,15 @@ EFI_STATUS
 \r
   @param  This                  Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.\r
   @param  SectionStreamHandle   Indicates from which section stream to read.\r
 \r
   @param  This                  Indicates the EFI_SECTION_EXTRACTION_PROTOCOL instance.\r
   @param  SectionStreamHandle   Indicates from which section stream to read.\r
-  @param  SectionType           The pointer to an EFI_SECTION_TYPE. If SectionType == NULL, \r
-                                the contents of the entire section stream are returned \r
-                                in Buffer. If SectionType is not NULL, only the \r
-                                requested section is returned. EFI_SECTION_ALL \r
-                                matches all section types and can be used as a \r
+  @param  SectionType           The pointer to an EFI_SECTION_TYPE. If SectionType == NULL,\r
+                                the contents of the entire section stream are returned\r
+                                in Buffer. If SectionType is not NULL, only the\r
+                                requested section is returned. EFI_SECTION_ALL\r
+                                matches all section types and can be used as a\r
                                 wild card to extract all sections in order.\r
   @param  SectionDefinitionGuid The pointer to an EFI_GUID. If SectionType ==\r
                                 wild card to extract all sections in order.\r
   @param  SectionDefinitionGuid The pointer to an EFI_GUID. If SectionType ==\r
-                                EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid \r
-                                indicates what section GUID to search for. If \r
+                                EFI_SECTION_GUID_DEFINED, SectionDefinitionGuid\r
+                                indicates what section GUID to search for. If\r
                                 SectionType !=EFI_SECTION_GUID_DEFINED, then\r
                                 SectionDefinitionGuid is unused and is ignored.\r
   @param  SectionInstance       Indicates which instance of the requested section\r
                                 SectionType !=EFI_SECTION_GUID_DEFINED, then\r
                                 SectionDefinitionGuid is unused and is ignored.\r
   @param  SectionInstance       Indicates which instance of the requested section\r
@@ -85,23 +85,23 @@ EFI_STATUS
                                 contents are returned.\r
   @param  BufferSize            A pointer to a caller-allocated UINTN.\r
   @param  AuthenticationStatus  A pointer to a caller-allocated UINT32 in\r
                                 contents are returned.\r
   @param  BufferSize            A pointer to a caller-allocated UINTN.\r
   @param  AuthenticationStatus  A pointer to a caller-allocated UINT32 in\r
-                                which any meta-data from encapsulation GUID-defined \r
+                                which any meta-data from encapsulation GUID-defined\r
                                 sections is returned.\r
 \r
   @retval EFI_SUCCESS           The SectionStream was successfully processed and\r
                                 the section contents were returned in Buffer.\r
   @retval EFI_PROTOCOL_ERROR    A GUID-defined section was encountered inthe section\r
                                 sections is returned.\r
 \r
   @retval EFI_SUCCESS           The SectionStream was successfully processed and\r
                                 the section contents were returned in Buffer.\r
   @retval EFI_PROTOCOL_ERROR    A GUID-defined section was encountered inthe section\r
-                                stream with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED \r
-                                bit set, but there was no corresponding GUIDed \r
+                                stream with its EFI_GUIDED_SECTION_PROCESSING_REQUIRED\r
+                                bit set, but there was no corresponding GUIDed\r
                                 Section Extraction Protocol in the handle database.\r
   @retval EFI_NOT_FOUND         An error was encountered when parsing the SectionStream,\r
                                 Section Extraction Protocol in the handle database.\r
   @retval EFI_NOT_FOUND         An error was encountered when parsing the SectionStream,\r
-                                which indicates that the SectionStream is not \r
+                                which indicates that the SectionStream is not\r
                                 correctly formatted. Or, the requested section does not exist.\r
   @retval EFI_OUT_OF_RESOURCES  The system has insufficient resources to process\r
                                 the request.\r
   @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.\r
                                 correctly formatted. Or, the requested section does not exist.\r
   @retval EFI_OUT_OF_RESOURCES  The system has insufficient resources to process\r
                                 the request.\r
   @retval EFI_INVALID_PARAMETER The SectionStreamHandle does not exist.\r
-  @retval EFI_WARN_BUFFER_TOO_SMALL The size of the input buffer is insufficient \r
-                                    to contain the requested section. The input \r
+  @retval EFI_WARN_BUFFER_TOO_SMALL The size of the input buffer is insufficient\r
+                                    to contain the requested section. The input\r
                                     buffer is filled and section contents are truncated.\r
 \r
 **/\r
                                     buffer is filled and section contents are truncated.\r
 \r
 **/\r
index 16d66b93ad657b7e15f91e883c6aa06f0732a9f7..ebb1ee8de72a6be197841095cd8d87c2c1b03668 100644 (file)
@@ -1,18 +1,18 @@
 /** @file\r
 /** @file\r
-  This file declares the SMM SMRAM Access abstraction protocol, which is used to control \r
+  This file declares the SMM SMRAM Access abstraction protocol, which is used to control\r
   the visibility of the SMRAM on the platform. The expectation is\r
   the visibility of the SMRAM on the platform. The expectation is\r
-  that the north bridge or memory controller would publish this protocol. \r
-  For example, the Memory Controller Hub (MCH) has the hardware provision for this \r
-  type of control. Because of the protected, distinguished class of memory for IA-32 \r
+  that the north bridge or memory controller would publish this protocol.\r
+  For example, the Memory Controller Hub (MCH) has the hardware provision for this\r
+  type of control. Because of the protected, distinguished class of memory for IA-32\r
   systems, the expectation is that this protocol would be supported only on IA-32 systems.\r
 \r
   systems, the expectation is that this protocol would be supported only on IA-32 systems.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index 0429c574d19f740f65eb057e6057a82e4193a055..d98d527dd24bf69000da75d60dca6bb482c8270f 100644 (file)
@@ -2,7 +2,7 @@
   This file declares SMM Base abstraction protocol.\r
   This protocol is used to install SMM handlers for support of subsequent SMI/PMI activations. This\r
   protocol is available on both IA-32 and Itanium-based systems.\r
   This file declares SMM Base abstraction protocol.\r
   This protocol is used to install SMM handlers for support of subsequent SMI/PMI activations. This\r
   protocol is available on both IA-32 and Itanium-based systems.\r
\r
+\r
   The EFI_SMM_BASE_PROTOCOL is a set of services that is exported by a processor device. It is\r
   a required protocol for the platform processor. This protocol can be used in both boot services and\r
   runtime mode. However, only the following member functions need to exist during runtime:\r
   The EFI_SMM_BASE_PROTOCOL is a set of services that is exported by a processor device. It is\r
   a required protocol for the platform processor. This protocol can be used in both boot services and\r
   runtime mode. However, only the following member functions need to exist during runtime:\r
   workarounds for the century rollover in CMOS should provide commensurate services throughout\r
   preboot and OS runtime.\r
 \r
   workarounds for the century rollover in CMOS should provide commensurate services throughout\r
   preboot and OS runtime.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -72,9 +72,9 @@ typedef struct _EFI_SMM_BASE_PROTOCOL  EFI_SMM_BASE_PROTOCOL;
   @param[in]  SmmImageHandle        A handle allocated by the SMM infrastructure code\r
                                     to uniquely designate a specific DXE SMM driver.\r
   @param[in]  CommunicationBuffer   A pointer to a collection of data in memory\r
   @param[in]  SmmImageHandle        A handle allocated by the SMM infrastructure code\r
                                     to uniquely designate a specific DXE SMM driver.\r
   @param[in]  CommunicationBuffer   A pointer to a collection of data in memory\r
-                                    that will be conveyed from a non-SMM environment \r
-                                    into an SMM environment. The buffer must be \r
-                                    contiguous and physically mapped, and must be \r
+                                    that will be conveyed from a non-SMM environment\r
+                                    into an SMM environment. The buffer must be\r
+                                    contiguous and physically mapped, and must be\r
                                     a physical address.\r
   @param[in]  SourceSize            The size of the CommunicationBuffer.\r
 \r
                                     a physical address.\r
   @param[in]  SourceSize            The size of the CommunicationBuffer.\r
 \r
@@ -101,10 +101,10 @@ EFI_STATUS
   @param[in]   SourceBuffer          An optional source buffer in case the image file\r
                                      is in memory.\r
   @param[in]   SourceSize            The size of the source image file, if in memory.\r
   @param[in]   SourceBuffer          An optional source buffer in case the image file\r
                                      is in memory.\r
   @param[in]   SourceSize            The size of the source image file, if in memory.\r
-  @param[out]  ImageHandle           The handle that the base driver uses to decode \r
-                                     the handler. Unique among SMM handlers only; \r
+  @param[out]  ImageHandle           The handle that the base driver uses to decode\r
+                                     the handler. Unique among SMM handlers only;\r
                                      not unique across DXE/EFI.\r
                                      not unique across DXE/EFI.\r
-  @param[in]   LegacyIA32Binary      An optional parameter specifying that the associated \r
+  @param[in]   LegacyIA32Binary      An optional parameter specifying that the associated\r
                                      file is a real-mode IA-32 binary.\r
 \r
   @retval      EFI_SUCCESS           The operation was successful.\r
                                      file is a real-mode IA-32 binary.\r
 \r
   @retval      EFI_SUCCESS           The operation was successful.\r
@@ -177,7 +177,7 @@ EFI_STATUS
   @param[in]  This                  Protocol instance pointer.\r
   @param[in]  SmmImageHandle        Handle of the callback service.\r
   @param[in]  CallbackAddress       Address of the callback service.\r
   @param[in]  This                  Protocol instance pointer.\r
   @param[in]  SmmImageHandle        Handle of the callback service.\r
   @param[in]  CallbackAddress       Address of the callback service.\r
-  @param[in]  MakeLast              If present, will stipulate that the handler is posted to \r
+  @param[in]  MakeLast              If present, will stipulate that the handler is posted to\r
                                     be executed last in the dispatch table.\r
   @param[in]  FloatingPointSave     An optional parameter that informs the\r
                                     EFI_SMM_ACCESS_PROTOCOL Driver core if it needs to save\r
                                     be executed last in the dispatch table.\r
   @param[in]  FloatingPointSave     An optional parameter that informs the\r
                                     EFI_SMM_ACCESS_PROTOCOL Driver core if it needs to save\r
@@ -209,8 +209,8 @@ EFI_STATUS
   @param[in]   This                  Protocol instance pointer.\r
   @param[in]   PoolType              The type of pool to allocate.\r
                                      The only supported type is EfiRuntimeServicesData;\r
   @param[in]   This                  Protocol instance pointer.\r
   @param[in]   PoolType              The type of pool to allocate.\r
                                      The only supported type is EfiRuntimeServicesData;\r
-                                     the interface will internally map this runtime request to \r
-                                     SMRAM for IA-32 and leave as this type for the Itanium \r
+                                     the interface will internally map this runtime request to\r
+                                     SMRAM for IA-32 and leave as this type for the Itanium\r
                                      processor family. Other types can be ignored.\r
   @param[in]   Size                  The number of bytes to allocate from the pool.\r
   @param[out]  Buffer                A pointer to a pointer to the allocated buffer if the call\r
                                      processor family. Other types can be ignored.\r
   @param[in]   Size                  The number of bytes to allocate from the pool.\r
   @param[out]  Buffer                A pointer to a pointer to the allocated buffer if the call\r
index d49831ca905fc376a4cd4490c8656f0d487056de..282b6a04e55d50930582d3d05aea3fdc5d31d92c 100644 (file)
@@ -8,13 +8,13 @@
   event from a platform chipset agent is an optional capability for both IA-32 and Itanium-based\r
   systems.\r
 \r
   event from a platform chipset agent is an optional capability for both IA-32 and Itanium-based\r
   systems.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -37,9 +37,9 @@ typedef struct _EFI_SMM_CONTROL_PROTOCOL              EFI_SMM_CONTROL_PROTOCOL;
 // SMM Access specification Data Structures\r
 //\r
 typedef struct {\r
 // SMM Access specification Data Structures\r
 //\r
 typedef struct {\r
-  /// \r
+  ///\r
   ///  Describes the I/O location of the particular port that engendered the synchronous\r
   ///  Describes the I/O location of the particular port that engendered the synchronous\r
-  ///  SMI. For example, this location can include but is not limited to the traditional \r
+  ///  SMI. For example, this location can include but is not limited to the traditional\r
   ///  PCAT* APM port of 0B2h.\r
   ///\r
   UINT8 SmiTriggerRegister;\r
   ///  PCAT* APM port of 0B2h.\r
   ///\r
   UINT8 SmiTriggerRegister;\r
@@ -82,7 +82,7 @@ EFI_STATUS
   Clears any system state that was created in response to the Active call.\r
 \r
   @param  This                  The EFI_SMM_CONTROL_PROTOCOL instance.\r
   Clears any system state that was created in response to the Active call.\r
 \r
   @param  This                  The EFI_SMM_CONTROL_PROTOCOL instance.\r
-  @param  Periodic              Optional parameter to repeat at this period one \r
+  @param  Periodic              Optional parameter to repeat at this period one\r
                                 time or, if the Periodic Boolean is set, periodically.\r
 \r
   @retval EFI_SUCCESS           The SMI/PMI has been engendered.\r
                                 time or, if the Periodic Boolean is set, periodically.\r
 \r
   @retval EFI_SUCCESS           The SMI/PMI has been engendered.\r
@@ -138,12 +138,12 @@ EFI_STATUS
 // SMM Control Protocol\r
 //\r
 /**\r
 // SMM Control Protocol\r
 //\r
 /**\r
-  This protocol is used to initiate SMI/PMI activations. \r
+  This protocol is used to initiate SMI/PMI activations.\r
   This protocol could be published by either:\r
     - A processor driver to abstract the SMI/PMI IPI.\r
     - The driver that abstracts the ASIC that is supporting the APM port, such as the ICH in an Intel chipset.\r
   Because of the possibility of performing SMI or PMI IPI transactions, the ability to generate this.\r
   This protocol could be published by either:\r
     - A processor driver to abstract the SMI/PMI IPI.\r
     - The driver that abstracts the ASIC that is supporting the APM port, such as the ICH in an Intel chipset.\r
   Because of the possibility of performing SMI or PMI IPI transactions, the ability to generate this.\r
-  \r
+\r
   The EFI_SMM_CONTROL_PROTOCOL is used by the platform chipset or processor driver. This\r
   protocol is usable both in boot services and at runtime. The runtime aspect enables an\r
   implementation of EFI_SMM_BASE_PROTOCOL.Communicate() to layer upon this service\r
   The EFI_SMM_CONTROL_PROTOCOL is used by the platform chipset or processor driver. This\r
   protocol is usable both in boot services and at runtime. The runtime aspect enables an\r
   implementation of EFI_SMM_BASE_PROTOCOL.Communicate() to layer upon this service\r
index 53c49b56f399a11b7751f92cb7841a5456aa40a1..4e66ef24e90372dca7f846a5234fa3f092ee5ef8 100644 (file)
@@ -3,13 +3,13 @@
 \r
   This protocol provides CPU I/O and memory access within SMM.\r
 \r
 \r
   This protocol provides CPU I/O and memory access within SMM.\r
 \r
-Copyright (c) 2009 - 2010, 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
+Copyright (c) 2009 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -29,17 +29,17 @@ typedef struct _EFI_SMM_CPU_IO_INTERFACE EFI_SMM_CPU_IO_INTERFACE;
 /**\r
   Provides the basic memory and I/O interfaces used to abstract accesses to devices.\r
 \r
 /**\r
   Provides the basic memory and I/O interfaces used to abstract accesses to devices.\r
 \r
-  The I/O operations are carried out exactly as requested.  The caller is \r
-  responsible for any alignment and I/O width issues that the bus, device, \r
+  The I/O operations are carried out exactly as requested.  The caller is\r
+  responsible for any alignment and I/O width issues that the bus, device,\r
   platform, or type of I/O might require.\r
 \r
   @param[in]      This     The EFI_SMM_CPU_IO_INTERFACE instance.\r
   @param[in]      Width    Signifies the width of the I/O operations.\r
   platform, or type of I/O might require.\r
 \r
   @param[in]      This     The EFI_SMM_CPU_IO_INTERFACE instance.\r
   @param[in]      Width    Signifies the width of the I/O operations.\r
-  @param[in]      Address  The base address of the I/O operations.  The caller is \r
-                           responsible for aligning the Address, if required. \r
+  @param[in]      Address  The base address of the I/O operations.  The caller is\r
+                           responsible for aligning the Address, if required.\r
   @param[in]      Count    The number of I/O operations to perform.\r
   @param[in]      Count    The number of I/O operations to perform.\r
-  @param[in,out]  Buffer   For read operations, the destination buffer to store \r
-                           the results.  For write operations, the source buffer \r
+  @param[in,out]  Buffer   For read operations, the destination buffer to store\r
+                           the results.  For write operations, the source buffer\r
                            from which to write data.\r
 \r
   @retval EFI_SUCCESS            The data was read from or written to the device.\r
                            from which to write data.\r
 \r
   @retval EFI_SUCCESS            The data was read from or written to the device.\r
index ba0d033392cdcc23273a0dac8f9263983d8829f4..78191d4ef57e78508cd0cba06050dacd0cc08b65 100644 (file)
@@ -2,13 +2,13 @@
   This file declares the SMM CPU Save State protocol, which provides the processor\r
   save-state information for IA-32 and Itanium processors.\r
 \r
   This file declares the SMM CPU Save State protocol, which provides the processor\r
   save-state information for IA-32 and Itanium processors.\r
 \r
-Copyright (c) 2010, 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
+Copyright (c) 2010 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -30,19 +30,19 @@ typedef struct _EFI_SMM_CPU_SAVE_STATE_PROTOCOL  EFI_SMM_CPU_SAVE_STATE_PROTOCOL
 \r
 #pragma pack (1)\r
 \r
 \r
 #pragma pack (1)\r
 \r
-/// \r
+///\r
 /// CPU save-state strcuture for IA32 and X64.\r
 ///\r
 /// This struct declaration does not exctly match the Framework SMM CIS 0.91 because the\r
 /// union in the Framework SMM CIS 0.91 contains an unnamed union member that causes build\r
 /// CPU save-state strcuture for IA32 and X64.\r
 ///\r
 /// This struct declaration does not exctly match the Framework SMM CIS 0.91 because the\r
 /// union in the Framework SMM CIS 0.91 contains an unnamed union member that causes build\r
-/// breaks on many compilers with high warning levels.  Instead, the UINT8 Reserved[0x200] \r
+/// breaks on many compilers with high warning levels.  Instead, the UINT8 Reserved[0x200]\r
 /// field has been moved into EFI_SMM_CPU_STATE32.  This maintains binary compatibility for\r
 /// the layout and also maintains source comaptibility for access of all fields in this\r
 /// union.\r
 ///\r
 /// field has been moved into EFI_SMM_CPU_STATE32.  This maintains binary compatibility for\r
 /// the layout and also maintains source comaptibility for access of all fields in this\r
 /// union.\r
 ///\r
-/// This struct declaration does not exctly match the Framework SMM CIS 0.91 because \r
+/// This struct declaration does not exctly match the Framework SMM CIS 0.91 because\r
 /// the Framework SMM CIS 0.91 uses ASM_XXX for base types in this structure.  These\r
 /// the Framework SMM CIS 0.91 uses ASM_XXX for base types in this structure.  These\r
-/// have been changed to use the base types defined in the UEFI Specification. \r
+/// have been changed to use the base types defined in the UEFI Specification.\r
 ///\r
 typedef struct {\r
   UINT8   Reserved[0x200];\r
 ///\r
 typedef struct {\r
   UINT8   Reserved[0x200];\r
@@ -80,9 +80,9 @@ typedef struct {
 } EFI_SMM_CPU_STATE32;\r
 \r
 ///\r
 } EFI_SMM_CPU_STATE32;\r
 \r
 ///\r
-/// This struct declaration does not exctly match the Framework SMM CIS 0.91 because \r
+/// This struct declaration does not exctly match the Framework SMM CIS 0.91 because\r
 /// the Framework SMM CIS 0.91 uses ASM_XXX for base types in this structure.  These\r
 /// the Framework SMM CIS 0.91 uses ASM_XXX for base types in this structure.  These\r
-/// have been changed to use the base types defined in the UEFI Specification. \r
+/// have been changed to use the base types defined in the UEFI Specification.\r
 ///\r
 typedef struct {\r
   UINT8   Reserved1[0x1d0];  // fc00h\r
 ///\r
 typedef struct {\r
   UINT8   Reserved1[0x1d0];  // fc00h\r
@@ -148,7 +148,7 @@ typedef struct {
 ///\r
 /// This union declaration does not exctly match the Framework SMM CIS 0.91 because the\r
 /// union in the Framework SMM CIS 0.91 contains an unnamed union member that causes build\r
 ///\r
 /// This union declaration does not exctly match the Framework SMM CIS 0.91 because the\r
 /// union in the Framework SMM CIS 0.91 contains an unnamed union member that causes build\r
-/// breaks on many compilers with high warning levels.  Instead, the UINT8 Reserved[0x200] \r
+/// breaks on many compilers with high warning levels.  Instead, the UINT8 Reserved[0x200]\r
 /// field has been moved into EFI_SMM_CPU_STATE32.  This maintains binary compatibility for\r
 /// the layout and also maintains source comaptibility for access of all fields in this\r
 /// union.\r
 /// field has been moved into EFI_SMM_CPU_STATE32.  This maintains binary compatibility for\r
 /// the layout and also maintains source comaptibility for access of all fields in this\r
 /// union.\r
index 62f9a516024ca3e4cf0c8f833aeb5dc6a30f0616..20fe95971f7abb72677ab700cc804cc4dc99b27b 100644 (file)
@@ -1,18 +1,18 @@
 /** @file\r
   This file declares the Smm Gpi Smi Child Protocol.\r
 /** @file\r
   This file declares the Smm Gpi Smi Child Protocol.\r
-  \r
+\r
   The EFI_SMM_GPI_DISPATCH_PROTOCOL is defined in Framework of EFI SMM Core Interface Spec\r
   Version 0.9. It provides the ability to install child handlers for the given event types.\r
   Several inputs can be enabled. This purpose of this interface is to generate an\r
   SMI in response to any of these inputs having a true value provided.\r
   The EFI_SMM_GPI_DISPATCH_PROTOCOL is defined in Framework of EFI SMM Core Interface Spec\r
   Version 0.9. It provides the ability to install child handlers for the given event types.\r
   Several inputs can be enabled. This purpose of this interface is to generate an\r
   SMI in response to any of these inputs having a true value provided.\r
-  \r
-Copyright (c) 2007 - 2010, 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
+\r
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 **/\r
@@ -36,7 +36,7 @@ typedef struct _EFI_SMM_GPI_DISPATCH_PROTOCOL  EFI_SMM_GPI_DISPATCH_PROTOCOL;
 //\r
 \r
 //\r
 //\r
 \r
 //\r
-// GpiMask is a bit mask of 32 possible general purpose inputs that can generate \r
+// GpiMask is a bit mask of 32 possible general purpose inputs that can generate\r
 // an SMI. Bit 0 corresponds to logical GPI[0], 1 corresponds to logical GPI[1], and so on.\r
 //\r
 // The logical GPI index to physical pin on device is described by the GPI device name\r
 // an SMI. Bit 0 corresponds to logical GPI[0], 1 corresponds to logical GPI[1], and so on.\r
 //\r
 // The logical GPI index to physical pin on device is described by the GPI device name\r
@@ -56,8 +56,8 @@ typedef struct {
 \r
   @param  DispatchHandle        The handle of this dispatch function.\r
   @param  DispatchContext       The pointer to the dispatch function's context.\r
 \r
   @param  DispatchHandle        The handle of this dispatch function.\r
   @param  DispatchContext       The pointer to the dispatch function's context.\r
-                                The DispatchContext fields are filled in by the \r
-                                dispatching driver prior to invoking this dispatch \r
+                                The DispatchContext fields are filled in by the\r
+                                dispatching driver prior to invoking this dispatch\r
                                 function.\r
 **/\r
 typedef\r
                                 function.\r
 **/\r
 typedef\r
@@ -76,7 +76,7 @@ VOID
                                 Indicates to the register\r
                                 function the GPI(s) for which the dispatch function\r
                                 should be invoked.\r
                                 Indicates to the register\r
                                 function the GPI(s) for which the dispatch function\r
                                 should be invoked.\r
-  @param  DispatchHandle        The handle generated by the dispatcher to track the \r
+  @param  DispatchHandle        The handle generated by the dispatcher to track the\r
                                 function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
                                 function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
index 56e9e3844e7f1b5366f42001ee248cb6b2a616bd..83cc7095fb4216bb5f61f0a2b377450b7347f9a1 100644 (file)
@@ -3,13 +3,13 @@
   The EFI_SMM_ICHN_DISPATCH_PROTOCOL provides the ability to install child handlers for\r
   the given event types.\r
 \r
   The EFI_SMM_ICHN_DISPATCH_PROTOCOL provides the ability to install child handlers for\r
   the given event types.\r
 \r
-Copyright (c) 2008 - 2010, 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
+Copyright (c) 2008 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index 962665f38427e97a4db40e4ffce890044f6311ec..a27c66ec384150cab5f9df42e1e3e2df828c18e0 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Provides the parent dispatch service for the periodical timer SMI source generator.\r
 \r
 /** @file\r
   Provides the parent dispatch service for the periodical timer SMI source generator.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -159,12 +159,12 @@ struct _EFI_SMM_PERIODIC_TIMER_DISPATCH_PROTOCOL {
   /// Installs a child service to be dispatched by this protocol.\r
   ///\r
   EFI_SMM_PERIODIC_TIMER_REGISTER   Register;\r
   /// Installs a child service to be dispatched by this protocol.\r
   ///\r
   EFI_SMM_PERIODIC_TIMER_REGISTER   Register;\r
-  \r
+\r
   ///\r
   /// Removes a child service dispatched by this protocol.\r
   ///\r
   EFI_SMM_PERIODIC_TIMER_UNREGISTER UnRegister;\r
   ///\r
   /// Removes a child service dispatched by this protocol.\r
   ///\r
   EFI_SMM_PERIODIC_TIMER_UNREGISTER UnRegister;\r
-  \r
+\r
   ///\r
   /// Returns the next SMI tick period that is supported by the chipset.\r
   ///\r
   ///\r
   /// Returns the next SMI tick period that is supported by the chipset.\r
   ///\r
index eaf5aa6371d741dae06da76371eed26d6565f89c..495018e80812a0e35dcd94c83a7765fcc29f54ca 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Provides the parent dispatch service for the power button SMI source generator.\r
 \r
 /** @file\r
   Provides the parent dispatch service for the power button SMI source generator.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -70,14 +70,14 @@ VOID
 /**\r
   Provides the parent dispatch service for a given SMI source generator\r
 \r
 /**\r
   Provides the parent dispatch service for a given SMI source generator\r
 \r
-  @param[in]   This                  The pointer to the \r
+  @param[in]   This                  The pointer to the\r
                                      EFI_SMM_POWER_BUTTON_DISPATCH_PROTOCOL instance.\r
   @param[in]   DispatchFunction      The function to install.\r
   @param[in]   DispatchContext       The pointer to the dispatch function's context.\r
                                      Indicates to the register\r
                                      EFI_SMM_POWER_BUTTON_DISPATCH_PROTOCOL instance.\r
   @param[in]   DispatchFunction      The function to install.\r
   @param[in]   DispatchContext       The pointer to the dispatch function's context.\r
                                      Indicates to the register\r
-                                     function the Power Button SMI phase for which \r
+                                     function the Power Button SMI phase for which\r
                                      to invoke the dispatch function.\r
                                      to invoke the dispatch function.\r
-  @param[out]  DispatchHandle        Handle generated by the dispatcher to track \r
+  @param[out]  DispatchHandle        Handle generated by the dispatcher to track\r
                                      the function instance.\r
 \r
   @retval      EFI_SUCCESS           The dispatch function has been successfully\r
                                      the function instance.\r
 \r
   @retval      EFI_SUCCESS           The dispatch function has been successfully\r
@@ -106,9 +106,9 @@ EFI_STATUS
 \r
   @retval     EFI_SUCCESS           The dispatch function has been successfully\r
                                     unregistered, and the SMI source has been\r
 \r
   @retval     EFI_SUCCESS           The dispatch function has been successfully\r
                                     unregistered, and the SMI source has been\r
-                                   disabled, if there are no other registered\r
-                                   child dispatch functions for this SMI\r
-                                   source.\r
+            disabled, if there are no other registered\r
+            child dispatch functions for this SMI\r
+            source.\r
   @retval     EFI_INVALID_PARAMETER The handle is invalid.\r
 \r
 **/\r
   @retval     EFI_INVALID_PARAMETER The handle is invalid.\r
 \r
 **/\r
index bb6e6ac79694ff9d2c04c8a40b51099b607f32c5..15967661e24583c098383cb6f167bd840a21a63b 100644 (file)
@@ -1,17 +1,17 @@
 /** @file\r
   Provides the parent dispatch service for the standby button SMI source generator.\r
 \r
 /** @file\r
   Provides the parent dispatch service for the standby button SMI source generator.\r
 \r
-  The SMM Standby Button Dispatch Protocol is defined in \r
+  The SMM Standby Button Dispatch Protocol is defined in\r
   the Intel Platform Innovation Framework for EFI SMM Core Interface Specification\r
   (SMM CIS) Version 0.9.\r
 \r
   the Intel Platform Innovation Framework for EFI SMM Core Interface Specification\r
   (SMM CIS) Version 0.9.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -76,10 +76,10 @@ VOID
   @param  This                  The pointer to the EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL instance.\r
   @param  DispatchFunction      The function to install.\r
   @param  DispatchContext       The pointer to the dispatch function's context.\r
   @param  This                  The pointer to the EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL instance.\r
   @param  DispatchFunction      The function to install.\r
   @param  DispatchContext       The pointer to the dispatch function's context.\r
-                                Indicates to the register function the Standby \r
+                                Indicates to the register function the Standby\r
                                 Button SMI phase for which to invoke the dispatch\r
                                 function.\r
                                 Button SMI phase for which to invoke the dispatch\r
                                 function.\r
-  @param  DispatchHandle        The handle generated by the dispatcher to track the \r
+  @param  DispatchHandle        The handle generated by the dispatcher to track the\r
                                 function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
                                 function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
@@ -128,7 +128,7 @@ EFI_STATUS
   Provides the ability to install child handlers for the given event types.\r
  **/\r
 struct _EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL {\r
   Provides the ability to install child handlers for the given event types.\r
  **/\r
 struct _EFI_SMM_STANDBY_BUTTON_DISPATCH_PROTOCOL {\r
-  /// \r
+  ///\r
   /// Installs a child service to be dispatched by this protocol.\r
   ///\r
   EFI_SMM_STANDBY_BUTTON_REGISTER   Register;\\r
   /// Installs a child service to be dispatched by this protocol.\r
   ///\r
   EFI_SMM_STANDBY_BUTTON_REGISTER   Register;\\r
index de19e536e34ca71b2b2abb31ce274f6595554e71..d3c516261e04da4fc019e519ce3fb5a805605795 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Provides the parent dispatch service for a given SMI source generator.\r
 \r
 /** @file\r
   Provides the parent dispatch service for a given SMI source generator.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -73,9 +73,9 @@ VOID
   @param  DispatchFunction      The function to install.\r
   @param  DispatchContext       The pointer to the dispatch function's context.\r
                                 Indicates to the register\r
   @param  DispatchFunction      The function to install.\r
   @param  DispatchContext       The pointer to the dispatch function's context.\r
                                 Indicates to the register\r
-                                function the Software SMI input value for which \r
+                                function the Software SMI input value for which\r
                                 to invoke the dispatch function.\r
                                 to invoke the dispatch function.\r
-  @param  DispatchHandle        The handle generated by the dispatcher to track \r
+  @param  DispatchHandle        The handle generated by the dispatcher to track\r
                                 the function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
                                 the function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
@@ -125,7 +125,7 @@ EFI_STATUS
 **/\r
 ///\r
 /// Inconsistent with the specification here:\r
 **/\r
 ///\r
 /// Inconsistent with the specification here:\r
-/// In The Framework specification SmmCis, this definition is named as \r
+/// In The Framework specification SmmCis, this definition is named as\r
 /// _EFI_SMM_ICHN_DISPATCH_PROTOCOL by mistake.\r
 ///\r
 struct _EFI_SMM_SW_DISPATCH_PROTOCOL {\r
 /// _EFI_SMM_ICHN_DISPATCH_PROTOCOL by mistake.\r
 ///\r
 struct _EFI_SMM_SW_DISPATCH_PROTOCOL {\r
index 7d1dec47fd91b97cbc605c73a2cbbb7246826431..21454c9d3ed41462515d7f6df785e77d4514f1a9 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Provides the parent dispatch service for a given Sx-state source generator.\r
 \r
 /** @file\r
   Provides the parent dispatch service for a given Sx-state source generator.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
index c3e08132105e5243b2d9a334bcd5ae2c9d5fba26..9bdbe00588ee6fb257f008b6742cfdce9e844d08 100644 (file)
@@ -1,13 +1,13 @@
 /** @file\r
   Provides the parent dispatch service for the USB SMI source generator.\r
 \r
 /** @file\r
   Provides the parent dispatch service for the USB SMI source generator.\r
 \r
-Copyright (c) 2007 - 2010, 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
+Copyright (c) 2007 - 2018, 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
 The full text of the license may be found at\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
+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
   @par Revision Reference:\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
   @par Revision Reference:\r
@@ -38,14 +38,14 @@ typedef struct {
   ///\r
   /// Describes whether this child handler will be invoked in response to a USB legacy\r
   /// emulation event, such as port-trap on the PS/2* keyboard control registers, or to a\r
   ///\r
   /// Describes whether this child handler will be invoked in response to a USB legacy\r
   /// emulation event, such as port-trap on the PS/2* keyboard control registers, or to a\r
-  /// USB wake event, such as resumption from a sleep state. \r
+  /// USB wake event, such as resumption from a sleep state.\r
   ///\r
   EFI_USB_SMI_TYPE          Type;\r
   ///\r
   /// The device path is part of the context structure and describes the location of the\r
   /// particular USB host controller in the system for which this register event will occur.\r
   /// This location is important because of the possible integration of several USB host\r
   ///\r
   EFI_USB_SMI_TYPE          Type;\r
   ///\r
   /// The device path is part of the context structure and describes the location of the\r
   /// particular USB host controller in the system for which this register event will occur.\r
   /// This location is important because of the possible integration of several USB host\r
-  /// controllers in a system. \r
+  /// controllers in a system.\r
   ///\r
   EFI_DEVICE_PATH_PROTOCOL  *Device;\r
 } EFI_SMM_USB_DISPATCH_CONTEXT;\r
   ///\r
   EFI_DEVICE_PATH_PROTOCOL  *Device;\r
 } EFI_SMM_USB_DISPATCH_CONTEXT;\r
@@ -74,14 +74,14 @@ VOID
   Register a child SMI source dispatch function with a parent SMM driver.\r
 \r
   @param[in]  This              The pointer to the EFI_SMM_USB_DISPATCH_PROTOCOL instance.\r
   Register a child SMI source dispatch function with a parent SMM driver.\r
 \r
   @param[in]  This              The pointer to the EFI_SMM_USB_DISPATCH_PROTOCOL instance.\r
-  @param[in]  DispatchFunction  The pointer to dispatch function to be invoked \r
+  @param[in]  DispatchFunction  The pointer to dispatch function to be invoked\r
                                 for this SMI source.\r
   @param[in]  DispatchContext   The pointer to the dispatch function's context.\r
                                 The caller fills this context in before calling\r
                                 the register function to indicate to the register\r
                                 function the USB SMI types for which the dispatch\r
                                 function should be invoked.\r
                                 for this SMI source.\r
   @param[in]  DispatchContext   The pointer to the dispatch function's context.\r
                                 The caller fills this context in before calling\r
                                 the register function to indicate to the register\r
                                 function the USB SMI types for which the dispatch\r
                                 function should be invoked.\r
-  @param[out] DispatchHandle    The handle generated by the dispatcher to track the \r
+  @param[out] DispatchHandle    The handle generated by the dispatcher to track the\r
                                 function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
                                 function instance.\r
 \r
   @retval EFI_SUCCESS           The dispatch function has been successfully\r
index 5cfe99c53a99a0bbea9cc6995067fce167e84d2d..8cefa10118133a9b00e4c259a8a4a06b40c2fdd2 100644 (file)
@@ -2,7 +2,7 @@
 # Intel Framework Package Reference Implementations\r
 #\r
 # This package provides definitions and libraries that comply to Intel Framework Specifications.\r
 # Intel Framework Package Reference Implementations\r
 #\r
 # This package provides definitions and libraries that comply to Intel Framework Specifications.\r
-# Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #    This program and the accompanying materials are licensed and made available\r
 #    under the terms and conditions of the BSD License which accompanies this distribution.\r
 #\r
 #    This program and the accompanying materials are licensed and made available\r
 #    under the terms and conditions of the BSD License which accompanies this distribution.\r
@@ -80,7 +80,7 @@
 \r
   ## Include/Ppi/FindFv.h\r
   gEfiFindFvPpiGuid                 = { 0x36164812, 0xa023, 0x44e5, { 0xbd, 0x85, 0x05, 0xbf, 0x3c, 0x77, 0x00, 0xaa }}\r
 \r
   ## Include/Ppi/FindFv.h\r
   gEfiFindFvPpiGuid                 = { 0x36164812, 0xa023, 0x44e5, { 0xbd, 0x85, 0x05, 0xbf, 0x3c, 0x77, 0x00, 0xaa }}\r
-  \r
+\r
   ## Include/Ppi/S3Resume.h\r
   gEfiPeiS3ResumePpiGuid            = { 0x4426CCB2, 0xE684, 0x4a8a, { 0xae, 0x40, 0x20, 0xd4, 0xb0, 0x25, 0xb7, 0x10 }}\r
 \r
   ## Include/Ppi/S3Resume.h\r
   gEfiPeiS3ResumePpiGuid            = { 0x4426CCB2, 0xE684, 0x4a8a, { 0xae, 0x40, 0x20, 0xd4, 0xb0, 0x25, 0xb7, 0x10 }}\r
 \r
 \r
   ## Include/Protocol/SmmCpuIo.h\r
   gEfiSmmCpuIoGuid  = { 0x5f439a0b, 0x45d8, 0x4682, {0xa4, 0xf4, 0xf0, 0x57, 0x6b, 0x51, 0x34, 0x41}}\r
 \r
   ## Include/Protocol/SmmCpuIo.h\r
   gEfiSmmCpuIoGuid  = { 0x5f439a0b, 0x45d8, 0x4682, {0xa4, 0xf4, 0xf0, 0x57, 0x6b, 0x51, 0x34, 0x41}}\r
-  \r
+\r
   ## Include/Protocol/FrameworkFormCallback.h\r
   gEfiFormCallbackProtocolGuid   = { 0xF3E4543D, 0xCF35, 0x6CEF, { 0x35, 0xC4, 0x4F, 0xE6, 0x34, 0x4D, 0xFC, 0x54 }}\r
 \r
   ## Include/Protocol/FrameworkFormCallback.h\r
   gEfiFormCallbackProtocolGuid   = { 0xF3E4543D, 0xCF35, 0x6CEF, { 0x35, 0xC4, 0x4F, 0xE6, 0x34, 0x4D, 0xFC, 0x54 }}\r
 \r
 \r
   ## Include/Protocol/FrameworkFormBrowser.h\r
   gEfiFormBrowserCompatibilityProtocolGuid    = { 0xfb7c852, 0xadca, 0x4853, { 0x8d, 0xf, 0xfb, 0xa7, 0x1b, 0x1c, 0xe1, 0x1a }}\r
 \r
   ## Include/Protocol/FrameworkFormBrowser.h\r
   gEfiFormBrowserCompatibilityProtocolGuid    = { 0xfb7c852, 0xadca, 0x4853, { 0x8d, 0xf, 0xfb, 0xa7, 0x1b, 0x1c, 0xe1, 0x1a }}\r
-  \r
+\r
   ## Include/Protocol/FrameworkFirmwareVolumeBlock.h\r
   ## Include/Protocol/FrameworkFirmwareVolumeBlock.h\r
-  gFramerworkEfiFirmwareVolumeBlockProtocolGuid = { 0xDE28BC59, 0x6228, 0x41BD, { 0xBD, 0xF6, 0xA3, 0xB9, 0xAD, 0xB5, 0x8D, 0xA1 }}    \r
+  gFramerworkEfiFirmwareVolumeBlockProtocolGuid = { 0xDE28BC59, 0x6228, 0x41BD, { 0xBD, 0xF6, 0xA3, 0xB9, 0xAD, 0xB5, 0x8D, 0xA1 }}\r
 \r
   ## Include/Protocol/SmmCpuSaveState.h\r
   gEfiSmmCpuSaveStateProtocolGuid = { 0x21f302ad, 0x6e94, 0x471b, {0x84, 0xbc, 0xb1, 0x48, 0x0, 0x40, 0x3a, 0x1d}}\r
 \r
   ## Include/Protocol/SmmCpuSaveState.h\r
   gEfiSmmCpuSaveStateProtocolGuid = { 0x21f302ad, 0x6e94, 0x471b, {0x84, 0xbc, 0xb1, 0x48, 0x0, 0x40, 0x3a, 0x1d}}\r
index ca96cc874091019d4b58a1ab631682e30f8e9c54..064c83ed39765ef06ede5d90d706627c5a95048c 100644 (file)
@@ -1,7 +1,7 @@
 // /** @file\r
 // IntelFramework Package Localized Strings and Content.\r
 //\r
 // /** @file\r
 // IntelFramework Package Localized Strings and Content.\r
 //\r
-// Copyright (c) 2013 - 2014, Intel Corporation. All rights reserved.<BR>\r
+// Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>\r
 //\r
 // This program and the accompanying materials are licensed and made available\r
 // under the terms and conditions of the BSD License which accompanies this distribution.\r
 //\r
 // This program and the accompanying materials are licensed and made available\r
 // under the terms and conditions of the BSD License which accompanies this distribution.\r
@@ -11,8 +11,8 @@
 //\r
 // **/\r
 \r
 //\r
 // **/\r
 \r
-#string STR_PROPERTIES_PACKAGE_NAME \r
-#language en-US \r
+#string STR_PROPERTIES_PACKAGE_NAME\r
+#language en-US\r
 "IntelFramework package"\r
 \r
 \r
 "IntelFramework package"\r
 \r
 \r
index c15bca8ee482d440890ff4aca794c71c197737d4..6265caa54c311f4b81e7f2ad0ea7ea65f1f86990 100644 (file)
@@ -1,10 +1,10 @@
 /** @file\r
   Internal include file of DXE CPU IO Library.\r
   It includes all necessary protocol/library class's header file\r
 /** @file\r
   Internal include file of DXE CPU IO Library.\r
   It includes all necessary protocol/library class's header file\r
-  for implementation of IoLib library instance. It is included \r
+  for implementation of IoLib library instance. It is included\r
   all source code of this library instance.\r
   all source code of this library instance.\r
-  \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
   Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
@@ -163,7 +163,7 @@ MmioReadWorker (
                         The caller is responsible for aligning the Address if required.\r
   @param  Width         The width of the I/O operation.\r
   @param  Data          The value to write to the I/O port.\r
                         The caller is responsible for aligning the Address if required.\r
   @param  Width         The width of the I/O operation.\r
   @param  Data          The value to write to the I/O port.\r
-  \r
+\r
   @return Data read from registers in the EFI system memory space.\r
 \r
 **/\r
   @return Data read from registers in the EFI system memory space.\r
 \r
 **/\r
index 1dbc362f093438e5973546b7c1829c710aa5bf2b..eadc5e568182c87b947a972dcab46a0c8f2971ca 100644 (file)
@@ -1,9 +1,9 @@
 /** @file\r
   I/O Library.\r
 /** @file\r
   I/O Library.\r
-  The implementation of I/O operation for this library instance \r
+  The implementation of I/O operation for this library instance\r
   are based on EFI_CPU_IO_PROTOCOL.\r
   are based on EFI_CPU_IO_PROTOCOL.\r
-  \r
-  Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
   Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   Copyright (c) 2017, AMD Incorporated. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
@@ -217,7 +217,7 @@ MmioReadWorker (
                         The caller is responsible for aligning the Address if required.\r
   @param  Width         The width of the I/O operation.\r
   @param  Data          The value to write to the I/O port.\r
                         The caller is responsible for aligning the Address if required.\r
   @param  Width         The width of the I/O operation.\r
   @param  Data          The value to write to the I/O port.\r
-  \r
+\r
   @return Data read from registers in the EFI system memory space.\r
 \r
 **/\r
   @return Data read from registers in the EFI system memory space.\r
 \r
 **/\r
@@ -293,7 +293,7 @@ IoWrite8 (
   serialized.\r
 \r
   If Port is not aligned on a 16-bit boundary, then ASSERT().\r
   serialized.\r
 \r
   If Port is not aligned on a 16-bit boundary, then ASSERT().\r
\r
+\r
   If 16-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to read.\r
   If 16-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to read.\r
@@ -351,7 +351,7 @@ IoWrite16 (
   Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.\r
   This function must guarantee that all I/O read and write operations are\r
   serialized.\r
   Reads the 32-bit I/O port specified by Port. The 32-bit read value is returned.\r
   This function must guarantee that all I/O read and write operations are\r
   serialized.\r
\r
+\r
   If Port is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
   If 32-bit I/O port operations are not supported, then ASSERT().\r
   If Port is not aligned on a 32-bit boundary, then ASSERT().\r
 \r
   If 32-bit I/O port operations are not supported, then ASSERT().\r
@@ -442,7 +442,7 @@ IoRead64 (
   operations are serialized.\r
 \r
   If Port is not aligned on a 64-bit boundary, then ASSERT().\r
   operations are serialized.\r
 \r
   If Port is not aligned on a 64-bit boundary, then ASSERT().\r
\r
+\r
   If 64-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to write.\r
   If 64-bit I/O port operations are not supported, then ASSERT().\r
 \r
   @param  Port  The I/O port to write.\r
@@ -703,7 +703,7 @@ MmioWrite8 (
   operations are serialized.\r
 \r
   If Address is not aligned on a 16-bit boundary, then ASSERT().\r
   operations are serialized.\r
 \r
   If Address is not aligned on a 16-bit boundary, then ASSERT().\r
\r
+\r
   If 16-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
   If 16-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
@@ -732,7 +732,7 @@ MmioRead16 (
   and write operations are serialized.\r
 \r
   If Address is not aligned on a 16-bit boundary, then ASSERT().\r
   and write operations are serialized.\r
 \r
   If Address is not aligned on a 16-bit boundary, then ASSERT().\r
\r
+\r
   If 16-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
   If 16-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
@@ -761,7 +761,7 @@ MmioWrite16 (
   operations are serialized.\r
 \r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
   operations are serialized.\r
 \r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
-  \r
+\r
   If 32-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
   If 32-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
@@ -790,7 +790,7 @@ MmioRead32 (
   and write operations are serialized.\r
 \r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
   and write operations are serialized.\r
 \r
   If Address is not aligned on a 32-bit boundary, then ASSERT().\r
\r
+\r
   If 32-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
   If 32-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
@@ -819,7 +819,7 @@ MmioWrite32 (
   operations are serialized.\r
 \r
   If Address is not aligned on a 64-bit boundary, then ASSERT().\r
   operations are serialized.\r
 \r
   If Address is not aligned on a 64-bit boundary, then ASSERT().\r
\r
+\r
   If 64-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
   If 64-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to read.\r
@@ -848,7 +848,7 @@ MmioRead64 (
   and write operations are serialized.\r
 \r
   If Address is not aligned on a 64-bit boundary, then ASSERT().\r
   and write operations are serialized.\r
 \r
   If Address is not aligned on a 64-bit boundary, then ASSERT().\r
\r
+\r
   If 64-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
   If 64-bit MMIO register operations are not supported, then ASSERT().\r
 \r
   @param  Address The MMIO register to write.\r
index b4b9ad5d2f54739c3ead0b74c824598c14c102ca..7bd641b6c6623d212838647a356d866d83e81bc0 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   I/O Library MMIO Buffer Functions.\r
 \r
 /** @file\r
   I/O Library MMIO Buffer Functions.\r
 \r
-  Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2018, 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
   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
@@ -70,7 +70,7 @@ MmioReadBuffer8 (
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\r
 \r
   If Length is not aligned on a 16-bit boundary, then ASSERT().\r
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\r
 \r
   If Length is not aligned on a 16-bit boundary, then ASSERT().\r
-  \r
+\r
   If Buffer is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
   If Buffer is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
@@ -173,7 +173,7 @@ MmioReadBuffer32 (
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\r
 \r
   If Length is not aligned on a 64-bit boundary, then ASSERT().\r
   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().\r
 \r
   If Length is not aligned on a 64-bit boundary, then ASSERT().\r
\r
+\r
   If Buffer is not aligned on a 64-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
   If Buffer is not aligned on a 64-bit boundary, then ASSERT().\r
 \r
   @param  StartAddress    Starting address for the MMIO region to be copied from.\r
index e6892cbafefd3527b3e20477505a956fdb50d345..d1491655fe629a7a63806653ea71b49657c22b97 100644 (file)
@@ -3,7 +3,7 @@
   EfiMain() is common driver entry point for all SMM driver who uses DxeSmmDriverEntryPoint\r
   library class.\r
 \r
   EfiMain() is common driver entry point for all SMM driver who uses DxeSmmDriverEntryPoint\r
   library class.\r
 \r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2018, 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
 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
@@ -136,9 +136,9 @@ _DriverUnloadHandler (
 {\r
   //\r
   // Call the unload handlers for all the modules.\r
 {\r
   //\r
   // Call the unload handlers for all the modules.\r
-  // \r
-  // Note: All libraries were constructed in SMM space, \r
-  // therefore we can not destruct them in Unload \r
+  //\r
+  // Note: All libraries were constructed in SMM space,\r
+  // therefore we can not destruct them in Unload\r
   // handler.\r
   //\r
   return ProcessModuleUnloadList (ImageHandle);\r
   // handler.\r
   //\r
   return ProcessModuleUnloadList (ImageHandle);\r
index 9a5b523ea0dba0d7eb0f6ae1df1e9e6456c1a4c3..5b20355665f97044c79e443c0c1f9d398f955337 100644 (file)
@@ -3,7 +3,7 @@
 #\r
 # Register driver in SMRAM and wrapper driver's library constructors and entry point.\r
 #\r
 #\r
 # Register driver in SMRAM and wrapper driver's library constructors and entry point.\r
 #\r
-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -49,7 +49,7 @@
   gEfiLoadedImageProtocolGuid                   ## CONSUMES\r
   gEfiSmmBaseProtocolGuid                       ## CONSUMES\r
   gEfiDevicePathProtocolGuid                    ## CONSUMES\r
   gEfiLoadedImageProtocolGuid                   ## CONSUMES\r
   gEfiSmmBaseProtocolGuid                       ## CONSUMES\r
   gEfiDevicePathProtocolGuid                    ## CONSUMES\r
-  \r
+\r
 [Depex]\r
   gEfiSmmBaseProtocolGuid\r
 \r
 [Depex]\r
   gEfiSmmBaseProtocolGuid\r
 \r
index 244e532f577e129be60b882828ef3d10efa7a1cb..d32492f7cdd61d1cf43cdfd99064ae2cad42c3ae 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   This module provide help function for displaying unicode string.\r
 \r
 /** @file\r
   This module provide help function for displaying unicode string.\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
+  Copyright (c) 2006 - 2018, 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
 \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
 **/\r
 \r
 \r
 **/\r
 \r
@@ -28,7 +28,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST UNICODE_WIDTH_ENTRY mUnicodeWidthTable[] = {
   //\r
   {(CHAR16)0x1FFF,  1},\r
   /*\r
   //\r
   {(CHAR16)0x1FFF,  1},\r
   /*\r
-   * Merge the blocks and replace them with the above entry as they fall to \r
+   * Merge the blocks and replace them with the above entry as they fall to\r
    * the same category and they are all narrow glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
    * the same category and they are all narrow glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
@@ -75,7 +75,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST UNICODE_WIDTH_ENTRY mUnicodeWidthTable[] = {
   //\r
   {(CHAR16)0x2FFF,  1},\r
   /*\r
   //\r
   {(CHAR16)0x2FFF,  1},\r
   /*\r
-   * Merge the blocks and replace them with the above entry as they fall to \r
+   * Merge the blocks and replace them with the above entry as they fall to\r
    * the same category and they are all narrow glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
    * the same category and they are all narrow glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
@@ -107,7 +107,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST UNICODE_WIDTH_ENTRY mUnicodeWidthTable[] = {
   //\r
   {(CHAR16)0x33FF,  2},\r
   /*\r
   //\r
   {(CHAR16)0x33FF,  2},\r
   /*\r
-   * Merge the blocks and replace them with the above entry as they fall to \r
+   * Merge the blocks and replace them with the above entry as they fall to\r
    * the same category and they are all wide glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
    * the same category and they are all wide glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
@@ -130,13 +130,13 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST UNICODE_WIDTH_ENTRY mUnicodeWidthTable[] = {
   //\r
   {(CHAR16)0x9FFF,  2},\r
   /*\r
   //\r
   {(CHAR16)0x9FFF,  2},\r
   /*\r
-   * Merge the blocks and replace them with the above entry as they fall to \r
+   * Merge the blocks and replace them with the above entry as they fall to\r
    * the same category and they are all wide glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
    * Remove the above item if below is un-commented.\r
    *\r
    * the same category and they are all wide glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
    * Remove the above item if below is un-commented.\r
    *\r
-  {(CHAR16)0x4DFF,  0},       // Reserved. 0x3400-0x4DBF as CJK unified ideographs \r
+  {(CHAR16)0x4DFF,  0},       // Reserved. 0x3400-0x4DBF as CJK unified ideographs\r
                       // extension A in ver3.0. 0x3400-0x4DFF\r
   {(CHAR16)0x9FFF,  2},       // CJK unified ideographs. 0x4E00-0x9FFF\r
   *\r
                       // extension A in ver3.0. 0x3400-0x4DFF\r
   {(CHAR16)0x9FFF,  2},       // CJK unified ideographs. 0x4E00-0x9FFF\r
   *\r
@@ -152,7 +152,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED CONST UNICODE_WIDTH_ENTRY mUnicodeWidthTable[] = {
   //\r
   {(CHAR16)0xD7FF,  2},\r
   /*\r
   //\r
   {(CHAR16)0xD7FF,  2},\r
   /*\r
-   * Merge the blocks and replace them with the above entry as they fall to \r
+   * Merge the blocks and replace them with the above entry as they fall to\r
    * the same category and they are all wide glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
    * the same category and they are all wide glyph. This will reduce search\r
    * time and table size. The merge will omit the reserved code.\r
    *\r
@@ -215,7 +215,7 @@ GetGlyphWidth (
   Item  = NULL;\r
   Low   = 0;\r
   High  = (sizeof (mUnicodeWidthTable)) / (sizeof (UNICODE_WIDTH_ENTRY)) - 1;\r
   Item  = NULL;\r
   Low   = 0;\r
   High  = (sizeof (mUnicodeWidthTable)) / (sizeof (UNICODE_WIDTH_ENTRY)) - 1;\r
-  while (Low <= High) {    \r
+  while (Low <= High) {\r
     Index = (Low + High) >> 1;\r
     Item  = &(mUnicodeWidthTable[Index]);\r
     if (Index == 0) {\r
     Index = (Low + High) >> 1;\r
     Item  = &(mUnicodeWidthTable[Index]);\r
     if (Index == 0) {\r
@@ -253,13 +253,13 @@ GetGlyphWidth (
   of the Unicode characters in String can not be determined, then 0 is returned. The display\r
   width of String can be computed by summing the display widths of each Unicode character\r
   in String.  Unicode characters that are narrow glyphs have a width of 1, and Unicode\r
   of the Unicode characters in String can not be determined, then 0 is returned. The display\r
   width of String can be computed by summing the display widths of each Unicode character\r
   in String.  Unicode characters that are narrow glyphs have a width of 1, and Unicode\r
-  characters that are width glyphs have a width of 2. \r
+  characters that are width glyphs have a width of 2.\r
   If String is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  String   A pointer to a Null-terminated Unicode string.\r
 \r
   @return          The display length of the Null-terminated Unicode string specified by String.\r
   If String is not aligned on a 16-bit boundary, then ASSERT().\r
 \r
   @param  String   A pointer to a Null-terminated Unicode string.\r
 \r
   @return          The display length of the Null-terminated Unicode string specified by String.\r
-  \r
+\r
 **/\r
 UINTN\r
 EFIAPI\r
 **/\r
 UINTN\r
 EFIAPI\r
@@ -289,27 +289,27 @@ UnicodeStringDisplayLength (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Draws a dialog box to the console output device specified by \r
+  Draws a dialog box to the console output device specified by\r
   ConOut defined in the EFI_SYSTEM_TABLE and waits for a keystroke\r
   ConOut defined in the EFI_SYSTEM_TABLE and waits for a keystroke\r
-  from the console input device specified by ConIn defined in the \r
+  from the console input device specified by ConIn defined in the\r
   EFI_SYSTEM_TABLE.\r
 \r
   If there are no strings in the variable argument list, then ASSERT().\r
   If all the strings in the variable argument list are empty, then ASSERT().\r
 \r
   @param[in]   Attribute  Specifies the foreground and background color of the popup.\r
   EFI_SYSTEM_TABLE.\r
 \r
   If there are no strings in the variable argument list, then ASSERT().\r
   If all the strings in the variable argument list are empty, then ASSERT().\r
 \r
   @param[in]   Attribute  Specifies the foreground and background color of the popup.\r
-  @param[out]  Key        A pointer to the EFI_KEY value of the key that was \r
+  @param[out]  Key        A pointer to the EFI_KEY value of the key that was\r
                           pressed.  This is an optional parameter that may be NULL.\r
                           If it is NULL then no wait for a keypress will be performed.\r
   @param[in]  ...         The variable argument list that contains pointers to Null-\r
                           pressed.  This is an optional parameter that may be NULL.\r
                           If it is NULL then no wait for a keypress will be performed.\r
   @param[in]  ...         The variable argument list that contains pointers to Null-\r
-                          terminated Unicode strings to display in the dialog box.  \r
+                          terminated Unicode strings to display in the dialog box.\r
                           The variable argument list is terminated by a NULL.\r
 \r
 **/\r
 VOID\r
 EFIAPI\r
 CreatePopUp (\r
                           The variable argument list is terminated by a NULL.\r
 \r
 **/\r
 VOID\r
 EFIAPI\r
 CreatePopUp (\r
-  IN  UINTN          Attribute,                \r
+  IN  UINTN          Attribute,\r
   OUT EFI_INPUT_KEY  *Key,      OPTIONAL\r
   ...\r
   )\r
   OUT EFI_INPUT_KEY  *Key,      OPTIONAL\r
   ...\r
   )\r
@@ -330,7 +330,7 @@ CreatePopUp (
   UINTN                            EventIndex;\r
 \r
   //\r
   UINTN                            EventIndex;\r
 \r
   //\r
-  // Determine the length of the longest line in the popup and the the total \r
+  // Determine the length of the longest line in the popup and the the total\r
   // number of lines in the popup\r
   //\r
   VA_START (Args, Key);\r
   // number of lines in the popup\r
   //\r
   VA_START (Args, Key);\r
@@ -356,7 +356,7 @@ CreatePopUp (
   // Cache a pointer to the Simple Text Output Protocol in the EFI System Table\r
   //\r
   ConOut = gST->ConOut;\r
   // Cache a pointer to the Simple Text Output Protocol in the EFI System Table\r
   //\r
   ConOut = gST->ConOut;\r
-  \r
+\r
   //\r
   // Save the current console cursor position and attributes\r
   //\r
   //\r
   // Save the current console cursor position and attributes\r
   //\r
@@ -396,7 +396,7 @@ CreatePopUp (
   ASSERT (Line != NULL);\r
 \r
   //\r
   ASSERT (Line != NULL);\r
 \r
   //\r
-  // Draw top of popup box   \r
+  // Draw top of popup box\r
   //\r
   SetMem16 (Line, (MaxLength + 2) * 2, BOXDRAW_HORIZONTAL);\r
   Line[0]             = BOXDRAW_DOWN_RIGHT;\r
   //\r
   SetMem16 (Line, (MaxLength + 2) * 2, BOXDRAW_HORIZONTAL);\r
   Line[0]             = BOXDRAW_DOWN_RIGHT;\r
index 7057ef6e264c18f55bbaaf698fe6a2452e0cd1d8..26bb79e9b42f82bb7c20fed3315ab9f021331e51 100644 (file)
@@ -1,11 +1,11 @@
 ## @file\r
 #  Library to abstract Framework extensions that conflict with UEFI 2.0 Specification.\r
 #\r
 ## @file\r
 #  Library to abstract Framework extensions that conflict with UEFI 2.0 Specification.\r
 #\r
-#  This library is helpful to port Framework/Tinao code that has conflicts with UEFI 2.0. \r
+#  This library is helpful to port Framework/Tinao code that has conflicts with UEFI 2.0.\r
 #  It hides the old conflicts with library functions and supporting implementations of\r
 #  the old (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way.\r
 #\r
 #  It hides the old conflicts with library functions and supporting implementations of\r
 #  the old (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way.\r
 #\r
-#  Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -51,7 +51,7 @@
   BaseLib\r
   UefiBootServicesTableLib\r
   DevicePathLib\r
   BaseLib\r
   UefiBootServicesTableLib\r
   DevicePathLib\r
-  \r
+\r
 [Guids]\r
   gEfiEventReadyToBootGuid                      ## SOMETIMES_CONSUMES  ## Event\r
   gEfiEventLegacyBootGuid                       ## SOMETIMES_CONSUMES  ## Event\r
 [Guids]\r
   gEfiEventReadyToBootGuid                      ## SOMETIMES_CONSUMES  ## Event\r
   gEfiEventLegacyBootGuid                       ## SOMETIMES_CONSUMES  ## Event\r
index 9cd35fb3ca6e52c2503ccff5ad7bc7553198a492..83482dad1ca2b38d00678eb1b3629f0b8851130f 100644 (file)
@@ -2,29 +2,29 @@
   Library functions that abstract driver model protocols\r
   installation.\r
 \r
   Library functions that abstract driver model protocols\r
   installation.\r
 \r
-  Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials are\r
   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 are\r
   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
+\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
   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
 \r
 \r
 #include "UefiLibInternal.h"\r
 \r
 /**\r
   Installs and completes the initialization of a Driver Binding Protocol instance.\r
 \r
 \r
 #include "UefiLibInternal.h"\r
 \r
 /**\r
   Installs and completes the initialization of a Driver Binding Protocol instance.\r
-  \r
+\r
   Installs the Driver Binding Protocol specified by DriverBinding onto the handle\r
   specified by DriverBindingHandle. If DriverBindingHandle is NULL, then DriverBinding\r
   is installed onto a newly created handle. DriverBindingHandle is typically the same\r
   as the driver's ImageHandle, but it can be different if the driver produces multiple\r
   Installs the Driver Binding Protocol specified by DriverBinding onto the handle\r
   specified by DriverBindingHandle. If DriverBindingHandle is NULL, then DriverBinding\r
   is installed onto a newly created handle. DriverBindingHandle is typically the same\r
   as the driver's ImageHandle, but it can be different if the driver produces multiple\r
-  Driver Binding Protocols. \r
-  If DriverBinding is NULL, then ASSERT(). \r
+  Driver Binding Protocols.\r
+  If DriverBinding is NULL, then ASSERT().\r
   If DriverBinding can not be installed onto a handle, then ASSERT().\r
 \r
   @param  ImageHandle          The image handle of the driver.\r
   If DriverBinding can not be installed onto a handle, then ASSERT().\r
 \r
   @param  ImageHandle          The image handle of the driver.\r
@@ -80,10 +80,10 @@ EfiLibInstallDriverBinding (
   Protocols onto the driver's DriverBindingHandle. If DriverBindingHandle is NULL,\r
   then the protocols are  installed onto a newly created handle. DriverBindingHandle\r
   is typically the same as the driver's ImageHandle, but it can be different if the\r
   Protocols onto the driver's DriverBindingHandle. If DriverBindingHandle is NULL,\r
   then the protocols are  installed onto a newly created handle. DriverBindingHandle\r
   is typically the same as the driver's ImageHandle, but it can be different if the\r
-  driver produces multiple Driver Binding Protocols. \r
-  If DriverBinding is NULL, then ASSERT(). \r
+  driver produces multiple Driver Binding Protocols.\r
+  If DriverBinding is NULL, then ASSERT().\r
   If the installation fails, then ASSERT().\r
   If the installation fails, then ASSERT().\r
-  \r
+\r
   @param  ImageHandle          The image handle of the driver.\r
   @param  SystemTable          The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding        A Driver Binding Protocol instance that this driver is producing.\r
   @param  ImageHandle          The image handle of the driver.\r
   @param  SystemTable          The EFI System Table that was passed to the driver's entry point.\r
   @param  DriverBinding        A Driver Binding Protocol instance that this driver is producing.\r
@@ -210,8 +210,8 @@ EfiLibInstallAllDriverProtocols (
   optional Component Name and optional Component Name 2 protocols onto the driver's\r
   DriverBindingHandle.  If DriverBindingHandle is NULL, then the protocols are installed\r
   onto a newly created handle.  DriverBindingHandle is typically the same as the driver's\r
   optional Component Name and optional Component Name 2 protocols onto the driver's\r
   DriverBindingHandle.  If DriverBindingHandle is NULL, then the protocols are installed\r
   onto a newly created handle.  DriverBindingHandle is typically the same as the driver's\r
-  ImageHandle, but it can be different if the driver produces multiple Driver Binding Protocols. \r
-  If DriverBinding is NULL, then ASSERT(). \r
+  ImageHandle, but it can be different if the driver produces multiple Driver Binding Protocols.\r
+  If DriverBinding is NULL, then ASSERT().\r
   If the installation fails, then ASSERT().\r
 \r
   @param  ImageHandle          The image handle of the driver.\r
   If the installation fails, then ASSERT().\r
 \r
   @param  ImageHandle          The image handle of the driver.\r
@@ -299,8 +299,8 @@ EfiLibInstallDriverBindingComponentName2 (
   Component Name, optional Component Name 2, optional Driver Configuration, optional Driver Configuration 2,\r
   optional Driver Diagnostic, and optional Driver Diagnostic 2 Protocols onto the driver's DriverBindingHandle.\r
   DriverBindingHandle is typically the same as the driver's ImageHandle, but it can be different if the driver\r
   Component Name, optional Component Name 2, optional Driver Configuration, optional Driver Configuration 2,\r
   optional Driver Diagnostic, and optional Driver Diagnostic 2 Protocols onto the driver's DriverBindingHandle.\r
   DriverBindingHandle is typically the same as the driver's ImageHandle, but it can be different if the driver\r
-  produces multiple Driver Binding Protocols. \r
-  If DriverBinding is NULL, then ASSERT(). \r
+  produces multiple Driver Binding Protocols.\r
+  If DriverBinding is NULL, then ASSERT().\r
   If the installation fails, then ASSERT().\r
 \r
 \r
   If the installation fails, then ASSERT().\r
 \r
 \r
@@ -337,14 +337,14 @@ EfiLibInstallAllDriverProtocols2 (
 {\r
   EFI_STATUS  Status;\r
 \r
 {\r
   EFI_STATUS  Status;\r
 \r
-  ASSERT (DriverBinding != NULL); \r
+  ASSERT (DriverBinding != NULL);\r
 \r
   //\r
   // Update the ImageHandle and DriverBindingHandle fields of the Driver Binding Protocol\r
   //\r
   DriverBinding->ImageHandle         = ImageHandle;\r
   DriverBinding->DriverBindingHandle = DriverBindingHandle;\r
 \r
   //\r
   // Update the ImageHandle and DriverBindingHandle fields of the Driver Binding Protocol\r
   //\r
   DriverBinding->ImageHandle         = ImageHandle;\r
   DriverBinding->DriverBindingHandle = DriverBindingHandle;\r
-  \r
+\r
   if (DriverConfiguration2 == NULL) {\r
     if (DriverConfiguration == NULL) {\r
       if (DriverDiagnostics == NULL || FeaturePcdGet(PcdDriverDiagnosticsDisable)) {\r
   if (DriverConfiguration2 == NULL) {\r
     if (DriverConfiguration == NULL) {\r
       if (DriverDiagnostics == NULL || FeaturePcdGet(PcdDriverDiagnosticsDisable)) {\r
index a32b524ff893fd04b873eeceb2fe85ed81970c8a..0aa4506b8f4d3bd11456f13846c9762411e8e851 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
 /** @file\r
-  The UEFI Library provides functions and macros that simplify the development of \r
-  UEFI Drivers and UEFI Applications.  These functions and macros help manage EFI \r
-  events, build simple locks utilizing EFI Task Priority Levels (TPLs), install \r
-  EFI Driver Model related protocols, manage Unicode string tables for UEFI Drivers, \r
+  The UEFI Library provides functions and macros that simplify the development of\r
+  UEFI Drivers and UEFI Applications.  These functions and macros help manage EFI\r
+  events, build simple locks utilizing EFI Task Priority Levels (TPLs), install\r
+  EFI Driver Model related protocols, manage Unicode string tables for UEFI Drivers,\r
   and print messages on the console output and standard error devices.\r
 \r
   Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
   and print messages on the console output and standard error devices.\r
 \r
   Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
@@ -47,7 +47,7 @@ CompareIso639LanguageCode (
 /**\r
   Retrieves a pointer to the system configuration table from the EFI System Table\r
   based on a specified GUID.\r
 /**\r
   Retrieves a pointer to the system configuration table from the EFI System Table\r
   based on a specified GUID.\r
-  \r
+\r
   This function searches the list of configuration tables stored in the EFI System Table\r
   for a table with a GUID that matches TableGuid.  If a match is found, then a pointer to\r
   the configuration table is returned in Table., and EFI_SUCCESS is returned. If a matching GUID\r
   This function searches the list of configuration tables stored in the EFI System Table\r
   for a table with a GUID that matches TableGuid.  If a match is found, then a pointer to\r
   the configuration table is returned in Table., and EFI_SUCCESS is returned. If a matching GUID\r
@@ -96,7 +96,7 @@ EfiGetSystemConfigurationTable (
   no instances of ProtocolGuid in the handle database at the time this function is invoked,\r
   then the notification function is still executed one time. In addition, every time a protocol\r
   of type ProtocolGuid instance is installed or reinstalled, the notification function is also\r
   no instances of ProtocolGuid in the handle database at the time this function is invoked,\r
   then the notification function is still executed one time. In addition, every time a protocol\r
   of type ProtocolGuid instance is installed or reinstalled, the notification function is also\r
-  executed. This function returns the notification event that was created. \r
+  executed. This function returns the notification event that was created.\r
   If ProtocolGuid is NULL, then ASSERT().\r
   If NotifyTpl is not a legal TPL value, then ASSERT().\r
   If NotifyFunction is NULL, then ASSERT().\r
   If ProtocolGuid is NULL, then ASSERT().\r
   If NotifyTpl is not a legal TPL value, then ASSERT().\r
   If NotifyFunction is NULL, then ASSERT().\r
@@ -109,7 +109,7 @@ EfiGetSystemConfigurationTable (
   @param  NotifyContext   The context parameter to pass to NotifyFunction.\r
   @param  Registration    A pointer to a memory location to receive the registration value.\r
                           This value is passed to LocateHandle() to obtain new handles that\r
   @param  NotifyContext   The context parameter to pass to NotifyFunction.\r
   @param  Registration    A pointer to a memory location to receive the registration value.\r
                           This value is passed to LocateHandle() to obtain new handles that\r
-                          have been added that support the ProtocolGuid-specified protocol. \r
+                          have been added that support the ProtocolGuid-specified protocol.\r
 \r
   @return The notification event that was created.\r
 \r
 \r
   @return The notification event that was created.\r
 \r
@@ -170,7 +170,7 @@ EfiCreateProtocolNotifyEvent(
 \r
   This function creates an event using NotifyTpl, NoifyFunction, and NotifyContext.\r
   This event is signaled with EfiNamedEventSignal(). This provides the ability for one or more\r
 \r
   This function creates an event using NotifyTpl, NoifyFunction, and NotifyContext.\r
   This event is signaled with EfiNamedEventSignal(). This provides the ability for one or more\r
-  listeners on the same event named by the GUID specified by Name. \r
+  listeners on the same event named by the GUID specified by Name.\r
   If Name is NULL, then ASSERT().\r
   If NotifyTpl is not a legal TPL value, then ASSERT().\r
   If NotifyFunction is NULL, then ASSERT().\r
   If Name is NULL, then ASSERT().\r
   If NotifyTpl is not a legal TPL value, then ASSERT().\r
   If NotifyFunction is NULL, then ASSERT().\r
@@ -178,7 +178,7 @@ EfiCreateProtocolNotifyEvent(
   @param  Name                  Supplies GUID name of the event.\r
   @param  NotifyTpl             Supplies the task priority level of the event notifications.\r
   @param  NotifyFunction        Supplies the function to notify when the event is signaled.\r
   @param  Name                  Supplies GUID name of the event.\r
   @param  NotifyTpl             Supplies the task priority level of the event notifications.\r
   @param  NotifyFunction        Supplies the function to notify when the event is signaled.\r
-  @param  NotifyContext         The context parameter to pass to NotifyFunction. \r
+  @param  NotifyContext         The context parameter to pass to NotifyFunction.\r
   @param  Registration          A pointer to a memory location to receive the registration value.\r
 \r
   @retval EFI_SUCCESS           A named event was created.\r
   @param  Registration          A pointer to a memory location to receive the registration value.\r
 \r
   @retval EFI_SUCCESS           A named event was created.\r
@@ -202,7 +202,7 @@ EfiNamedEventListen (
   ASSERT (Name != NULL);\r
   ASSERT (NotifyFunction != NULL);\r
   ASSERT (NotifyTpl <= TPL_HIGH_LEVEL);\r
   ASSERT (Name != NULL);\r
   ASSERT (NotifyFunction != NULL);\r
   ASSERT (NotifyTpl <= TPL_HIGH_LEVEL);\r
-  \r
+\r
   //\r
   // Create event\r
   //\r
   //\r
   // Create event\r
   //\r
@@ -343,13 +343,13 @@ EfiEventEmptyFunction (
 {\r
 }\r
 \r
 {\r
 }\r
 \r
-/** \r
+/**\r
   Returns the current TPL.\r
 \r
   Returns the current TPL.\r
 \r
-  This function returns the current TPL.  There is no EFI service to directly \r
-  retrieve the current TPL. Instead, the RaiseTPL() function is used to raise \r
-  the TPL to TPL_HIGH_LEVEL.  This will return the current TPL.  The TPL level \r
-  can then immediately be restored back to the current TPL level with a call \r
+  This function returns the current TPL.  There is no EFI service to directly\r
+  retrieve the current TPL. Instead, the RaiseTPL() function is used to raise\r
+  the TPL to TPL_HIGH_LEVEL.  This will return the current TPL.  The TPL level\r
+  can then immediately be restored back to the current TPL level with a call\r
   to RestoreTPL().\r
 \r
   @return The current TPL.\r
   to RestoreTPL().\r
 \r
   @return The current TPL.\r
@@ -373,8 +373,8 @@ EfiGetCurrentTpl (
 /**\r
   Initializes a basic mutual exclusion lock.\r
 \r
 /**\r
   Initializes a basic mutual exclusion lock.\r
 \r
-  This function initializes a basic mutual exclusion lock to the released state \r
-  and returns the lock.  Each lock provides mutual exclusion access at its task \r
+  This function initializes a basic mutual exclusion lock to the released state\r
+  and returns the lock.  Each lock provides mutual exclusion access at its task\r
   priority level.  Since there is no preemption or multiprocessor support in EFI,\r
   acquiring the lock only consists of raising to the locks TPL.\r
   If Lock is NULL, then ASSERT().\r
   priority level.  Since there is no preemption or multiprocessor support in EFI,\r
   acquiring the lock only consists of raising to the locks TPL.\r
   If Lock is NULL, then ASSERT().\r
@@ -405,8 +405,8 @@ EfiInitializeLock (
 /**\r
   Acquires ownership of a lock.\r
 \r
 /**\r
   Acquires ownership of a lock.\r
 \r
-  This function raises the system's current task priority level to the task \r
-  priority level of the mutual exclusion lock.  Then, it places the lock in the \r
+  This function raises the system's current task priority level to the task\r
+  priority level of the mutual exclusion lock.  Then, it places the lock in the\r
   acquired state.\r
   If Lock is NULL, then ASSERT().\r
   If Lock is not initialized, then ASSERT().\r
   acquired state.\r
   If Lock is NULL, then ASSERT().\r
   If Lock is not initialized, then ASSERT().\r
@@ -471,8 +471,8 @@ EfiAcquireLockOrFail (
 /**\r
   Releases ownership of a lock.\r
 \r
 /**\r
   Releases ownership of a lock.\r
 \r
-  This function transitions a mutual exclusion lock from the acquired state to \r
-  the released state, and restores the system's task priority level to its \r
+  This function transitions a mutual exclusion lock from the acquired state to\r
+  the released state, and restores the system's task priority level to its\r
   previous level.\r
   If Lock is NULL, then ASSERT().\r
   If Lock is not initialized, then ASSERT().\r
   previous level.\r
   If Lock is NULL, then ASSERT().\r
   If Lock is not initialized, then ASSERT().\r
@@ -506,7 +506,7 @@ EfiReleaseLock (
   currently managing the controller specified by ControllerHandle.  This test\r
   is performed by evaluating if the the protocol specified by ProtocolGuid is\r
   present on ControllerHandle and is was opened by DriverBindingHandle with an\r
   currently managing the controller specified by ControllerHandle.  This test\r
   is performed by evaluating if the the protocol specified by ProtocolGuid is\r
   present on ControllerHandle and is was opened by DriverBindingHandle with an\r
-  attribute of EFI_OPEN_PROTOCOL_BY_DRIVER. \r
+  attribute of EFI_OPEN_PROTOCOL_BY_DRIVER.\r
   If ProtocolGuid is NULL, then ASSERT().\r
 \r
   @param  ControllerHandle     A handle for a controller to test.\r
   If ProtocolGuid is NULL, then ASSERT().\r
 \r
   @param  ControllerHandle     A handle for a controller to test.\r
@@ -569,10 +569,10 @@ EfiTestManagedDevice (
   ChildHandle with an attribute of EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER.\r
   If ProtocolGuid is NULL, then ASSERT().\r
 \r
   ChildHandle with an attribute of EFI_OPEN_PROTOCOL_BY_CHILD_CONTROLLER.\r
   If ProtocolGuid is NULL, then ASSERT().\r
 \r
-  @param  ControllerHandle     A handle for a (parent) controller to test. \r
+  @param  ControllerHandle     A handle for a (parent) controller to test.\r
   @param  ChildHandle          A child handle to test.\r
   @param  ProtocolGuid         Supplies the protocol that the child controller\r
   @param  ChildHandle          A child handle to test.\r
   @param  ProtocolGuid         Supplies the protocol that the child controller\r
-                               opens on its parent controller. \r
+                               opens on its parent controller.\r
 \r
   @retval EFI_SUCCESS          ChildHandle is a child of the ControllerHandle.\r
   @retval EFI_UNSUPPORTED      ChildHandle is not a child of the\r
 \r
   @retval EFI_SUCCESS          ChildHandle is a child of the ControllerHandle.\r
   @retval EFI_UNSUPPORTED      ChildHandle is not a child of the\r
@@ -631,26 +631,26 @@ EfiTestChildHandle (
   UnicodeStringTable that matches the language code specified by Language, then it\r
   is returned in UnicodeString.\r
 \r
   UnicodeStringTable that matches the language code specified by Language, then it\r
   is returned in UnicodeString.\r
 \r
-  @param  Language                A pointer to the ISO 639-2 language code for the \r
+  @param  Language                A pointer to the ISO 639-2 language code for the\r
                                   Unicode string to look up and return.\r
                                   Unicode string to look up and return.\r
-  @param  SupportedLanguages      A pointer to the set of ISO 639-2 language codes \r
-                                  that the Unicode string table supports.  Language \r
+  @param  SupportedLanguages      A pointer to the set of ISO 639-2 language codes\r
+                                  that the Unicode string table supports.  Language\r
                                   must be a member of this set.\r
   @param  UnicodeStringTable      A pointer to the table of Unicode strings.\r
   @param  UnicodeString           A pointer to the Unicode string from UnicodeStringTable\r
                                   that matches the language specified by Language.\r
 \r
                                   must be a member of this set.\r
   @param  UnicodeStringTable      A pointer to the table of Unicode strings.\r
   @param  UnicodeString           A pointer to the Unicode string from UnicodeStringTable\r
                                   that matches the language specified by Language.\r
 \r
-  @retval EFI_SUCCESS             The Unicode string that matches the language \r
+  @retval EFI_SUCCESS             The Unicode string that matches the language\r
                                   specified by Language was found\r
                                   specified by Language was found\r
-                                  in the table of Unicode strings UnicodeStringTable, \r
+                                  in the table of Unicode strings UnicodeStringTable,\r
                                   and it was returned in UnicodeString.\r
   @retval EFI_INVALID_PARAMETER   Language is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is NULL.\r
   @retval EFI_UNSUPPORTED         SupportedLanguages is NULL.\r
   @retval EFI_UNSUPPORTED         UnicodeStringTable is NULL.\r
                                   and it was returned in UnicodeString.\r
   @retval EFI_INVALID_PARAMETER   Language is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is NULL.\r
   @retval EFI_UNSUPPORTED         SupportedLanguages is NULL.\r
   @retval EFI_UNSUPPORTED         UnicodeStringTable is NULL.\r
-  @retval EFI_UNSUPPORTED         The language specified by Language is not a \r
+  @retval EFI_UNSUPPORTED         The language specified by Language is not a\r
                                   member of SupportedLanguages.\r
                                   member of SupportedLanguages.\r
-  @retval EFI_UNSUPPORTED         The language specified by Language is not \r
+  @retval EFI_UNSUPPORTED         The language specified by Language is not\r
                                   supported by UnicodeStringTable.\r
 \r
 **/\r
                                   supported by UnicodeStringTable.\r
 \r
 **/\r
@@ -723,7 +723,7 @@ LookupUnicodeString (
                                return. If Iso639Language is TRUE, then this ASCII string is\r
                                not assumed to be Null-terminated, and only the first three\r
                                characters are used. If Iso639Language is FALSE, then this ASCII\r
                                return. If Iso639Language is TRUE, then this ASCII string is\r
                                not assumed to be Null-terminated, and only the first three\r
                                characters are used. If Iso639Language is FALSE, then this ASCII\r
-                               string must be Null-terminated. \r
+                               string must be Null-terminated.\r
   @param  SupportedLanguages   A pointer to a Null-terminated ASCII string that contains a\r
                                set of ISO 639-2 or RFC 4646 language codes that the Unicode\r
                                string table supports.  Language must be a member of this set.\r
   @param  SupportedLanguages   A pointer to a Null-terminated ASCII string that contains a\r
                                set of ISO 639-2 or RFC 4646 language codes that the Unicode\r
                                string table supports.  Language must be a member of this set.\r
@@ -743,11 +743,11 @@ LookupUnicodeString (
   @retval  EFI_SUCCESS            The Unicode string that matches the language specified by Language\r
                                   was found in the table of Unicode strings UnicodeStringTable, and\r
                                   it was returned in UnicodeString.\r
   @retval  EFI_SUCCESS            The Unicode string that matches the language specified by Language\r
                                   was found in the table of Unicode strings UnicodeStringTable, and\r
                                   it was returned in UnicodeString.\r
-  @retval  EFI_INVALID_PARAMETER  Language is NULL.  \r
-  @retval  EFI_INVALID_PARAMETER  UnicodeString is NULL.  \r
-  @retval  EFI_UNSUPPORTED        SupportedLanguages is NULL.  \r
-  @retval  EFI_UNSUPPORTED        UnicodeStringTable is NULL.  \r
-  @retval  EFI_UNSUPPORTED        The language specified by Language is not a member of SupportedLanguages.  \r
+  @retval  EFI_INVALID_PARAMETER  Language is NULL.\r
+  @retval  EFI_INVALID_PARAMETER  UnicodeString is NULL.\r
+  @retval  EFI_UNSUPPORTED        SupportedLanguages is NULL.\r
+  @retval  EFI_UNSUPPORTED        UnicodeStringTable is NULL.\r
+  @retval  EFI_UNSUPPORTED        The language specified by Language is not a member of SupportedLanguages.\r
   @retval  EFI_UNSUPPORTED        The language specified by Language is not supported by UnicodeStringTable.\r
 \r
 **/\r
   @retval  EFI_UNSUPPORTED        The language specified by Language is not supported by UnicodeStringTable.\r
 \r
 **/\r
@@ -833,13 +833,13 @@ LookupUnicodeString2 (
 /**\r
   This function adds a Unicode string to UnicodeStringTable.\r
 \r
 /**\r
   This function adds a Unicode string to UnicodeStringTable.\r
 \r
-  If Language is a member of SupportedLanguages then UnicodeString is added to \r
-  UnicodeStringTable.  New buffers are allocated for both Language and \r
-  UnicodeString.  The contents of Language and UnicodeString are copied into \r
-  these new buffers.  These buffers are automatically freed when \r
+  If Language is a member of SupportedLanguages then UnicodeString is added to\r
+  UnicodeStringTable.  New buffers are allocated for both Language and\r
+  UnicodeString.  The contents of Language and UnicodeString are copied into\r
+  these new buffers.  These buffers are automatically freed when\r
   FreeUnicodeStringTable() is called.\r
 \r
   FreeUnicodeStringTable() is called.\r
 \r
-  @param  Language                A pointer to the ISO 639-2 language code for the Unicode \r
+  @param  Language                A pointer to the ISO 639-2 language code for the Unicode\r
                                   string to add.\r
   @param  SupportedLanguages      A pointer to the set of ISO 639-2 language codes\r
                                   that the Unicode string table supports.\r
                                   string to add.\r
   @param  SupportedLanguages      A pointer to the set of ISO 639-2 language codes\r
                                   that the Unicode string table supports.\r
@@ -847,19 +847,19 @@ LookupUnicodeString2 (
   @param  UnicodeStringTable      A pointer to the table of Unicode strings.\r
   @param  UnicodeString           A pointer to the Unicode string to add.\r
 \r
   @param  UnicodeStringTable      A pointer to the table of Unicode strings.\r
   @param  UnicodeString           A pointer to the Unicode string to add.\r
 \r
-  @retval EFI_SUCCESS             The Unicode string that matches the language \r
-                                  specified by Language was found in the table of \r
-                                  Unicode strings UnicodeStringTable, and it was \r
+  @retval EFI_SUCCESS             The Unicode string that matches the language\r
+                                  specified by Language was found in the table of\r
+                                  Unicode strings UnicodeStringTable, and it was\r
                                   returned in UnicodeString.\r
   @retval EFI_INVALID_PARAMETER   Language is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is an empty string.\r
   @retval EFI_UNSUPPORTED         SupportedLanguages is NULL.\r
                                   returned in UnicodeString.\r
   @retval EFI_INVALID_PARAMETER   Language is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is NULL.\r
   @retval EFI_INVALID_PARAMETER   UnicodeString is an empty string.\r
   @retval EFI_UNSUPPORTED         SupportedLanguages is NULL.\r
-  @retval EFI_ALREADY_STARTED     A Unicode string with language Language is \r
+  @retval EFI_ALREADY_STARTED     A Unicode string with language Language is\r
                                   already present in UnicodeStringTable.\r
                                   already present in UnicodeStringTable.\r
-  @retval EFI_OUT_OF_RESOURCES    There is not enough memory to add another \r
+  @retval EFI_OUT_OF_RESOURCES    There is not enough memory to add another\r
                                   Unicode string to UnicodeStringTable.\r
                                   Unicode string to UnicodeStringTable.\r
-  @retval EFI_UNSUPPORTED         The language specified by Language is not a \r
+  @retval EFI_UNSUPPORTED         The language specified by Language is not a\r
                                   member of SupportedLanguages.\r
 \r
 **/\r
                                   member of SupportedLanguages.\r
 \r
 **/\r
@@ -1022,21 +1022,21 @@ AddUnicodeString (
                               RFC 4646 language codes separated by ';'.\r
   @param  UnicodeStringTable  A pointer to the table of Unicode strings. Type EFI_UNICODE_STRING_TABLE\r
                               is defined in "Related Definitions".\r
                               RFC 4646 language codes separated by ';'.\r
   @param  UnicodeStringTable  A pointer to the table of Unicode strings. Type EFI_UNICODE_STRING_TABLE\r
                               is defined in "Related Definitions".\r
-  @param  UnicodeString       A pointer to the Unicode string to add.  \r
+  @param  UnicodeString       A pointer to the Unicode string to add.\r
   @param  Iso639Language      Specifies the supported language code format. If it is TRUE,\r
                               then Language and SupportedLanguages follow ISO 639-2 language code format.\r
                               Otherwise, they follow RFC 4646 language code format.\r
 \r
   @retval EFI_SUCCESS            The Unicode string that matches the language specified by\r
                                  Language was found in the table of Unicode strings UnicodeStringTable,\r
   @param  Iso639Language      Specifies the supported language code format. If it is TRUE,\r
                               then Language and SupportedLanguages follow ISO 639-2 language code format.\r
                               Otherwise, they follow RFC 4646 language code format.\r
 \r
   @retval EFI_SUCCESS            The Unicode string that matches the language specified by\r
                                  Language was found in the table of Unicode strings UnicodeStringTable,\r
-                                 and it was returned in UnicodeString.  \r
-  @retval EFI_INVALID_PARAMETER  Language is NULL.  \r
-  @retval EFI_INVALID_PARAMETER  UnicodeString is NULL.  \r
-  @retval EFI_INVALID_PARAMETER  UnicodeString is an empty string.  \r
-  @retval EFI_UNSUPPORTED        SupportedLanguages is NULL.  \r
+                                 and it was returned in UnicodeString.\r
+  @retval EFI_INVALID_PARAMETER  Language is NULL.\r
+  @retval EFI_INVALID_PARAMETER  UnicodeString is NULL.\r
+  @retval EFI_INVALID_PARAMETER  UnicodeString is an empty string.\r
+  @retval EFI_UNSUPPORTED        SupportedLanguages is NULL.\r
   @retval EFI_ALREADY_STARTED    A Unicode string with language Language is already present in\r
   @retval EFI_ALREADY_STARTED    A Unicode string with language Language is already present in\r
-                                 UnicodeStringTable.  \r
-  @retval EFI_OUT_OF_RESOURCES   There is not enough memory to add another Unicode string UnicodeStringTable.  \r
+                                 UnicodeStringTable.\r
+  @retval EFI_OUT_OF_RESOURCES   There is not enough memory to add another Unicode string UnicodeStringTable.\r
   @retval EFI_UNSUPPORTED        The language specified by Language is not a member of SupportedLanguages.\r
 \r
 **/\r
   @retval EFI_UNSUPPORTED        The language specified by Language is not a member of SupportedLanguages.\r
 \r
 **/\r
@@ -1120,7 +1120,7 @@ AddUnicodeString2 (
       while (*LanguageString != 0) {\r
         for (Index = 0; LanguageString[Index] != 0 && LanguageString[Index] != ';'; Index++);\r
 \r
       while (*LanguageString != 0) {\r
         for (Index = 0; LanguageString[Index] != 0 && LanguageString[Index] != ';'; Index++);\r
 \r
-        if (AsciiStrnCmp (Language, LanguageString, Index) == 0) { \r
+        if (AsciiStrnCmp (Language, LanguageString, Index) == 0) {\r
           return EFI_ALREADY_STARTED;\r
         }\r
         LanguageString += Index;\r
           return EFI_ALREADY_STARTED;\r
         }\r
         LanguageString += Index;\r
@@ -1202,7 +1202,7 @@ AddUnicodeString2 (
   This function frees the table of Unicode strings in UnicodeStringTable.\r
 \r
   If UnicodeStringTable is NULL, then EFI_SUCCESS is returned.\r
   This function frees the table of Unicode strings in UnicodeStringTable.\r
 \r
   If UnicodeStringTable is NULL, then EFI_SUCCESS is returned.\r
-  Otherwise, each language code, and each Unicode string in the Unicode string \r
+  Otherwise, each language code, and each Unicode string in the Unicode string\r
   table are freed, and EFI_SUCCESS is returned.\r
 \r
   @param  UnicodeStringTable  A pointer to the table of Unicode strings.\r
   table are freed, and EFI_SUCCESS is returned.\r
 \r
   @param  UnicodeStringTable  A pointer to the table of Unicode strings.\r
@@ -1252,8 +1252,8 @@ FreeUnicodeStringTable (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Returns a pointer to an allocated buffer that contains the contents of a \r
-  variable retrieved through the UEFI Runtime Service GetVariable().  The \r
+  Returns a pointer to an allocated buffer that contains the contents of a\r
+  variable retrieved through the UEFI Runtime Service GetVariable().  The\r
   returned buffer is allocated using AllocatePool().  The caller is responsible\r
   for freeing this buffer with FreePool().\r
 \r
   returned buffer is allocated using AllocatePool().  The caller is responsible\r
   for freeing this buffer with FreePool().\r
 \r
@@ -1314,10 +1314,10 @@ GetVariable (
 \r
 \r
 /**\r
 \r
 \r
 /**\r
-  Returns a pointer to an allocated buffer that contains the contents of a \r
-  variable retrieved through the UEFI Runtime Service GetVariable().  This \r
+  Returns a pointer to an allocated buffer that contains the contents of a\r
+  variable retrieved through the UEFI Runtime Service GetVariable().  This\r
   function always uses the EFI_GLOBAL_VARIABLE GUID to retrieve variables.\r
   function always uses the EFI_GLOBAL_VARIABLE GUID to retrieve variables.\r
-  The returned buffer is allocated using AllocatePool().  The caller is \r
+  The returned buffer is allocated using AllocatePool().  The caller is\r
   responsible for freeing this buffer with FreePool().\r
 \r
   If Name is NULL, then ASSERT().\r
   responsible for freeing this buffer with FreePool().\r
 \r
   If Name is NULL, then ASSERT().\r
@@ -1442,50 +1442,50 @@ GetEfiGlobalVariable2 (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Returns a pointer to an allocated buffer that contains the best matching language \r
-  from a set of supported languages.  \r
-  \r
-  This function supports both ISO 639-2 and RFC 4646 language codes, but language \r
-  code types may not be mixed in a single call to this function.  The language \r
-  code returned is allocated using AllocatePool().  The caller is responsible for \r
+  Returns a pointer to an allocated buffer that contains the best matching language\r
+  from a set of supported languages.\r
+\r
+  This function supports both ISO 639-2 and RFC 4646 language codes, but language\r
+  code types may not be mixed in a single call to this function.  The language\r
+  code returned is allocated using AllocatePool().  The caller is responsible for\r
   freeing the allocated buffer using FreePool().  This function supports a variable\r
   freeing the allocated buffer using FreePool().  This function supports a variable\r
-  argument list that allows the caller to pass in a prioritized list of language \r
-  codes to test against all the language codes in SupportedLanguages. \r
+  argument list that allows the caller to pass in a prioritized list of language\r
+  codes to test against all the language codes in SupportedLanguages.\r
 \r
   If SupportedLanguages is NULL, then ASSERT().\r
 \r
   @param[in]  SupportedLanguages  A pointer to a Null-terminated ASCII string that\r
 \r
   If SupportedLanguages is NULL, then ASSERT().\r
 \r
   @param[in]  SupportedLanguages  A pointer to a Null-terminated ASCII string that\r
-                                  contains a set of language codes in the format \r
+                                  contains a set of language codes in the format\r
                                   specified by Iso639Language.\r
   @param[in]  Iso639Language      If not zero, then all language codes are assumed to be\r
                                   in ISO 639-2 format.  If zero, then all language\r
                                   codes are assumed to be in RFC 4646 language format\r
                                   specified by Iso639Language.\r
   @param[in]  Iso639Language      If not zero, then all language codes are assumed to be\r
                                   in ISO 639-2 format.  If zero, then all language\r
                                   codes are assumed to be in RFC 4646 language format\r
-  @param[in]  ...                 A variable argument list that contains pointers to \r
+  @param[in]  ...                 A variable argument list that contains pointers to\r
                                   Null-terminated ASCII strings that contain one or more\r
                                   language codes in the format specified by Iso639Language.\r
                                   The first language code from each of these language\r
                                   code lists is used to determine if it is an exact or\r
                                   Null-terminated ASCII strings that contain one or more\r
                                   language codes in the format specified by Iso639Language.\r
                                   The first language code from each of these language\r
                                   code lists is used to determine if it is an exact or\r
-                                  close match to any of the language codes in \r
+                                  close match to any of the language codes in\r
                                   SupportedLanguages.  Close matches only apply to RFC 4646\r
                                   language codes, and the matching algorithm from RFC 4647\r
                                   SupportedLanguages.  Close matches only apply to RFC 4646\r
                                   language codes, and the matching algorithm from RFC 4647\r
-                                  is used to determine if a close match is present.  If \r
+                                  is used to determine if a close match is present.  If\r
                                   an exact or close match is found, then the matching\r
                                   language code from SupportedLanguages is returned.  If\r
                                   no matches are found, then the next variable argument\r
                                   an exact or close match is found, then the matching\r
                                   language code from SupportedLanguages is returned.  If\r
                                   no matches are found, then the next variable argument\r
-                                  parameter is evaluated.  The variable argument list \r
+                                  parameter is evaluated.  The variable argument list\r
                                   is terminated by a NULL.\r
 \r
   @retval NULL   The best matching language could not be found in SupportedLanguages.\r
                                   is terminated by a NULL.\r
 \r
   @retval NULL   The best matching language could not be found in SupportedLanguages.\r
-  @retval NULL   There are not enough resources available to return the best matching \r
+  @retval NULL   There are not enough resources available to return the best matching\r
                  language.\r
                  language.\r
-  @retval Other  A pointer to a Null-terminated ASCII string that is the best matching \r
+  @retval Other  A pointer to a Null-terminated ASCII string that is the best matching\r
                  language in SupportedLanguages.\r
 \r
 **/\r
 CHAR8 *\r
 EFIAPI\r
 GetBestLanguage (\r
                  language in SupportedLanguages.\r
 \r
 **/\r
 CHAR8 *\r
 EFIAPI\r
 GetBestLanguage (\r
-  IN CONST CHAR8  *SupportedLanguages, \r
+  IN CONST CHAR8  *SupportedLanguages,\r
   IN UINTN        Iso639Language,\r
   ...\r
   )\r
   IN UINTN        Iso639Language,\r
   ...\r
   )\r
@@ -1564,7 +1564,7 @@ GetBestLanguage (
         LanguageLength = 0;\r
       } else {\r
         //\r
         LanguageLength = 0;\r
       } else {\r
         //\r
-        // If RFC 4646 mode, then trim Language from the right to the next '-' character \r
+        // If RFC 4646 mode, then trim Language from the right to the next '-' character\r
         //\r
         for (LanguageLength--; LanguageLength > 0 && Language[LanguageLength] != '-'; LanguageLength--);\r
       }\r
         //\r
         for (LanguageLength--; LanguageLength > 0 && Language[LanguageLength] != '-'; LanguageLength--);\r
       }\r
@@ -1573,7 +1573,7 @@ GetBestLanguage (
   VA_END (Args);\r
 \r
   //\r
   VA_END (Args);\r
 \r
   //\r
-  // No matches were found \r
+  // No matches were found\r
   //\r
   return NULL;\r
 }\r
   //\r
   return NULL;\r
 }\r
index 6f06efbe057b25f6f9abe1c7c421300511428a54..28b08175570cfe00dbd8a1856512b98c32a0909b 100644 (file)
@@ -2,7 +2,7 @@
   Mde UEFI library API implementation.\r
   Print to StdErr or ConOut defined in EFI_SYSTEM_TABLE\r
 \r
   Mde UEFI library API implementation.\r
   Print to StdErr or ConOut defined in EFI_SYSTEM_TABLE\r
 \r
-  Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2007 - 2018, 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
   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
@@ -90,23 +90,23 @@ InternalPrint (
   return Return;\r
 }\r
 \r
   return Return;\r
 }\r
 \r
-/** \r
-  Prints a formatted Unicode string to the console output device specified by \r
+/**\r
+  Prints a formatted Unicode string to the console output device specified by\r
   ConOut defined in the EFI_SYSTEM_TABLE.\r
 \r
   ConOut defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted Unicode string to the console output device \r
-  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of Unicode \r
-  characters that printed to ConOut.  If the length of the formatted Unicode \r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
+  This function prints a formatted Unicode string to the console output device\r
+  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of Unicode\r
+  characters that printed to ConOut.  If the length of the formatted Unicode\r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
   PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   If gST->ConOut is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated Unicode format string.\r
   PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   If gST->ConOut is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated Unicode format string.\r
-  @param ...      Variable argument list whose contents are accessed based \r
+  @param ...      Variable argument list whose contents are accessed based\r
                   on the format string specified by Format.\r
                   on the format string specified by Format.\r
-  \r
+\r
   @return Number of Unicode characters printed to ConOut.\r
 \r
 **/\r
   @return Number of Unicode characters printed to ConOut.\r
 \r
 **/\r
@@ -129,23 +129,23 @@ Print (
   return Return;\r
 }\r
 \r
   return Return;\r
 }\r
 \r
-/** \r
-  Prints a formatted Unicode string to the console output device specified by \r
+/**\r
+  Prints a formatted Unicode string to the console output device specified by\r
   StdErr defined in the EFI_SYSTEM_TABLE.\r
 \r
   StdErr defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted Unicode string to the console output device \r
-  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of Unicode \r
-  characters that printed to StdErr.  If the length of the formatted Unicode \r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
+  This function prints a formatted Unicode string to the console output device\r
+  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of Unicode\r
+  characters that printed to StdErr.  If the length of the formatted Unicode\r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
   PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   If gST->StdErr is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated Unicode format string.\r
   PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   If gST->StdErr is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated Unicode format string.\r
-  @param ...      Variable argument list whose contents are accessed based \r
+  @param ...      Variable argument list whose contents are accessed based\r
                   on the format string specified by Format.\r
                   on the format string specified by Format.\r
-  \r
+\r
   @return Number of Unicode characters printed to StdErr.\r
 \r
 **/\r
   @return Number of Unicode characters printed to StdErr.\r
 \r
 **/\r
@@ -225,22 +225,22 @@ AsciiInternalPrint (
   return Return;\r
 }\r
 \r
   return Return;\r
 }\r
 \r
-/** \r
-  Prints a formatted ASCII string to the console output device specified by \r
+/**\r
+  Prints a formatted ASCII string to the console output device specified by\r
   ConOut defined in the EFI_SYSTEM_TABLE.\r
 \r
   ConOut defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted ASCII string to the console output device \r
-  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of ASCII \r
-  characters that printed to ConOut.  If the length of the formatted ASCII \r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
+  This function prints a formatted ASCII string to the console output device\r
+  specified by ConOut in EFI_SYSTEM_TABLE and returns the number of ASCII\r
+  characters that printed to ConOut.  If the length of the formatted ASCII\r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
   PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
   If Format is NULL, then ASSERT().\r
   If gST->ConOut is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated ASCII format string.\r
   PcdUefiLibMaxPrintBufferSize characters are sent to ConOut.\r
   If Format is NULL, then ASSERT().\r
   If gST->ConOut is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated ASCII format string.\r
-  @param ...      Variable argument list whose contents are accessed based \r
+  @param ...      Variable argument list whose contents are accessed based\r
                   on the format string specified by Format.\r
                   on the format string specified by Format.\r
-  \r
+\r
   @return Number of ASCII characters printed to ConOut.\r
 \r
 **/\r
   @return Number of ASCII characters printed to ConOut.\r
 \r
 **/\r
@@ -264,22 +264,22 @@ AsciiPrint (
   return Return;\r
 }\r
 \r
   return Return;\r
 }\r
 \r
-/** \r
-  Prints a formatted ASCII string to the console output device specified by \r
+/**\r
+  Prints a formatted ASCII string to the console output device specified by\r
   StdErr defined in the EFI_SYSTEM_TABLE.\r
 \r
   StdErr defined in the EFI_SYSTEM_TABLE.\r
 \r
-  This function prints a formatted ASCII string to the console output device \r
-  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of ASCII \r
-  characters that printed to StdErr.  If the length of the formatted ASCII \r
-  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first \r
+  This function prints a formatted ASCII string to the console output device\r
+  specified by StdErr in EFI_SYSTEM_TABLE and returns the number of ASCII\r
+  characters that printed to StdErr.  If the length of the formatted ASCII\r
+  string is greater than PcdUefiLibMaxPrintBufferSize, then only the first\r
   PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
   If Format is NULL, then ASSERT().\r
   If gST->StdErr is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated ASCII format string.\r
   PcdUefiLibMaxPrintBufferSize characters are sent to StdErr.\r
   If Format is NULL, then ASSERT().\r
   If gST->StdErr is NULL, then ASSERT().\r
 \r
   @param Format   Null-terminated ASCII format string.\r
-  @param ...      Variable argument list whose contents are accessed based \r
+  @param ...      Variable argument list whose contents are accessed based\r
                   on the format string specified by Format.\r
                   on the format string specified by Format.\r
-  \r
+\r
   @return Number of ASCII characters printed to ConErr.\r
 \r
 **/\r
   @return Number of ASCII characters printed to ConErr.\r
 \r
 **/\r
@@ -560,24 +560,24 @@ Error:
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Prints a formatted Unicode string to a graphics console device specified by \r
+  Prints a formatted Unicode string to a graphics console device specified by\r
   ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates.\r
 \r
   ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates.\r
 \r
-  This function prints a formatted Unicode string to the graphics console device \r
-  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of \r
-  Unicode characters displayed, not including partial characters that may be clipped \r
+  This function prints a formatted Unicode string to the graphics console device\r
+  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of\r
+  Unicode characters displayed, not including partial characters that may be clipped\r
   by the right edge of the display.  If the length of the formatted Unicode string is\r
   by the right edge of the display.  If the length of the formatted Unicode string is\r
-  greater than PcdUefiLibMaxPrintBufferSize, then at most the first \r
+  greater than PcdUefiLibMaxPrintBufferSize, then at most the first\r
   PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL\r
   PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL\r
-  StringToImage() service is used to convert the string to a bitmap using the glyphs \r
-  registered with the HII database. No wrapping is performed, so any portions of the \r
-  string the fall outside the active display region will not be displayed. Please see \r
+  StringToImage() service is used to convert the string to a bitmap using the glyphs\r
+  registered with the HII database. No wrapping is performed, so any portions of the\r
+  string the fall outside the active display region will not be displayed. Please see\r
   Section 27.2.6 of the UEFI Specification for a description of the supported string\r
   format including the set of control codes supported by the StringToImage() service.\r
 \r
   Section 27.2.6 of the UEFI Specification for a description of the supported string\r
   format including the set of control codes supported by the StringToImage() service.\r
 \r
-  If a graphics console device is not associated with the ConsoleOutputHandle \r
+  If a graphics console device is not associated with the ConsoleOutputHandle\r
   defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.\r
   defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.\r
-  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no \r
+  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no\r
   string is printed, and 0 is returned.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
   string is printed, and 0 is returned.\r
   If Format is NULL, then ASSERT().\r
   If Format is not aligned on a 16-bit boundary, then ASSERT().\r
@@ -590,13 +590,13 @@ Error:
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
   @param  BackGround   The background color of the string being printed.  This is\r
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
   @param  BackGround   The background color of the string being printed.  This is\r
-                       an optional parameter that may be NULL.  If it is NULL, \r
+                       an optional parameter that may be NULL.  If it is NULL,\r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
-  @param  Format       Null-terminated Unicode format string.  See Print Library \r
+  @param  Format       Null-terminated Unicode format string.  See Print Library\r
                        for the supported format string syntax.\r
                        for the supported format string syntax.\r
-  @param  ...          Variable argument list whose contents are accessed based on \r
-                       the format string specified by Format.         \r
+  @param  ...          Variable argument list whose contents are accessed based on\r
+                       the format string specified by Format.\r
 \r
   @return  The number of Unicode characters printed.\r
 \r
 \r
   @return  The number of Unicode characters printed.\r
 \r
@@ -640,24 +640,24 @@ PrintXY (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Prints a formatted ASCII string to a graphics console device specified by \r
+  Prints a formatted ASCII string to a graphics console device specified by\r
   ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates.\r
 \r
   ConsoleOutputHandle defined in the EFI_SYSTEM_TABLE at the given (X,Y) coordinates.\r
 \r
-  This function prints a formatted ASCII string to the graphics console device \r
-  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of \r
-  ASCII characters displayed, not including partial characters that may be clipped \r
+  This function prints a formatted ASCII string to the graphics console device\r
+  specified by ConsoleOutputHandle in EFI_SYSTEM_TABLE and returns the number of\r
+  ASCII characters displayed, not including partial characters that may be clipped\r
   by the right edge of the display.  If the length of the formatted ASCII string is\r
   by the right edge of the display.  If the length of the formatted ASCII string is\r
-  greater than PcdUefiLibMaxPrintBufferSize, then at most the first \r
+  greater than PcdUefiLibMaxPrintBufferSize, then at most the first\r
   PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL\r
   PcdUefiLibMaxPrintBufferSize characters are printed.The EFI_HII_FONT_PROTOCOL\r
-  StringToImage() service is used to convert the string to a bitmap using the glyphs \r
-  registered with the HII database. No wrapping is performed, so any portions of the \r
-  string the fall outside the active display region will not be displayed. Please see \r
+  StringToImage() service is used to convert the string to a bitmap using the glyphs\r
+  registered with the HII database. No wrapping is performed, so any portions of the\r
+  string the fall outside the active display region will not be displayed. Please see\r
   Section 27.2.6 of the UEFI Specification for a description of the supported string\r
   format including the set of control codes supported by the StringToImage() service.\r
 \r
   Section 27.2.6 of the UEFI Specification for a description of the supported string\r
   format including the set of control codes supported by the StringToImage() service.\r
 \r
-  If a graphics console device is not associated with the ConsoleOutputHandle \r
+  If a graphics console device is not associated with the ConsoleOutputHandle\r
   defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.\r
   defined in the EFI_SYSTEM_TABLE then no string is printed, and 0 is returned.\r
-  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no \r
+  If the EFI_HII_FONT_PROTOCOL is not present in the handle database, then no\r
   string is printed, and 0 is returned.\r
   If Format is NULL, then ASSERT().\r
   If gST->ConsoleOutputHandle is NULL, then ASSERT().\r
   string is printed, and 0 is returned.\r
   If Format is NULL, then ASSERT().\r
   If gST->ConsoleOutputHandle is NULL, then ASSERT().\r
@@ -669,13 +669,13 @@ PrintXY (
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
   @param  BackGround   The background color of the string being printed.  This is\r
                        then the foreground color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
   @param  BackGround   The background color of the string being printed.  This is\r
-                       an optional parameter that may be NULL.  If it is NULL, \r
+                       an optional parameter that may be NULL.  If it is NULL,\r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
                        then the background color of the current ConOut device\r
                        in the EFI_SYSTEM_TABLE is used.\r
-  @param  Format       Null-terminated ASCII format string.  See Print Library \r
+  @param  Format       Null-terminated ASCII format string.  See Print Library\r
                        for the supported format string syntax.\r
                        for the supported format string syntax.\r
-  @param  ...          Variable argument list whose contents are accessed based on \r
-                       the format string specified by Format.         \r
+  @param  ...          Variable argument list whose contents are accessed based on\r
+                       the format string specified by Format.\r
 \r
   @return  The number of ASCII characters printed.\r
 \r
 \r
   @return  The number of ASCII characters printed.\r
 \r
@@ -717,25 +717,25 @@ AsciiPrintXY (
   return ReturnNum;\r
 }\r
 \r
   return ReturnNum;\r
 }\r
 \r
-/** \r
+/**\r
   Appends a formatted Unicode string to a Null-terminated Unicode string\r
   Appends a formatted Unicode string to a Null-terminated Unicode string\r
\r
-  This function appends a formatted Unicode string to the Null-terminated \r
+\r
+  This function appends a formatted Unicode string to the Null-terminated\r
   Unicode string specified by String.   String is optional and may be NULL.\r
   Unicode string specified by String.   String is optional and may be NULL.\r
-  Storage for the formatted Unicode string returned is allocated using \r
+  Storage for the formatted Unicode string returned is allocated using\r
   AllocatePool().  The pointer to the appended string is returned.  The caller\r
   is responsible for freeing the returned string.\r
   AllocatePool().  The pointer to the appended string is returned.  The caller\r
   is responsible for freeing the returned string.\r
\r
+\r
   If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().\r
   If FormatString is NULL, then ASSERT().\r
   If FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
   If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().\r
   If FormatString is NULL, then ASSERT().\r
   If FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
\r
+\r
   @param[in] String         A Null-terminated Unicode string.\r
   @param[in] FormatString   A Null-terminated Unicode format string.\r
   @param[in]  Marker        VA_LIST marker for the variable argument list.\r
 \r
   @retval NULL    There was not enough available memory.\r
   @param[in] String         A Null-terminated Unicode string.\r
   @param[in] FormatString   A Null-terminated Unicode format string.\r
   @param[in]  Marker        VA_LIST marker for the variable argument list.\r
 \r
   @retval NULL    There was not enough available memory.\r
-  @return         Null-terminated Unicode string is that is the formatted \r
+  @return         Null-terminated Unicode string is that is the formatted\r
                   string appended to String.\r
 **/\r
 CHAR16*\r
                   string appended to String.\r
 **/\r
 CHAR16*\r
@@ -780,27 +780,27 @@ CatVSPrint (
   return (BufferToReturn);\r
 }\r
 \r
   return (BufferToReturn);\r
 }\r
 \r
-/** \r
+/**\r
   Appends a formatted Unicode string to a Null-terminated Unicode string\r
   Appends a formatted Unicode string to a Null-terminated Unicode string\r
\r
-  This function appends a formatted Unicode string to the Null-terminated \r
+\r
+  This function appends a formatted Unicode string to the Null-terminated\r
   Unicode string specified by String.   String is optional and may be NULL.\r
   Unicode string specified by String.   String is optional and may be NULL.\r
-  Storage for the formatted Unicode string returned is allocated using \r
+  Storage for the formatted Unicode string returned is allocated using\r
   AllocatePool().  The pointer to the appended string is returned.  The caller\r
   is responsible for freeing the returned string.\r
   AllocatePool().  The pointer to the appended string is returned.  The caller\r
   is responsible for freeing the returned string.\r
\r
+\r
   If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().\r
   If FormatString is NULL, then ASSERT().\r
   If FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
   If String is not NULL and not aligned on a 16-bit boundary, then ASSERT().\r
   If FormatString is NULL, then ASSERT().\r
   If FormatString is not aligned on a 16-bit boundary, then ASSERT().\r
\r
+\r
   @param[in] String         A Null-terminated Unicode string.\r
   @param[in] FormatString   A Null-terminated Unicode format string.\r
   @param[in] String         A Null-terminated Unicode string.\r
   @param[in] FormatString   A Null-terminated Unicode format string.\r
-  @param[in] ...            The variable argument list whose contents are \r
-                            accessed based on the format string specified by \r
+  @param[in] ...            The variable argument list whose contents are\r
+                            accessed based on the format string specified by\r
                             FormatString.\r
 \r
   @retval NULL    There was not enough available memory.\r
                             FormatString.\r
 \r
   @retval NULL    There was not enough available memory.\r
-  @return         Null-terminated Unicode string is that is the formatted \r
+  @return         Null-terminated Unicode string is that is the formatted\r
                   string appended to String.\r
 **/\r
 CHAR16 *\r
                   string appended to String.\r
 **/\r
 CHAR16 *\r
index e641aba647bb1506f7dacd3d65271837ca140de0..b4937bab1f5d9854a178069fff0a0a3838b0fb69 100644 (file)
@@ -6,7 +6,7 @@
   (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE driver as\r
   it contains DXE enum extensions for EFI event services.\r
 \r
   (EDK/EFI 1.10) and new (EDK II/UEFI 2.0) way. This module is a DXE driver as\r
   it contains DXE enum extensions for EFI event services.\r
 \r
-Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2018, 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
 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
@@ -276,7 +276,7 @@ EfiGetNameGuidFromFwVolDevicePathNode (
   ASSERT (FvDevicePathNode != NULL);\r
 \r
   //\r
   ASSERT (FvDevicePathNode != NULL);\r
 \r
   //\r
-  // EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10. \r
+  // EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10.\r
   // In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with\r
   // EFI 1.10 and UEFI 2.10.\r
   //\r
   // In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with\r
   // EFI 1.10 and UEFI 2.10.\r
   //\r
@@ -314,14 +314,14 @@ EfiInitializeFwVolDevicepathNode (
   ASSERT (NameGuid          != NULL);\r
 \r
   //\r
   ASSERT (NameGuid          != NULL);\r
 \r
   //\r
-  // EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10. \r
+  // EFI Specification extension on Media Device Path. MEDIA_FW_VOL_FILEPATH_DEVICE_PATH is adopted by UEFI later and added in UEFI2.10.\r
   // In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with\r
   // EFI 1.10 and UEFI 2.10.\r
   //\r
   FvDevicePathNode->Header.Type     = MEDIA_DEVICE_PATH;\r
   FvDevicePathNode->Header.SubType  = MEDIA_PIWG_FW_FILE_DP;\r
   SetDevicePathNodeLength (&FvDevicePathNode->Header, sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH));\r
   // In EdkCompatibility Package, we only support MEDIA_FW_VOL_FILEPATH_DEVICE_PATH that complies with\r
   // EFI 1.10 and UEFI 2.10.\r
   //\r
   FvDevicePathNode->Header.Type     = MEDIA_DEVICE_PATH;\r
   FvDevicePathNode->Header.SubType  = MEDIA_PIWG_FW_FILE_DP;\r
   SetDevicePathNodeLength (&FvDevicePathNode->Header, sizeof (MEDIA_FW_VOL_FILEPATH_DEVICE_PATH));\r
-  \r
+\r
   CopyGuid (&FvDevicePathNode->FvFileName, NameGuid);\r
 }\r
 \r
   CopyGuid (&FvDevicePathNode->FvFileName, NameGuid);\r
 }\r
 \r
index eb89b4a535524050910e2ae1a5b748cacc7baf70..6cc0816f9dc627372ab4bf69f0c9726b53d194a0 100644 (file)
@@ -3,9 +3,9 @@
 \r
  HOB Library implementation that uses PEI Services to retrieve the HOB List.\r
  This library instance uses EFI_HOB_TYPE_CV defined in Intel framework HOB specification v0.9\r
 \r
  HOB Library implementation that uses PEI Services to retrieve the HOB List.\r
  This library instance uses EFI_HOB_TYPE_CV defined in Intel framework HOB specification v0.9\r
- to implement HobLib BuildCvHob() API. \r
+ to implement HobLib BuildCvHob() API.\r
 \r
 \r
-Copyright (c) 2007 - 2017, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2007 - 2018, 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
 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
@@ -29,15 +29,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
   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
   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
   to manage the pointer to the HOB list.\r
-  \r
+\r
   If the pointer to the HOB list is NULL, then ASSERT().\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
   @return The pointer to the HOB list.\r
 \r
 **/\r
@@ -60,12 +60,12 @@ GetHobList (
 /**\r
   Returns the next instance of a HOB type from the starting HOB.\r
 \r
 /**\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
   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
   If HobStart is NULL, then ASSERT().\r
 \r
   @param  Type          The HOB type to return.\r
@@ -84,7 +84,7 @@ GetNextHob (
   EFI_PEI_HOB_POINTERS  Hob;\r
 \r
   ASSERT (HobStart != NULL);\r
   EFI_PEI_HOB_POINTERS  Hob;\r
 \r
   ASSERT (HobStart != NULL);\r
-   \r
+\r
   Hob.Raw = (UINT8 *) HobStart;\r
   //\r
   // Parse the HOB list until end of list or matching type is found.\r
   Hob.Raw = (UINT8 *) HobStart;\r
   //\r
   // Parse the HOB list until end of list or matching type is found.\r
@@ -101,9 +101,9 @@ GetNextHob (
 /**\r
   Returns the first instance of a HOB type among the whole HOB list.\r
 \r
 /**\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
   If the pointer to the HOB list is NULL, then ASSERT().\r
 \r
   @param  Type          The HOB type to return.\r
@@ -125,17 +125,17 @@ GetFirstHob (
 \r
 /**\r
   Returns the next instance of the matched GUID HOB from the starting HOB.\r
 \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
   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
   If Guid is NULL, then ASSERT().\r
   If HobStart is NULL, then ASSERT().\r
 \r
@@ -166,14 +166,14 @@ GetNextGuidHob (
 \r
 /**\r
   Returns the first instance of the matched GUID HOB among the whole HOB list.\r
 \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
   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
   If the pointer to the HOB list is NULL, then ASSERT().\r
   If Guid is NULL, then ASSERT().\r
 \r
@@ -197,11 +197,11 @@ GetFirstGuidHob (
 /**\r
   Get the system boot mode from the HOB list.\r
 \r
 /**\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
   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
   @param  VOID\r
 \r
   @return The Boot Mode.\r
@@ -261,7 +261,7 @@ InternalPeiCreateHob (
   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
   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
   If ModuleName is NULL, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
@@ -299,7 +299,7 @@ BuildModuleHob (
   // Zero the reserved space to match HOB spec\r
   //\r
   ZeroMem (Hob->MemoryAllocationHeader.Reserved, sizeof (Hob->MemoryAllocationHeader.Reserved));\r
   // Zero the reserved space to match HOB spec\r
   //\r
   ZeroMem (Hob->MemoryAllocationHeader.Reserved, sizeof (Hob->MemoryAllocationHeader.Reserved));\r
-  \r
+\r
   CopyGuid (&Hob->ModuleName, ModuleName);\r
   Hob->EntryPoint = EntryPoint;\r
 }\r
   CopyGuid (&Hob->ModuleName, ModuleName);\r
   Hob->EntryPoint = EntryPoint;\r
 }\r
@@ -310,7 +310,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
   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
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  ResourceType        The type of resource described by this HOB.\r
@@ -351,7 +351,7 @@ BuildResourceDescriptorWithOwnerHob (
   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
   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
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  ResourceType        The type of resource described by this HOB.\r
@@ -384,15 +384,15 @@ BuildResourceDescriptorHob (
 }\r
 \r
 /**\r
 }\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
   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
   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 >= (0x10000 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT().\r
   If Guid is NULL, then ASSERT().\r
   If there is no additional space for HOB creation, then ASSERT().\r
   If DataLength >= (0x10000 - sizeof (EFI_HOB_GUID_TYPE)), then ASSERT().\r
@@ -417,7 +417,7 @@ BuildGuidHob (
   // Make sure Guid is valid\r
   //\r
   ASSERT (Guid != NULL);\r
   // Make sure Guid is valid\r
   //\r
   ASSERT (Guid != NULL);\r
-  \r
+\r
   //\r
   // Make sure that data length is not too long.\r
   //\r
   //\r
   // Make sure that data length is not too long.\r
   //\r
@@ -432,16 +432,16 @@ BuildGuidHob (
 }\r
 \r
 /**\r
 }\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 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
   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
   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
@@ -537,7 +537,7 @@ InternalCheckFvAlignment (
   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
   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
   If the FvImage buffer is not at its required alignment, then ASSERT().\r
 \r
   If there is no additional space for HOB creation, then ASSERT().\r
   If the FvImage buffer is not at its required alignment, then ASSERT().\r
 \r
@@ -574,7 +574,7 @@ 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
   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
   If the FvImage buffer is not at its required alignment, then ASSERT().\r
 \r
   If there is no additional space for HOB creation, then ASSERT().\r
   If the FvImage buffer is not at its required alignment, then ASSERT().\r
 \r
@@ -582,7 +582,7 @@ BuildFvHob (
   @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
   @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
 **/\r
 VOID\r
 EFIAPI\r
@@ -671,7 +671,7 @@ BuildFv3Hob (
   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
   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
   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
@@ -703,7 +703,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
   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
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  SizeOfMemorySpace   The maximum physical memory addressability of the processor.\r
@@ -730,7 +730,7 @@ BuildCpuHob (
   //\r
   // Zero the reserved space to match HOB spec\r
   //\r
   //\r
   // Zero the reserved space to match HOB spec\r
   //\r
-  ZeroMem (Hob->Reserved, sizeof (Hob->Reserved)); \r
+  ZeroMem (Hob->Reserved, sizeof (Hob->Reserved));\r
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
@@ -739,7 +739,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
   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
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The 64 bit physical address of the Stack.\r
@@ -780,7 +780,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
   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
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The 64 bit physical address of the BSP.\r
@@ -823,7 +823,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
   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
   If there is no additional space for HOB creation, then ASSERT().\r
 \r
   @param  BaseAddress   The 64 bit physical address of the memory.\r
@@ -843,12 +843,12 @@ BuildMemoryAllocationHob (
 \r
   ASSERT (((BaseAddress & (EFI_PAGE_SIZE - 1)) == 0) &&\r
           ((Length & (EFI_PAGE_SIZE - 1)) == 0));\r
 \r
   ASSERT (((BaseAddress & (EFI_PAGE_SIZE - 1)) == 0) &&\r
           ((Length & (EFI_PAGE_SIZE - 1)) == 0));\r
-  \r
+\r
   Hob = InternalPeiCreateHob (EFI_HOB_TYPE_MEMORY_ALLOCATION, (UINT16) sizeof (EFI_HOB_MEMORY_ALLOCATION));\r
   if (Hob == NULL) {\r
     return;\r
   }\r
   Hob = InternalPeiCreateHob (EFI_HOB_TYPE_MEMORY_ALLOCATION, (UINT16) sizeof (EFI_HOB_MEMORY_ALLOCATION));\r
   if (Hob == NULL) {\r
     return;\r
   }\r
-  \r
+\r
   ZeroMem (&(Hob->AllocDescriptor.Name), sizeof (EFI_GUID));\r
   Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress;\r
   Hob->AllocDescriptor.MemoryLength      = Length;\r
   ZeroMem (&(Hob->AllocDescriptor.Name), sizeof (EFI_GUID));\r
   Hob->AllocDescriptor.MemoryBaseAddress = BaseAddress;\r
   Hob->AllocDescriptor.MemoryLength      = Length;\r
index b10be0068522d360bfc45e7fc4fe5de62b81c3a6..bd9d4f9e90add7ceea7d7df721dc04055f6019e7 100644 (file)
@@ -3,9 +3,9 @@
 #\r
 # HOB Library implementation that uses PEI Services to retrieve the HOB List.\r
 # This library instance uses EFI_HOB_TYPE_CV defined in Intel framework HOB specification v0.9\r
 #\r
 # HOB Library implementation that uses PEI Services to retrieve the HOB List.\r
 # This library instance uses EFI_HOB_TYPE_CV defined in Intel framework HOB specification v0.9\r
-# to implement HobLib BuildCvHob() API. \r
+# to implement HobLib BuildCvHob() API.\r
 #\r
 #\r
-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -54,5 +54,5 @@
 #   MEMORY_ALLOCATION     ## SOMETIMES_PRODUCES\r
 #   RESOURCE_DESCRIPTOR   ## SOMETIMES_PRODUCES\r
 #   FIRMWARE_VOLUME       ## SOMETIMES_PRODUCES\r
 #   MEMORY_ALLOCATION     ## SOMETIMES_PRODUCES\r
 #   RESOURCE_DESCRIPTOR   ## SOMETIMES_PRODUCES\r
 #   FIRMWARE_VOLUME       ## SOMETIMES_PRODUCES\r
-#   \r
+#\r
 \r
 \r
index c6ea2dabf754eb7342c99e04daa8e50d02b38044..e66f7b130bba00ca26583122c401567d5b785fb0 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   Internal header file for Smbus library.\r
 \r
 /** @file\r
   Internal header file for Smbus library.\r
 \r
-Copyright (c) 2006, 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
-                                                                                          \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
+Copyright (c) 2006 - 2018, 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
+\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
 \r
 **/\r
 \r
@@ -46,7 +46,7 @@ InternalGetSmbusPpi (
   );\r
 \r
 /**\r
   );\r
 \r
 /**\r
-  Executes an SMBus operation to an SMBus controller. \r
+  Executes an SMBus operation to an SMBus controller.\r
 \r
   This function provides a standard way to execute Smbus script\r
   as defined in the SmBus Specification. The data can either be of\r
 \r
   This function provides a standard way to execute Smbus script\r
   as defined in the SmBus Specification. The data can either be of\r
index 33d90968331abca02f46dfe86e57b18727522f5f..ae5cbb26b4a10ad2c9838660a981913b34e2737b 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
   Implementation of SmBusLib class library for PEI phase.\r
 \r
 /** @file\r
   Implementation of SmBusLib class library for PEI phase.\r
 \r
-Copyright (c) 2006 - 2008, 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
-                                                                                          \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
+Copyright (c) 2006 - 2018, 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
+\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
 \r
 **/\r
 \r
@@ -19,14 +19,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
   This internal function retrieves Smbus PPI from PPI database.\r
   If gEfiPeiSmbusPpiGuid can not be located, then ASSERT()\r
 \r
   This internal function retrieves Smbus PPI from PPI database.\r
   If gEfiPeiSmbusPpiGuid can not be located, then ASSERT()\r
-  \r
+\r
   @return The pointer to Smbus PPI.\r
 \r
 **/\r
 EFI_PEI_SMBUS_PPI *\r
 InternalGetSmbusPpi (\r
   VOID\r
   @return The pointer to Smbus PPI.\r
 \r
 **/\r
 EFI_PEI_SMBUS_PPI *\r
 InternalGetSmbusPpi (\r
   VOID\r
-  ) \r
+  )\r
 {\r
   EFI_STATUS            Status;\r
   EFI_PEI_SMBUS_PPI     *SmbusPpi;\r
 {\r
   EFI_STATUS            Status;\r
   EFI_PEI_SMBUS_PPI     *SmbusPpi;\r
@@ -39,7 +39,7 @@ InternalGetSmbusPpi (
 }\r
 \r
 /**\r
 }\r
 \r
 /**\r
-  Executes an SMBus operation to an SMBus controller. \r
+  Executes an SMBus operation to an SMBus controller.\r
 \r
   This function provides a standard way to execute Smbus script\r
   as defined in the SmBus Specification. The data can either be of\r
 \r
   This function provides a standard way to execute Smbus script\r
   as defined in the SmBus Specification. The data can either be of\r
@@ -83,7 +83,7 @@ InternalSmBusExec (
                              SmbusDeviceAddress,\r
                              SMBUS_LIB_COMMAND (SmBusAddress),\r
                              SmbusOperation,\r
                              SmbusDeviceAddress,\r
                              SMBUS_LIB_COMMAND (SmBusAddress),\r
                              SmbusOperation,\r
-                             SMBUS_LIB_PEC (SmBusAddress),  \r
+                             SMBUS_LIB_PEC (SmBusAddress),\r
                              &Length,\r
                              Buffer\r
                              );\r
                              &Length,\r
                              Buffer\r
                              );\r
index d56d4d3fa924a381cbf2f0cc863edfc16b1b448f..643c2767f329b3994752a4209eef5eaa1ace9a3b 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # SMBUS library that layers on top of the SMBUS PPI.\r
 #\r
 ## @file\r
 # SMBUS library that layers on top of the SMBUS PPI.\r
 #\r
-# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
 #\r
 #  This program and the accompanying materials\r
 #  are licensed and made available under the terms and conditions of the BSD License\r
@@ -20,7 +20,7 @@
   FILE_GUID                      = 51C4C059-67F0-4e3c-9A55-FF42A8291C8C\r
   MODULE_TYPE                    = PEIM\r
   VERSION_STRING                 = 1.0\r
   FILE_GUID                      = 51C4C059-67F0-4e3c-9A55-FF42A8291C8C\r
   MODULE_TYPE                    = PEIM\r
   VERSION_STRING                 = 1.0\r
-  LIBRARY_CLASS                  = SmbusLib|PEIM \r
+  LIBRARY_CLASS                  = SmbusLib|PEIM\r
 \r
 \r
 #\r
 \r
 \r
 #\r
index 40b482e392343e8ea39a8e89855ae55b5a932a1f..cf3b80a6cb6853481b02ab30ff980091f1db6310 100644 (file)
@@ -1,14 +1,14 @@
 /** @file\r
 Implementation of SmBusLib class library for PEI phase.\r
 \r
 /** @file\r
 Implementation of SmBusLib class library for PEI phase.\r
 \r
-Copyright (c) 2006, 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
-                                                                                          \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
+Copyright (c) 2006 - 2018, 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
+\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
 Module Name: SmbusLib.c\r
 \r
 \r
 Module Name: SmbusLib.c\r
@@ -189,7 +189,7 @@ SmBusReadDataByte (
   ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);\r
 \r
   InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status);\r
   ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);\r
 \r
   InternalSmBusExec (EfiSmbusReadByte, SmBusAddress, 1, &Byte, Status);\r
-  \r
+\r
   return Byte;\r
 }\r
 \r
   return Byte;\r
 }\r
 \r
@@ -228,7 +228,7 @@ SmBusWriteDataByte (
 \r
   Byte = Value;\r
   InternalSmBusExec (EfiSmbusWriteByte, SmBusAddress, 1, &Byte, Status);\r
 \r
   Byte = Value;\r
   InternalSmBusExec (EfiSmbusWriteByte, SmBusAddress, 1, &Byte, Status);\r
-  \r
+\r
   return Value;\r
 }\r
 \r
   return Value;\r
 }\r
 \r
@@ -241,7 +241,7 @@ SmBusWriteDataByte (
   If Status is not NULL, then the status of the executed command is returned in Status.\r
   If Length in SmBusAddress is not zero, then ASSERT().\r
   If any reserved bits of SmBusAddress are set, then ASSERT().\r
   If Status is not NULL, then the status of the executed command is returned in Status.\r
   If Length in SmBusAddress is not zero, then ASSERT().\r
   If any reserved bits of SmBusAddress are set, then ASSERT().\r
-  \r
+\r
   @param  SmBusAddress    Address that encodes the SMBUS Slave Address,\r
                           SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status          Return status for the executed command.\r
   @param  SmBusAddress    Address that encodes the SMBUS Slave Address,\r
                           SMBUS Command, SMBUS Data Length, and PEC.\r
   @param  Status          Return status for the executed command.\r
@@ -263,7 +263,7 @@ SmBusReadDataWord (
   ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);\r
 \r
   InternalSmBusExec (EfiSmbusReadWord, SmBusAddress, 2, &Word, Status);\r
   ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);\r
 \r
   InternalSmBusExec (EfiSmbusReadWord, SmBusAddress, 2, &Word, Status);\r
-  \r
+\r
   return Word;\r
 }\r
 \r
   return Word;\r
 }\r
 \r
@@ -338,7 +338,7 @@ SmBusProcessCall (
   ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);\r
 \r
   InternalSmBusExec (EfiSmbusProcessCall, SmBusAddress, 2, &Value, Status);\r
   ASSERT (SMBUS_LIB_RESERVED (SmBusAddress) == 0);\r
 \r
   InternalSmBusExec (EfiSmbusProcessCall, SmBusAddress, 2, &Value, Status);\r
-  \r
+\r
   return Value;\r
 }\r
 \r
   return Value;\r
 }\r
 \r
@@ -387,7 +387,7 @@ SmBusReadBlock (
   The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.\r
   Bytes are written to the SMBUS from Buffer.\r
   The number of bytes written is returned, and will never return a value larger than 32-bytes.\r
   The SMBUS slave address, SMBUS command, and SMBUS length fields of SmBusAddress are required.\r
   Bytes are written to the SMBUS from Buffer.\r
   The number of bytes written is returned, and will never return a value larger than 32-bytes.\r
-  If Status is not NULL, then the status of the executed command is returned in Status.  \r
+  If Status is not NULL, then the status of the executed command is returned in Status.\r
   If Length in SmBusAddress is zero or greater than 32, then ASSERT().\r
   If Buffer is NULL, then ASSERT().\r
   If any reserved bits of SmBusAddress are set, then ASSERT().\r
   If Length in SmBusAddress is zero or greater than 32, then ASSERT().\r
   If Buffer is NULL, then ASSERT().\r
   If any reserved bits of SmBusAddress are set, then ASSERT().\r