summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X86MemoryFence.c
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-25 02:28:09 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-09-25 02:28:09 +0000
commit13e4e2aee7b9dc21a344e4a0bf0c6dc154699371 (patch)
treead765ba207c8fbec04b4d167e70678455274333a /MdePkg/Library/BaseLib/X86MemoryFence.c
parent8062bfcd7f339dd286e4308bb78e56ae1c4a3045 (diff)
downloadedk2-platforms-13e4e2aee7b9dc21a344e4a0bf0c6dc154699371.tar.xz
Change name.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5973 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/X86MemoryFence.c')
-rw-r--r--MdePkg/Library/BaseLib/X86MemoryFence.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/X86MemoryFence.c b/MdePkg/Library/BaseLib/X86MemoryFence.c
new file mode 100644
index 0000000000..d9646811d5
--- /dev/null
+++ b/MdePkg/Library/BaseLib/X86MemoryFence.c
@@ -0,0 +1,32 @@
+/** @file
+ IA-32/x64 MemoryFence().
+
+ Copyright (c) 2006, Intel Corporation<BR>
+ All rights reserved. This program and the accompanying materials
+ are licensed and made available under the terms and conditions of the BSD License
+ which accompanies this distribution. The full text of the license may be found at
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+
+
+
+/**
+ 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;
+}