]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseCpuLib/AArch64/CpuSleep.S
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseCpuLib / AArch64 / CpuSleep.S
CommitLineData
deb65d6c
HL
1#------------------------------------------------------------------------------\r
2#\r
3# CpuSleep() for AArch64\r
4#\r
5# Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>\r
6# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
7# Portions copyright (c) 2011 - 2013, ARM LTD. All rights reserved.<BR>\r
9344f092 8# SPDX-License-Identifier: BSD-2-Clause-Patent\r
deb65d6c
HL
9#\r
10#------------------------------------------------------------------------------\r
11\r
12.text\r
13.align 3\r
0f895683 14GCC_ASM_EXPORT(CpuSleep)\r
deb65d6c
HL
15\r
16#/**\r
17# Places the CPU in a sleep state until an interrupt is received.\r
18#\r
19# Places the CPU in a sleep state until an interrupt is received. If interrupts\r
20# are disabled prior to calling this function, then the CPU will be placed in a\r
21# sleep state indefinitely.\r
22#\r
23#**/\r
24#VOID\r
25#EFIAPI\r
26#CpuSleep (\r
27# VOID\r
28# );\r
29#\r
30\r
31ASM_PFX(CpuSleep):\r
32 wfi\r
33 ret\r