a2381251f36acab7468fd5d8395f08333eecf6e0
[mirror_edk2.git] / MdePkg / Library / BaseLib / SetJumpLongJump.c
1 /** @file
2 Switch Stack functions.
3
4 Copyright (c) 2006, Intel Corporation
5 All rights reserved. This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
9
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
12
13 Module Name: SetJumpLongJump.c
14
15 **/
16
17
18
19 UINTN
20 EFIAPI
21 SetJump (
22 IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
23 )
24 {
25 ASSERT (JumpBuffer != NULL);
26 ASSERT (FALSE);
27 return 0;
28 }
29
30 VOID
31 EFIAPI
32 LongJump (
33 IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer,
34 IN UINTN Value
35 )
36 {
37 ASSERT (JumpBuffer != NULL);
38 ASSERT (Value != 0);
39 ASSERT (FALSE);
40 }