summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Bus/Isa
diff options
context:
space:
mode:
authorhfang <hfang@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-21 06:33:31 +0000
committerhfang <hfang@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-21 06:33:31 +0000
commitaa950314c706c55c0f4a32c41752bf5a19e8deb4 (patch)
tree10916e846d3f0b91b4407d653dea18168c4ef3f3 /IntelFrameworkModulePkg/Bus/Isa
parent55deb97841fa6b6a0ee491a26ca801dd31a3e7bb (diff)
downloadedk2-platforms-aa950314c706c55c0f4a32c41752bf5a19e8deb4.tar.xz
Fix K8 report bugs.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8139 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Isa')
-rw-r--r--IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c
index da1aa94094..3907e0a6c7 100644
--- a/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c
+++ b/IntelFrameworkModulePkg/Bus/Isa/IsaBusDxe/IsaIo.c
@@ -1065,6 +1065,11 @@ IsaIoMap_FullSupport (
if (Operation < 0 || Operation >= EfiIsaIoOperationMaximum) {
return EFI_INVALID_PARAMETER;
}
+
+ if (ChannelNumber >= 8) {
+ return EFI_INVALID_PARAMETER;
+ }
+
//
// See if this is a Slave DMA Operation
//