diff options
Diffstat (limited to 'MdePkg/Library/BaseLib')
-rw-r--r-- | MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c | 4 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c | 12 | ||||
-rw-r--r-- | MdePkg/Library/BaseLib/Ebc/SwitchStack.c | 4 |
3 files changed, 16 insertions, 4 deletions
diff --git a/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c b/MdePkg/Library/BaseLib/Ebc/CpuBreakpoint.c index 352e1c7c1f..cdba67c4cd 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 <BaseLibInternals.h>
extern
UINT64
diff --git a/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c b/MdePkg/Library/BaseLib/Ebc/SetJumpLongJump.c index b485d3e495..ed4ec2f115 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 <BaseLibInternals.h>
/**
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 d2861c4f85..1f76933ae0 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 <BaseLibInternals.h>
/**
Transfers control to a function starting with a new stack.
|