]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/LongJump.c
Update the copyright notice format
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / LongJump.c
index 34447732a1501e4503e18fb2a603ef0be4a217c8..8d2b1ebd559d7a6d67d330310e11d2b61d142228 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Implementation of _LongJump() on IA-32.\r
 \r
-  Copyright (c) 2006, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
+  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
   http://opensource.org/licenses/bsd-license.php\r
 \r
 **/\r
 \r
-#if _MSC_EXTENSIONS\r
 \r
+#include "BaseLibInternals.h"\r
+\r
+\r
+/**\r
+  Restores the CPU context that was saved with SetJump().\r
+\r
+  Restores the CPU context from the buffer specified by JumpBuffer.\r
+  This function never returns to the caller.\r
+  Instead is resumes execution based on the state of JumpBuffer.\r
+\r
+  @param  JumpBuffer    A pointer to CPU context buffer.\r
+  @param  Value         The value to return when the SetJump() context is restored.\r
+\r
+**/\r
 __declspec (naked)\r
 VOID\r
 EFIAPI\r
@@ -35,4 +48,3 @@ InternalLongJump (
   }\r
 }\r
 \r
-#endif\r