]> git.proxmox.com Git - mirror_edk2.git/blobdiff - StandaloneMmPkg/Drivers/StandaloneMmCpu/AArch64/StandaloneMmCpu.c
StandaloneMmPkg: Fix ECC error 4002 in StandaloneMmCpu
[mirror_edk2.git] / StandaloneMmPkg / Drivers / StandaloneMmCpu / AArch64 / StandaloneMmCpu.c
index 9e496096018da80aa8e7fe84721b1fa757a0b3ce..6884095c49f27f32db3f42888f685fdc0c0e6a89 100644 (file)
@@ -44,6 +44,16 @@ EFI_MM_SYSTEM_TABLE *mMmst = NULL;
 //\r
 STATIC EFI_HANDLE            mMmCpuHandle = NULL;\r
 \r
+/** Returns the HOB data for the matching HOB GUID.\r
+\r
+  @param  [in]  HobList  Pointer to the HOB list.\r
+  @param  [in]  HobGuid  The GUID for the HOB.\r
+  @param  [out] HobData  Pointer to the HOB data.\r
+\r
+  @retval  EFI_SUCCESS            The function completed successfully.\r
+  @retval  EFI_INVALID_PARAMETER  Invalid parameter.\r
+  @retval  EFI_NOT_FOUND          Could not find HOB with matching GUID.\r
+**/\r
 EFI_STATUS\r
 GetGuidedHobData (\r
   IN  VOID *HobList,\r
@@ -70,9 +80,20 @@ GetGuidedHobData (
   return EFI_SUCCESS;\r
 }\r
 \r
+/** Entry point for the Standalone MM CPU driver.\r
+\r
+  @param  [in]  ImageHandle   Unused. Not actual image handle.\r
+  @param  [in]  SystemTable   Pointer to MM System table.\r
+\r
+  @retval  EFI_SUCCESS            The function completed successfully.\r
+  @retval  EFI_INVALID_PARAMETER  Invalid parameter.\r
+  @retval  EFI_OUT_OF_RESOURCES   Out of resources.\r
+  @retval  EFI_NOT_FOUND          Failed to find the HOB for the CPU\r
+                                  driver endpoint descriptor.\r
+**/\r
 EFI_STATUS\r
 StandaloneMmCpuInitialize (\r
-  IN EFI_HANDLE         ImageHandle,  // not actual imagehandle\r
+  IN EFI_HANDLE            ImageHandle,  // not actual imagehandle\r
   IN EFI_MM_SYSTEM_TABLE   *SystemTable  // not actual systemtable\r
   )\r
 {\r