]>
Commit | Line | Data |
---|---|---|
e83d841f | 1 | /** @file\r |
49395ea0 | 2 | Barrier to stop speculative execution (SMM version).\r |
e83d841f HW |
3 | \r |
4 | Copyright (c) 2018, Intel Corporation. All rights reserved.<BR>\r | |
9d510e61 | 5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
e83d841f HW |
6 | \r |
7 | **/\r | |
8 | \r | |
9 | #include <Library/BaseLib.h>\r | |
10 | #include "Variable.h"\r | |
11 | \r | |
12 | /**\r | |
49395ea0 HW |
13 | This service is consumed by the variable modules to place a barrier to stop\r |
14 | speculative execution.\r | |
15 | \r | |
16 | Ensures that no later instruction will execute speculatively, until all prior\r | |
17 | instructions have completed.\r | |
e83d841f HW |
18 | \r |
19 | **/\r | |
20 | VOID\r | |
49395ea0 | 21 | VariableSpeculationBarrier (\r |
e83d841f HW |
22 | VOID\r |
23 | )\r | |
24 | {\r | |
49395ea0 | 25 | SpeculationBarrier ();\r |
e83d841f | 26 | }\r |