summaryrefslogtreecommitdiff
path: root/PcAtChipsetPkg
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-01 05:25:38 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2009-07-01 05:25:38 +0000
commitb63f669a8ab185aca67efe2a7ddb6fe6745ad14a (patch)
treee694ed043d8d690f6c9d2a5d5d12b5d594dd1094 /PcAtChipsetPkg
parent78d6366d68e627e15c09eba2a321b6da2be73d11 (diff)
downloadedk2-platforms-b63f669a8ab185aca67efe2a7ddb6fe6745ad14a.tar.xz
1. Remove SetVecotor() in SetMode().
2. Change initialized legacy interrupt mask value to 0xffff to disable all interrupts at the beginning. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8696 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r--PcAtChipsetPkg/8259InterruptControllerDxe/8259.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
index 02b286b16a..72489edd62 100644
--- a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
+++ b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c
@@ -38,7 +38,7 @@ UINT8 mMasterBase = 0xff;
UINT8 mSlaveBase = 0xff;
EFI_8259_MODE mMode = Efi8259ProtectedMode;
UINT16 mProtectedModeMask = 0xffff;
-UINT16 mLegacyModeMask = 0x06b8;
+UINT16 mLegacyModeMask = 0xffff;
UINT16 mProtectedModeEdgeLevel = 0x0000;
UINT16 mLegacyModeEdgeLevel = 0x0000;
@@ -351,7 +351,6 @@ Interrupt8259SetMode (
//
// Write new legacy mode mask/trigger level
//
- Interrupt8259SetVectorBase (This, LEGACY_MODE_BASE_VECTOR_MASTER, LEGACY_MODE_BASE_VECTOR_SLAVE);
Interrupt8259WriteMask (mLegacyModeMask, mLegacyModeEdgeLevel);
return EFI_SUCCESS;
@@ -387,7 +386,6 @@ Interrupt8259SetMode (
//
// Write new protected mode mask/trigger level
//
- Interrupt8259SetVectorBase (This, PROTECTED_MODE_BASE_VECTOR_MASTER, PROTECTED_MODE_BASE_VECTOR_SLAVE);
Interrupt8259WriteMask (mProtectedModeMask, mProtectedModeEdgeLevel);
return EFI_SUCCESS;