TianoCore EDK2 master
Loading...
Searching...
No Matches
BaseCpuLibNull.c File Reference
#include <Library/CpuLib.h>

Go to the source code of this file.

Functions

VOID EFIAPI CpuSleep (VOID)
 
VOID EFIAPI CpuFlushTlb (VOID)
 

Detailed Description

Null instance of CPU Library.

Copyright (c) 2020, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file BaseCpuLibNull.c.

Function Documentation

◆ CpuFlushTlb()

VOID EFIAPI CpuFlushTlb ( VOID  )

Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.

Flushes all the Translation Lookaside Buffers(TLB) entries in a CPU.

Definition at line 35 of file BaseCpuLibNull.c.

◆ CpuSleep()

VOID EFIAPI CpuSleep ( VOID  )

Places the CPU in a sleep state until an interrupt is received.

Places the CPU in a sleep state until an interrupt is received. If interrupts are disabled prior to calling this function, then the CPU will be placed in a sleep state indefinitely.

Definition at line 21 of file BaseCpuLibNull.c.