]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdeModulePkg: Issues reported by ECC in EDK2.
authorGuoMinJ <newexplorerj@gmail.com>
Thu, 13 Feb 2020 08:33:47 +0000 (16:33 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 14 Feb 2020 07:27:28 +0000 (07:27 +0000)
https://bugzilla.tianocore.org/show_bug.cgi?id=2515

Change the MdeModulePkg to match the ECC check rule

Signed-off-by: GuoMinJ <newexplorerj@gmail.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/PciBusDxe/PciEnumeratorSupport.c
MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHci.c
MdeModulePkg/MdeModulePkg.uni

index f8020f4e7218e93f6debfbcc5496a9518e2c1326..6c68a97d4e467e4498aea5296d28e8932c3abbc3 100644 (file)
@@ -2071,7 +2071,7 @@ InitializeP2C (
   PciIo->Pci.Write (PciIo, EfiPciIoWidthUint8, 0x3C, 1, &gAllZero);\r
 }\r
 \r
-/*\r
+/**\r
   Authenticate the PCI device by using DeviceSecurityProtocol.\r
 \r
   @param PciIoDevice  PCI device.\r
@@ -2079,7 +2079,7 @@ InitializeP2C (
   @retval EFI_SUCCESS     The device passes the authentication.\r
   @return not EFI_SUCCESS The device failes the authentication or\r
                           unexpected error happen during authentication.\r
-*/\r
+**/\r
 EFI_STATUS\r
 AuthenticatePciDevice (\r
   IN PCI_IO_DEVICE            *PciIoDevice\r
index b05c81846268a8559e8c7b59b37f1a84e41f2fda..da5559ae76e3db3bf8adf8575d6c8964feea990b 100644 (file)
@@ -2200,7 +2200,7 @@ SdMmcSoftwareReset (
   SD specification section 3.10.\r
 \r
   @param[in] Private    Pointer to driver private data.\r
-  @param[in] Trb        Pointer to currently executing TRB.\r
+  @param[in] Slot       Index of the slot for device.\r
   @param[in] IntStatus  Normal interrupt status mask.\r
 \r
   @retval EFI_CRC_ERROR  CRC error happened during CMD execution.\r
index cc18e533228a4b52eabd76397b2ba6b599f3f65a..2c856ed07333129fb7c2f858df8a756add633be2 100644 (file)
                                                                                     "when the PCD is TRUE but CPU doesn't support 5-Level Paging."\r
                                                                                     " TRUE  - 5-Level Paging will be enabled."\r
                                                                                     " FALSE - 5-Level Paging will not be enabled."\r
+\r
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdTcgPfpMeasurementRevision_PROMPT #language en-US "TCG Platform Firmware Profile revision"\r
+\r
+#string STR_gEfiMdeModulePkgTokenSpaceGuid_PcdTcgPfpMeasurementRevision_HELP #language en-US "Indicates which TCG Platform Firmware Profile revision the EDKII firmware follows."\r