summaryrefslogtreecommitdiff
path: root/src/device
diff options
context:
space:
mode:
Diffstat (limited to 'src/device')
-rw-r--r--src/device/resource_allocator_v4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device/resource_allocator_v4.c b/src/device/resource_allocator_v4.c
index ece7150b32..b65fc8bf37 100644
--- a/src/device/resource_allocator_v4.c
+++ b/src/device/resource_allocator_v4.c
@@ -330,7 +330,7 @@ static void constrain_domain_resources(const struct device *domain, struct memra
* Don't allow allocations in the VGA I/O range. PCI has special cases for
* that.
*/
- memranges_create_hole(ranges, 0x3b0, 0x3df);
+ memranges_create_hole(ranges, 0x3b0, 0x3df - 0x3b0 + 1);
/*
* Resource allocator no longer supports the legacy behavior where I/O resource