diff options
author | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-29 04:41:20 +0000 |
---|---|---|
committer | xli24 <xli24@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-06-29 04:41:20 +0000 |
commit | 248e14f111da2b346b823678dcf3be96bd08b6dd (patch) | |
tree | e901b329cdb4386b548f6652c4fd0940568e8b93 /PcAtChipsetPkg | |
parent | 39941daf90572c818328de50fbcb7a5e5e0e7eb2 (diff) | |
download | edk2-platforms-248e14f111da2b346b823678dcf3be96bd08b6dd.tar.xz |
Fix the bug that necessary call of SetVectorBase() is missing in the SetMode() function.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8676 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'PcAtChipsetPkg')
-rw-r--r-- | PcAtChipsetPkg/8259InterruptControllerDxe/8259.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c index ac0642750c..02b286b16a 100644 --- a/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c +++ b/PcAtChipsetPkg/8259InterruptControllerDxe/8259.c @@ -351,6 +351,7 @@ 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;
@@ -386,6 +387,7 @@ 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;
|