base-nova: remove special acpica/iomem region

Based on not emulated and therby wrong values, acpica calculates a
physical address which points to somewhere. Remove this hack from core and
try to emulate accesses inside acpica where necessary.

Issue #4643
Issue #5234
This commit is contained in:
Alexander Boettcher 2024-06-11 13:19:21 +02:00 committed by Norman Feske
parent 0062a3e784
commit a12ff58674

View File

@ -625,21 +625,6 @@ Core::Platform::Platform()
}
}
/*
* ACPI quirk for 12th Gen Framework laptop and Thinkpad X1 Nano Gen2
*
* Although this RAM page is not marked as reserved, it apparently plays a
* special role because ACPICA explicitly requests this physical range.
*/
{
#ifdef __x86_64__
addr_t const start = 0x1'0bf0'0000, size = 0x1000;
_io_mem_alloc.add_range(start, size);
ram_alloc().remove_range(start, size);
#endif
}
/*
* From now on, it is save to use the core allocators...
*/