mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 09:46:20 +00:00
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:
parent
0062a3e784
commit
a12ff58674
@ -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...
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user