From c6aa36b6aa35958767c0006a2bd5edccc830b1c4 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Mon, 2 Jul 2007 09:43:51 +0000 Subject: add internal command header reference git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2959 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c | 4 ++++ MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c | 12 ++++++++---- MdePkg/Library/BaseLib/Ebc/SwitchStack.c | 4 ++++ 3 files changed, 16 insertions(+), 4 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c index 352e1c7..cdba67c 100644 --- a/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c +++ b/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c @@ -11,6 +11,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ +// +// Include common header file for this module. +// +#include extern UINT64 diff --git a/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c b/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c index b485d3e..ed4ec2f 100644 --- a/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c +++ b/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c @@ -13,6 +13,10 @@ Module Name: SetJumpLongJump.c **/ +// +// Include common header file for this module. +// +#include /** Worker function that checks ASSERT condition for JumpBuffer @@ -33,15 +37,15 @@ InternalAssertJumpBuffer ( /** Saves the current CPU context that can be restored with a call to LongJump() and returns 0. - Saves the current CPU context in the buffer specified by JumpBuffer and returns 0. The initial - call to SetJump() must always return 0. Subsequent calls to LongJump() cause a non-zero - value to be returned by SetJump(). + Saves the current CPU context in the buffer specified by JumpBuffer and returns 0. The initial + call to SetJump() must always return 0. Subsequent calls to LongJump() cause a non-zero + value to be returned by SetJump(). If JumpBuffer is NULL, then ASSERT(). For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT(). @param JumpBuffer A pointer to CPU context buffer. - + **/ UINTN EFIAPI diff --git a/MdePkg/Library/BaseLib/Ebc/SwitchStack.c b/MdePkg/Library/BaseLib/Ebc/SwitchStack.c index d2861c4..1f76933 100644 --- a/MdePkg/Library/BaseLib/Ebc/SwitchStack.c +++ b/MdePkg/Library/BaseLib/Ebc/SwitchStack.c @@ -13,6 +13,10 @@ Module Name: SwitchStack.c **/ +// +// Include common header file for this module. +// +#include /** Transfers control to a function starting with a new stack. -- cgit v1.1