diff --git a/Platform/ApollolakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c b/Platform/ApollolakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c index d746708b..8214402c 100644 --- a/Platform/ApollolakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c +++ b/Platform/ApollolakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c @@ -178,6 +178,7 @@ ShellCommandFwUpdateFunc ( // PlatformService = (PLATFORM_SERVICE *) GetServiceBySignature (PLATFORM_SERVICE_SIGNATURE); if (PlatformService != NULL && PlatformService->ResetSystem != NULL) { + AsmWbinvd (); PlatformService->ResetSystem(EfiResetWarm); } diff --git a/Platform/CoffeelakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c b/Platform/CoffeelakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c index 8704c3d9..7260e21b 100644 --- a/Platform/CoffeelakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c +++ b/Platform/CoffeelakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c @@ -78,6 +78,7 @@ ShellCommandFwUpdateFunc ( // PlatformService = (PLATFORM_SERVICE *) GetServiceBySignature (PLATFORM_SERVICE_SIGNATURE); if (PlatformService != NULL && PlatformService->ResetSystem != NULL) { + AsmWbinvd (); PlatformService->ResetSystem(EfiResetWarm); } diff --git a/Platform/CometlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c b/Platform/CometlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c index 8704c3d9..7260e21b 100644 --- a/Platform/CometlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c +++ b/Platform/CometlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c @@ -78,6 +78,7 @@ ShellCommandFwUpdateFunc ( // PlatformService = (PLATFORM_SERVICE *) GetServiceBySignature (PLATFORM_SERVICE_SIGNATURE); if (PlatformService != NULL && PlatformService->ResetSystem != NULL) { + AsmWbinvd (); PlatformService->ResetSystem(EfiResetWarm); } diff --git a/Platform/CometlakevBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c b/Platform/CometlakevBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c index 8704c3d9..7260e21b 100644 --- a/Platform/CometlakevBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c +++ b/Platform/CometlakevBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c @@ -78,6 +78,7 @@ ShellCommandFwUpdateFunc ( // PlatformService = (PLATFORM_SERVICE *) GetServiceBySignature (PLATFORM_SERVICE_SIGNATURE); if (PlatformService != NULL && PlatformService->ResetSystem != NULL) { + AsmWbinvd (); PlatformService->ResetSystem(EfiResetWarm); } diff --git a/Platform/ElkhartlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c b/Platform/ElkhartlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c index 26dcdc18..bce39685 100644 --- a/Platform/ElkhartlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c +++ b/Platform/ElkhartlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c @@ -75,6 +75,7 @@ ShellCommandFwUpdateFunc ( // PlatformService = (PLATFORM_SERVICE *) GetServiceBySignature (PLATFORM_SERVICE_SIGNATURE); if (PlatformService != NULL && PlatformService->ResetSystem != NULL) { + AsmWbinvd (); PlatformService->ResetSystem(EfiResetWarm); } diff --git a/Platform/TigerlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c b/Platform/TigerlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c index 1375650b..33ce4ce7 100644 --- a/Platform/TigerlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c +++ b/Platform/TigerlakeBoardPkg/Library/ShellExtensionLib/CmdFwUpdate.c @@ -78,6 +78,7 @@ ShellCommandFwUpdateFunc ( // PlatformService = (PLATFORM_SERVICE *) GetServiceBySignature (PLATFORM_SERVICE_SIGNATURE); if (PlatformService != NULL && PlatformService->ResetSystem != NULL) { + AsmWbinvd (); PlatformService->ResetSystem(EfiResetWarm); }