]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / IntelFsp2WrapperPkg / Library / BaseFspWrapperPlatformLibSample / FspWrapperPlatformLibSample.c
index def04b1766592fd589763c3c6830d8d52b7559fe..00b4799fb4932acdc9cb2b6806b3fab9ea29f240 100644 (file)
 \r
   @note At this point, memory is NOT ready, PeiServices are available to use.\r
 \r
-  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data strcture.\r
+  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data structure.\r
 \r
 **/\r
 VOID\r
 EFIAPI\r
 UpdateFspmUpdData (\r
-  IN OUT VOID        *FspUpdRgnPtr\r
+  IN OUT VOID  *FspUpdRgnPtr\r
   )\r
 {\r
 }\r
@@ -28,13 +28,13 @@ UpdateFspmUpdData (
 /**\r
   This function overrides the default configurations in the FSP-S UPD data region.\r
 \r
-  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data strcture.\r
+  @param[in,out] FspUpdRgnPtr   A pointer to the UPD data region data structure.\r
 \r
 **/\r
 VOID\r
 EFIAPI\r
 UpdateFspsUpdData (\r
-  IN OUT VOID        *FspUpdRgnPtr\r
+  IN OUT VOID  *FspUpdRgnPtr\r
   )\r
 {\r
 }\r
@@ -69,8 +69,8 @@ UpdateTempRamExitParam (
 EFI_STATUS\r
 EFIAPI\r
 GetS3MemoryInfo (\r
-  OUT UINT64               *S3PeiMemSize,\r
-  OUT EFI_PHYSICAL_ADDRESS *S3PeiMemBase\r
+  OUT UINT64                *S3PeiMemSize,\r
+  OUT EFI_PHYSICAL_ADDRESS  *S3PeiMemBase\r
   )\r
 {\r
   return EFI_UNSUPPORTED;\r
@@ -86,12 +86,12 @@ GetS3MemoryInfo (
 VOID\r
 EFIAPI\r
 CallFspWrapperResetSystem (\r
-  IN UINT32    FspStatusResetType\r
+  IN EFI_STATUS  FspStatusResetType\r
   )\r
 {\r
   //\r
   // Perform reset according to the type.\r
   //\r
 \r
-  CpuDeadLoop();\r
+  CpuDeadLoop ();\r
 }\r