diff options
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c b/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c index 1fe2239076..6df2434b94 100644 --- a/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c +++ b/MdePkg/Library/BaseLib/Ia32/InternalSwitchStack.c @@ -50,11 +50,6 @@ InternalSwitchStack ( {
BASE_LIBRARY_JUMP_BUFFER JumpBuffer;
- //
- // Stack should be aligned with CPU_STACK_ALIGNMENT
- //
- ASSERT (((UINTN)NewStack & (CPU_STACK_ALIGNMENT - 1)) == 0);
-
JumpBuffer.Eip = (UINTN)EntryPoint;
JumpBuffer.Esp = (UINTN)NewStack - sizeof (VOID*);
JumpBuffer.Esp -= sizeof (Context1) + sizeof (Context2);
|