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

Go to the source code of this file.

Functions

VOID EFIAPI SpeculationBarrier (VOID)
 

Detailed Description

SpeculationBarrier() function for IA32 and x64.

Copyright (C) 2018 - 2019, Intel Corporation. All rights reserved.

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

Definition in file X86SpeculationBarrier.c.

Function Documentation

◆ SpeculationBarrier()

VOID EFIAPI SpeculationBarrier ( VOID  )

Uses as a barrier to stop speculative execution.

Ensures that no later instruction will execute speculatively, until all prior instructions have completed.

Definition at line 21 of file X86SpeculationBarrier.c.