[ISAPNP] Force clear the upper reserved bits on fixed I/O descriptors

CORE-18562
This commit is contained in:
Dmitry Borisov 2024-05-03 20:01:47 +06:00
parent 991dbeff53
commit 9b7f34601a

View file

@ -888,6 +888,9 @@ ParseTags(
PeekCached(ResourceData, &Temp, TagLen); PeekCached(ResourceData, &Temp, TagLen);
ResourceData += TagLen; ResourceData += TagLen;
/* Save the address bits [0:9] */
Temp.IoBase &= ((1 << 10) - 1);
Description->Information = 0; Description->Information = 0;
Description->Minimum = Description->Minimum =
Description->Maximum = Temp.IoBase; Description->Maximum = Temp.IoBase;