TianoCore EDK2 master
Loading...
Searching...
No Matches
CpuPause.c File Reference
#include "BaseLibInternals.h"

Go to the source code of this file.

Functions

VOID RiscVCpuPause (VOID)
 
VOID EFIAPI CpuPause (VOID)
 

Detailed Description

CPU pause for RISC-V

Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CpuPause.c.

Function Documentation

◆ CpuPause()

VOID EFIAPI CpuPause ( VOID  )

Requests CPU to pause for a short period of time.

Requests CPU to pause for a short period of time. Typically used in MP systems to prevent memory starvation while waiting for a spin lock.

Definition at line 25 of file CpuPause.c.