Fix K8 report bugs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8139 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -373,6 +373,10 @@ ReassignIdeResources (
|
||||
UINT16 CommandBlockBaseAddr;
|
||||
UINT16 ControlBlockBaseAddr;
|
||||
|
||||
if (IdeDev->Channel >= IdeMaxChannel) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
}
|
||||
|
||||
//
|
||||
// Requery IDE IO port registers' base addresses in case of the switch of
|
||||
// native and legacy modes
|
||||
|
Reference in New Issue
Block a user