TianoCore EDK2 master
CpuSleepFlushTlb.c File Reference
#include <Base.h>
#include <Library/DebugLib.h>

Go to the source code of this file.

Functions

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

Detailed Description

Base Library CPU Functions for EBC

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

Definition in file CpuSleepFlushTlb.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 19 of file CpuSleepFlushTlb.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 36 of file CpuSleepFlushTlb.c.