X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FLongJump.c;h=6a819e34cfa64ab0140dc0b058aa7dcfcbbe6668;hp=85f091e090988e8b5a3fa17b9e1cfe22809bc877;hb=f734a10ab104f1072f94cab66a5489e0fd8fce8a;hpb=0ffa12863e9e60cfd1900e3a83b21f32f89afdf2 diff --git a/MdePkg/Library/BaseLib/LongJump.c b/MdePkg/Library/BaseLib/LongJump.c index 85f091e090..6a819e34cf 100644 --- a/MdePkg/Library/BaseLib/LongJump.c +++ b/MdePkg/Library/BaseLib/LongJump.c @@ -14,18 +14,12 @@ **/ -VOID -EFIAPI -InternalAssertJumpBuffer ( - IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer - ); +// +// Include common header file for this module. +// -VOID -EFIAPI -InternalLongJump ( - IN BASE_LIBRARY_JUMP_BUFFER *JumpBuffer, - IN UINTN Value - ); + +#include "BaseLibInternals.h" /** Restores the CPU context that was saved with SetJump(). @@ -35,6 +29,7 @@ InternalLongJump ( Instead is resumes execution based on the state of JumpBuffer. If JumpBuffer is NULL, then ASSERT(). + For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT(). If Value is 0, then ASSERT(). @param JumpBuffer A pointer to CPU context buffer.