summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-24 08:30:53 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2010-02-24 08:30:53 +0000
commitb6d539c869ae46932ec467bb1c23a67518f3e1d6 (patch)
treed9fef385e91792fc5962fa6d1aea75f3c7576c7f /MdeModulePkg/Core
parentdc8f418d712838e99034f42f190046ac8be0e0b6 (diff)
downloadedk2-platforms-b6d539c869ae46932ec467bb1c23a67518f3e1d6.tar.xz
roll back changing on save and restore interrupt status, it needn't doing.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10060 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
index 81e5ca4c07..7e99ac5e02 100644
--- a/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
+++ b/MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c
@@ -70,8 +70,6 @@ HandOffToDxeCore (
VOID *TemplateBase;
EFI_PHYSICAL_ADDRESS VectorAddress;
UINT32 Index;
- BOOLEAN InterruptState;
-
Status = PeiServicesAllocatePages (EfiBootServicesData, EFI_SIZE_TO_PAGES (STACK_SIZE), &BaseOfStack);
ASSERT_EFI_ERROR (Status);
@@ -144,19 +142,9 @@ HandOffToDxeCore (
gLidtDescriptor.Base = (UINTN) IdtTable;
- //
- // Disable interrupts and save the current interrupt state
- //
- InterruptState = SaveAndDisableInterrupts ();
-
AsmWriteIdtr (&gLidtDescriptor);
//
- // Restore the interrupt state
- //
- SetInterruptState (InterruptState);
-
- //
// Go to Long Mode and transfer control to DxeCore.
// Interrupts will not get turned on until the CPU AP is loaded.
// Call x64 drivers passing in single argument, a pointer to the HOBs.