diff options
Diffstat (limited to 'roms/edk2/MdePkg/Library/BaseLib/Ia32/Wbinvd.c')
-rw-r--r-- | roms/edk2/MdePkg/Library/BaseLib/Ia32/Wbinvd.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/roms/edk2/MdePkg/Library/BaseLib/Ia32/Wbinvd.c b/roms/edk2/MdePkg/Library/BaseLib/Ia32/Wbinvd.c new file mode 100644 index 000000000..87bd71f05 --- /dev/null +++ b/roms/edk2/MdePkg/Library/BaseLib/Ia32/Wbinvd.c @@ -0,0 +1,29 @@ +/** @file
+ AsmWbinvd function
+
+ Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
+ SPDX-License-Identifier: BSD-2-Clause-Patent
+
+**/
+
+
+
+
+/**
+ Executes a WBINVD instruction.
+
+ Executes a WBINVD instruction. This function is only available on IA-32 and
+ x64.
+
+**/
+VOID
+EFIAPI
+AsmWbinvd (
+ VOID
+ )
+{
+ _asm {
+ wbinvd
+ }
+}
+
|