]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
UefiCpuPkg: Simplify InitializeSeparateExceptionStacks
[mirror_edk2.git] / MdeModulePkg / Core / Dxe / DxeMain / DxeMain.c
index 0a1f3d79e2420eb1e7a224efdbceaddf5224e740..5733f0c8ec84b4fad5442b3e90648c67a91e4386 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   DXE Core Main Entry Point\r
 \r
-Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
 SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -260,7 +260,7 @@ DxeMain (
   // Setup Stack Guard\r
   //\r
   if (PcdGetBool (PcdCpuStackGuard)) {\r
-    Status = InitializeSeparateExceptionStacks (NULL);\r
+    Status = InitializeSeparateExceptionStacks (NULL, NULL);\r
     ASSERT_EFI_ERROR (Status);\r
   }\r
 \r