summaryrefslogtreecommitdiff
path: root/MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c
diff options
context:
space:
mode:
authorOliver Smith-Denny <osde@microsoft.com>2025-01-29 21:48:49 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-02-07 05:23:11 +0300
commite63cdeebb829683a9b30bf60a616d5476a07e1a5 (patch)
treed5886c47efa7d258e8fc4267037f10b4f7ab462c /MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c
parentd9715c133f45b6eee239f4aa58e9112b7497de4b (diff)
downloadedk2-e63cdeebb829683a9b30bf60a616d5476a07e1a5.tar.xz
MdePkg: Add StackCheckLib Library Class
StackCheckLib defines the interface between a compiler and the stack checking code. It is being converted from a NULL library class to an actual library class to make it easier to use for a platform and be easier to define the expected interface with a compiler, so if there is a compiler change it can be tracked and caught. Signed-off-by: Oliver Smith-Denny <osde@microsoft.com>
Diffstat (limited to 'MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c')
-rw-r--r--MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c b/MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c
index cc30632761..ed2bc410e5 100644
--- a/MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c
+++ b/MdePkg/Library/StackCheckLibNull/StackCheckLibNullGcc.c
@@ -6,6 +6,7 @@
**/
#include <Uefi.h>
+#include <Library/StackCheckLib.h>
VOID *__stack_chk_guard = (VOID *)(UINTN)0x0;