#------------------------------------------------------------------------------ # # LoongArch interrupt enable # # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.
# # SPDX-License-Identifier: BSD-2-Clause-Patent # #------------------------------------------------------------------------------ ASM_GLOBAL ASM_PFX(EnableInterrupts) #/** # Enables CPU interrupts. #**/ ASM_PFX(EnableInterrupts): li.w $t0, 0x4 csrxchg $t0, $t0, 0x0 jirl $zero, $ra, 0 .end