mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-02 15:40:55 +00:00
core: hand out RAM region as IOMEM to ACIPCA
The special region seems not to be declared as reserved nor ACPI related. However, ACPICA depends on this physical range. Issue #4643
This commit is contained in:
parent
b50a88a95d
commit
70737c034b
@ -625,6 +625,21 @@ 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...
|
* From now on, it is save to use the core allocators...
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user