diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/LongJump.c')
-rw-r--r-- | MdePkg/Library/BaseLib/LongJump.c | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/MdePkg/Library/BaseLib/LongJump.c b/MdePkg/Library/BaseLib/LongJump.c index 07b8115..302d4bd 100644 --- a/MdePkg/Library/BaseLib/LongJump.c +++ b/MdePkg/Library/BaseLib/LongJump.c @@ -1,5 +1,5 @@ /** @file
- Long Jump functions.
+ Long Jump functions.
Copyright (c) 2006, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -16,9 +16,15 @@ VOID
EFIAPI
-_LongJump (
- IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer,
- IN UINTN Value
+InternalAssertJumpBuffer (
+ IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer
+ );
+
+VOID
+EFIAPI
+InternalLongJump (
+ IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer,
+ IN UINTN Value
);
/**
@@ -38,12 +44,10 @@ _LongJump ( VOID
EFIAPI
LongJump (
- IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer,
- IN UINTN Value
+ IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer,
+ IN UINTN Value
)
{
- ASSERT (JumpBuffer != NULL);
- ASSERT (Value != 0);
-
- _LongJump (JumpBuffer, Value);
+ InternalAssertJumpBuffer (JumpBuffer);
+ InternalLongJump (JumpBuffer, Value);
}
|