diff options
Diffstat (limited to 'roms/edk2/MdePkg/Library/BaseLib/X86MemoryFence.c')
-rw-r--r-- | roms/edk2/MdePkg/Library/BaseLib/X86MemoryFence.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/roms/edk2/MdePkg/Library/BaseLib/X86MemoryFence.c b/roms/edk2/MdePkg/Library/BaseLib/X86MemoryFence.c new file mode 100644 index 000000000..399b36b56 --- /dev/null +++ b/roms/edk2/MdePkg/Library/BaseLib/X86MemoryFence.c @@ -0,0 +1,26 @@ +/** @file
+ IA-32/x64 MemoryFence().
+
+ Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+
+
+
+/**
+ Used to serialize load and store operations.
+
+ All loads and stores that proceed calls to this function are guaranteed to be
+ globally visible when this function returns.
+
+**/
+VOID
+EFIAPI
+MemoryFence (
+ VOID
+ )
+{
+ return;
+}
|