X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FWbinvd.c;fp=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FWbinvd.c;h=25e794d1702cb9aebdd8754248bc54479cb087b3;hb=23086ba84cbb13350a2464b857b197eef67f1361;hp=0000000000000000000000000000000000000000;hpb=b0537818290619c85993136877afae37492fe5e0;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/Wbinvd.c b/MdePkg/Library/BaseLib/Ia32/Wbinvd.c new file mode 100644 index 0000000000..25e794d170 --- /dev/null +++ b/MdePkg/Library/BaseLib/Ia32/Wbinvd.c @@ -0,0 +1,28 @@ +/** @file + AsmWbinvd function + + Copyright (c) 2006, Intel Corporation
+ 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. + +**/ + +#if _MSC_EXTENSIONS + +VOID +EFIAPI +AsmWbinvd ( + VOID + ) +{ + _asm { + wbinvd + } +} + +#endif