summaryrefslogtreecommitdiff
path: root/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.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/StackCheckLibNullMsvc.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/StackCheckLibNullMsvc.c')
-rw-r--r--MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c b/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c
index ba9a4e6f3c..ebc2ba21d3 100644
--- a/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c
+++ b/MdePkg/Library/StackCheckLibNull/StackCheckLibNullMsvc.c
@@ -6,5 +6,6 @@
**/
#include <Uefi.h>
+#include <Library/StackCheckLib.h>
VOID *__security_cookie = (VOID *)(UINTN)0x0;