]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/Invd.c
Fix the bug in x64 thunk code that it cannot handle the case when GDT is loaded in...
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / Invd.c
index 113bdd697595890962e5fd921b26e29d936b6c08..6d8d314371de3ae09842d62e9a80b7f4288f6542 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmInvd function\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
+  Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
   All rights reserved. This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
 \r
+\r
+\r
+/**\r
+  Executes a INVD instruction.\r
+\r
+  Executes a INVD instruction. This function is only available on IA-32 and\r
+  x64.\r
+\r
+**/\r
 VOID\r
 EFIAPI\r
 AsmInvd (\r
@@ -25,4 +33,3 @@ AsmInvd (
   }\r
 }\r
 \r
-#endif\r