]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Arm/CpuPause.asm
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Library / BaseLib / Arm / CpuPause.asm
CommitLineData
9095d37b 1;------------------------------------------------------------------------------\r
ebd04fc2 2;\r
3; CpuPause() for ARM\r
4;\r
9095d37b 5; Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
bb817c56 6; Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
9344f092 7; SPDX-License-Identifier: BSD-2-Clause-Patent\r
ebd04fc2 8;\r
9;------------------------------------------------------------------------------\r
10\r
11 EXPORT CpuPause\r
12 AREA cpu_pause, CODE, READONLY\r
13\r
14;/**\r
15; Requests CPU to pause for a short period of time.\r
16;\r
17; Requests CPU to pause for a short period of time. Typically used in MP\r
18; systems to prevent memory starvation while waiting for a spin lock.\r
19;\r
20;**/\r
21;VOID\r
22;EFIAPI\r
23;CpuPause (\r
24; VOID\r
25; );\r
26;\r
27CpuPause\r
28 NOP\r
29 NOP\r
30 NOP\r
31 NOP\r
32 NOP\r
33 BX LR\r
34\r
35 END\r