]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2WrapperPkg/Library/BaseFspWrapperPlatformLibSample/FspWrapperPlatformLibSample.c
IntelFsp2WrapperPkg: Support FSP Dispatch mode
[mirror_edk2.git] / IntelFsp2WrapperPkg / Library / BaseFspWrapperPlatformLibSample / FspWrapperPlatformLibSample.c
index 9c1a84f12cef1af98f335ae8ed4279665a60e06e..926ff58a2f3f0c0c1f53a05bff6cd387589c6abc 100644 (file)
@@ -80,4 +80,24 @@ GetS3MemoryInfo (
   )\r
 {\r
   return EFI_UNSUPPORTED;\r
-}
\ No newline at end of file
+}\r
+\r
+/**\r
+  Perform platform related reset in FSP wrapper.\r
+\r
+  This function will reset the system with requested ResetType.\r
+\r
+  @param[in] FspStatusResetType  The type of reset the platform has to perform.\r
+**/\r
+VOID\r
+EFIAPI\r
+CallFspWrapperResetSystem (\r
+  IN UINT32    FspStatusResetType\r
+  )\r
+{\r
+  //\r
+  // Perform reset according to the type.\r
+  //\r
+\r
+  CpuDeadLoop();\r
+}\r