blob: 9fe9961e00fdb433cb1b23a288e77f9103e28da6 [file]
#------------------------------------------------------------------------------
#
# LoongArch64/StackCookieInterrupt.S
#
# Copyright (c) 2026, Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#------------------------------------------------------------------------------
#include <Library/BaseLib.h>
ASM_GLOBAL ASM_PFX(TriggerStackCookieInterrupt)
#/**
# Calling `CpuBreakpoint` to create a breakpoint to the LoongArch64 exception handle and stop.
#**/
ASM_PFX(TriggerStackCookieInterrupt):
bl CpuBreakpoint
jirl $zero, $ra, 0
.end