mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
hw: preserve core's context-area (Fix #1853)
Remove core's context-area from its virtual memory allocator
This commit is contained in:
parent
b0b4c3c7fa
commit
5afad64586
@ -136,6 +136,11 @@ Platform::Platform()
|
||||
init_alloc(_core_mem_alloc.virt_alloc(), virt_region,
|
||||
_core_only_ram_regions, get_page_size_log2());
|
||||
|
||||
/* preserve context area in core's virtual address space */
|
||||
_core_mem_alloc.virt_alloc()->remove_range(
|
||||
Native_config::context_area_virtual_base(),
|
||||
Native_config::context_area_virtual_size());
|
||||
|
||||
_init_io_port_alloc();
|
||||
|
||||
/* make all non-kernel interrupts available to the interrupt allocator */
|
||||
|
Loading…
x
Reference in New Issue
Block a user