diff --git a/MdePkg/Include/Library/PeimEntryPoint.h b/MdePkg/Include/Library/PeimEntryPoint.h index f09385978c..e3bb9dc388 100644 --- a/MdePkg/Include/Library/PeimEntryPoint.h +++ b/MdePkg/Include/Library/PeimEntryPoint.h @@ -27,6 +27,7 @@ extern CONST UINT32 _gPeimRevision; @retval EFI_SUCCESS The PEIM executed normally. @retval !EFI_SUCCESS The PEIM failed to execute normally. **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint ( diff --git a/MdePkg/Include/Library/StandaloneMmDriverEntryPoint.h b/MdePkg/Include/Library/StandaloneMmDriverEntryPoint.h index a522c0a391..a305f4f768 100644 --- a/MdePkg/Include/Library/StandaloneMmDriverEntryPoint.h +++ b/MdePkg/Include/Library/StandaloneMmDriverEntryPoint.h @@ -45,6 +45,7 @@ extern CONST UINT8 _gDriverUnloadImageCount; ProcessModuleEntryPointList(). **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint ( diff --git a/MdePkg/Include/Library/UefiApplicationEntryPoint.h b/MdePkg/Include/Library/UefiApplicationEntryPoint.h index ce355947f7..02ae05502a 100644 --- a/MdePkg/Include/Library/UefiApplicationEntryPoint.h +++ b/MdePkg/Include/Library/UefiApplicationEntryPoint.h @@ -31,6 +31,7 @@ extern CONST UINT32 _gUefiDriverRevision; @retval Other Return value from ProcessModuleEntryPointList(). **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint ( diff --git a/MdePkg/Include/Library/UefiDriverEntryPoint.h b/MdePkg/Include/Library/UefiDriverEntryPoint.h index 1dbcb46542..5fc2ed21ce 100644 --- a/MdePkg/Include/Library/UefiDriverEntryPoint.h +++ b/MdePkg/Include/Library/UefiDriverEntryPoint.h @@ -48,6 +48,7 @@ extern CONST UINT8 _gDriverUnloadImageCount; @retval Other Return value from ProcessModuleEntryPointList(). **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint ( diff --git a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c index 42aab62f5d..531b8833f8 100644 --- a/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c +++ b/MdePkg/Library/PeimEntryPoint/PeimEntryPoint.c @@ -24,6 +24,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @retval EFI_SUCCESS The PEIM executed normally. @retval !EFI_SUCCESS The PEIM failed to execute normally. **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint ( diff --git a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c index ff1c53b185..2417128fda 100644 --- a/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c +++ b/MdePkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.c @@ -78,6 +78,7 @@ _DriverUnloadHandler ( ProcessModuleEntryPointList(). **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint ( diff --git a/MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c b/MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c index 0a33e7a223..4f0458f5fd 100644 --- a/MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c +++ b/MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c @@ -29,6 +29,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent @retval Other Return value from ProcessModuleEntryPointList(). **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint ( diff --git a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c index dc6445b8a5..0b47de7bc4 100644 --- a/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c +++ b/MdePkg/Library/UefiDriverEntryPoint/DriverEntryPoint.c @@ -80,6 +80,7 @@ _DriverUnloadHandler ( @retval Other Return value from ProcessModuleEntryPointList(). **/ +NO_STACK_COOKIE // MU_CHANGE: Project Mu Runtime Randomized Stack Cookie Support EFI_STATUS EFIAPI _ModuleEntryPoint (