From 9b7f34601a1310c0e9fa7e6d11649acd78439cd0 Mon Sep 17 00:00:00 2001 From: Dmitry Borisov Date: Fri, 3 May 2024 20:01:47 +0600 Subject: [PATCH] [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;