https://git.reactos.org/?p=reactos.git;a=commitdiff;h=9b7f34601a1310c0e9fa7…
commit 9b7f34601a1310c0e9fa7e6d11649acd78439cd0
Author: Dmitry Borisov <di.sean(a)protonmail.com>
AuthorDate: Fri May 3 20:01:47 2024 +0600
Commit: Dmitry Borisov <di.sean(a)protonmail.com>
CommitDate: Sat Aug 3 17:08:43 2024 +0600
[ISAPNP] Force clear the upper reserved bits on fixed I/O descriptors
CORE-18562
---
drivers/bus/isapnp/hardware.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/bus/isapnp/hardware.c b/drivers/bus/isapnp/hardware.c
index a42598e3e6c..135ab574a16 100644
--- a/drivers/bus/isapnp/hardware.c
+++ b/drivers/bus/isapnp/hardware.c
@@ -888,6 +888,9 @@ ParseTags(
PeekCached(ResourceData, &Temp, TagLen);
ResourceData += TagLen;
+ /* Save the address bits [0:9] */
+ Temp.IoBase &= ((1 << 10) - 1);
+
Description->Information = 0;
Description->Minimum =
Description->Maximum = Temp.IoBase;