From 0ffa12863e9e60cfd1900e3a83b21f32f89afdf2 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Tue, 20 Jun 2006 05:30:27 +0000 Subject: 1. Fixed bug for WriteUnaligned24() in Unaligned.c of BaseLib 2. Added assert() for AsmFxRestore() in x86LowLevel.c of BaseLib 3. Added assert() for LongJump() in LongJump.c of BaseLib 4. Changed parameter type of Value from "IN" to "IN OUT" for InterLockedComparedExchanged32/64/pointer() functions to sync with MWG-0.55a 5. Changed functions header of all BitField functions of BaseLib, BaseIoLibIntrinsic, BasePciCf8Lib, BasePciExpressLib, BasePciLibCf8, BasePciLibPciExpressLib DxeIoLibCpuIo, PeiIoLibCpuIo etc, to follow MWG-0.55a. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@565 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/LongJump.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MdePkg/Library/BaseLib/LongJump.c') diff --git a/MdePkg/Library/BaseLib/LongJump.c b/MdePkg/Library/BaseLib/LongJump.c index 302d4bd232..85f091e090 100644 --- a/MdePkg/Library/BaseLib/LongJump.c +++ b/MdePkg/Library/BaseLib/LongJump.c @@ -49,5 +49,7 @@ LongJump ( ) { InternalAssertJumpBuffer (JumpBuffer); + ASSERT (Value != 0); + InternalLongJump (JumpBuffer, Value); } -- cgit v1.2.3