]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/FxRestore.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 / FxRestore.c
index 1314da4194165bc367a60551ecc048db56e3d5c4..e50dc126baad9db2fdf53d96b30b967dca70c4fd 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   AsmFxRestore function\r
 \r
-  Copyright (c) 2006 - 2007, 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
-//\r
-// Include common header file for this module.\r
-//\r
-#include <BaseLibInternals.h>\r
 \r
+#include "BaseLibInternals.h"\r
 \r
+\r
+/**\r
+  Restores the current floating point/SSE/SSE2 context from a buffer.\r
+\r
+  Restores the current floating point/SSE/SSE2 state from the buffer specified\r
+  by Buffer. Buffer must be aligned on a 16-byte boundary. This function is\r
+  only available on IA-32 and x64.\r
+\r
+  @param  Buffer  Pointer to a buffer to save the floating point/SSE/SSE2 context.\r
+\r
+**/\r
 VOID\r
 EFIAPI\r
 InternalX86FxRestore (\r