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