mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-24 01:28:48 +00:00
Move context area definition to native_type
This commit is contained in:
committed by
Norman Feske
parent
62d81ae487
commit
ea38aad30e
@ -15,6 +15,7 @@
|
||||
#include <base/elf.h>
|
||||
#include <base/env.h>
|
||||
#include <base/thread.h>
|
||||
#include <base/native_types.h>
|
||||
#include <dataspace/client.h>
|
||||
#include <rom_session/connection.h>
|
||||
#include <foc_cpu_session/connection.h>
|
||||
@ -125,8 +126,8 @@ static void register_reserved_areas()
|
||||
|
||||
size_t bin_sz = (addr_t)&_prog_img_end - (addr_t)&_prog_img_beg;
|
||||
L4lx::Env::env()->rm()->reserve_range((addr_t)&_prog_img_beg, bin_sz, "Binary");
|
||||
L4lx::Env::env()->rm()->reserve_range(Thread_base::CONTEXT_AREA_VIRTUAL_BASE,
|
||||
Thread_base::CONTEXT_AREA_VIRTUAL_SIZE,
|
||||
L4lx::Env::env()->rm()->reserve_range(Native_config::context_area_virtual_base(),
|
||||
Native_config::context_area_virtual_size(),
|
||||
"Thread Context Area");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user