]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Variable/RuntimeDxe/SpeculationBarrierDxe.c
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Universal / Variable / RuntimeDxe / SpeculationBarrierDxe.c
1 /** @file
2 Barrier to stop speculative execution (DXE version).
3
4 Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #include "Variable.h"
10
11 /**
12 This service is consumed by the variable modules to place a barrier to stop
13 speculative execution.
14
15 Ensures that no later instruction will execute speculatively, until all prior
16 instructions have completed.
17
18 **/
19 VOID
20 VariableSpeculationBarrier (
21 VOID
22 )
23 {
24 //
25 // Do nothing.
26 //
27 }