]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Variable/RuntimeDxe/SpeculationBarrierDxe.c
IntelSiliconPkg: 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
5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include "Variable.h"\r
16\r
17/**\r
49395ea0
HW
18 This service is consumed by the variable modules to place a barrier to stop\r
19 speculative execution.\r
20\r
21 Ensures that no later instruction will execute speculatively, until all prior\r
22 instructions have completed.\r
e83d841f
HW
23\r
24**/\r
25VOID\r
49395ea0 26VariableSpeculationBarrier (\r
e83d841f
HW
27 VOID\r
28 )\r
29{\r
30 //\r
31 // Do nothing.\r
32 //\r
33}\r