+++ /dev/null
-/** @file\r
- The longjmp function.\r
- The C standard requires that longjmp be a function and not a macro.\r
-\r
- Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials are licensed and made available under\r
- the terms and conditions of the BSD License that accompanies this distribution.\r
- The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-**/\r
-#include <Library/BaseLib.h>\r
-#include <setjmp.h>\r
-\r
-void longjmp(jmp_buf env, int val)\r
-{\r
- LongJump(env, (UINTN)((val == 0) ? 1 : val));\r
-}\r