diff options
Diffstat (limited to 'MdePkg/Library/StackCheckLib/Arm/StackCookieInterrupt.asm')
-rw-r--r-- | MdePkg/Library/StackCheckLib/Arm/StackCookieInterrupt.asm | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/MdePkg/Library/StackCheckLib/Arm/StackCookieInterrupt.asm b/MdePkg/Library/StackCheckLib/Arm/StackCookieInterrupt.asm new file mode 100644 index 0000000000..f1b1e53943 --- /dev/null +++ b/MdePkg/Library/StackCheckLib/Arm/StackCookieInterrupt.asm @@ -0,0 +1,25 @@ +;------------------------------------------------------------------------------
+; Arm/StackCookieInterrupt.asm
+;
+; Copyright (c) Microsoft Corporation.
+; SPDX-License-Identifier: BSD-2-Clause-Patent
+;------------------------------------------------------------------------------
+
+ EXPORT TriggerStackCookieInterrupt
+
+ AREA |.text|, CODE, READONLY
+
+;------------------------------------------------------------------------------
+; Calls an interrupt using the vector specified by PcdStackCookieExceptionVector
+;
+; VOID
+; TriggerStackCookieInterrupt (
+; VOID
+; );
+;------------------------------------------------------------------------------
+TriggerStackCookieInterrupt PROC
+ SWI FixedPcdGet8 (PcdStackCookieExceptionVector)
+ BX LR
+TriggerStackCookieInterrupt ENDP
+
+ END
|