audk/MdePkg/Library/BaseCpuLib/LoongArch/CpuSleep.S

16 lines
433 B
ArmAsm

#------------------------------------------------------------------------------
#
# CpuSleep() for LoongArch64
#
# Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
#------------------------------------------------------------------------------
ASM_GLOBAL ASM_PFX(CpuSleep)
ASM_PFX(CpuSleep):
idle 0
jirl $zero, $ra, 0
.end