summaryrefslogtreecommitdiffstats
path: root/MdePkg/Library/StackCheckLib/Arm/StackCookieInterrupt.asm
blob: f1b1e539438ae204de71ecf6ec52029eb13ab8d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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