mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
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
This commit is contained in:
parent
39941daf90
commit
248e14f111
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user