mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-20 08:03:56 +00:00
base: hide internals of the Thread API
This patch moves details about the stack allocation and organization the base-internal headers. Thereby, I replaced the notion of "thread contexts" by "stacks" as this term is much more intuitive. The fact that we place thread-specific information at the bottom of the stack is not worth introducing new terminology. Issue #1832
This commit is contained in:
committed by
Christian Helmuth
parent
3c686fc9c6
commit
7f73e5e879
@ -13,16 +13,16 @@
|
||||
|
||||
PHDRS
|
||||
{
|
||||
context_area PT_LOAD FLAGS(0);
|
||||
stack_area PT_LOAD FLAGS(0);
|
||||
}
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x40000000;
|
||||
_context_area_start = .;
|
||||
_stack_area_start = .;
|
||||
/*
|
||||
* Since Linux loads ldso page aligned, we align the context area after
|
||||
* Since Linux loads ldso page aligned, we align the stack area after
|
||||
* loading to a 1 MiB boundary, therefore we reserve one MiB more here.
|
||||
*/
|
||||
.context_area : { . += 0x10100000; } : context_area
|
||||
.stack_area : { . += 0x10100000; } : stack_area
|
||||
}
|
@ -14,6 +14,6 @@
|
||||
SECTIONS
|
||||
{
|
||||
. = 0x40000000;
|
||||
_context_area_start = .;
|
||||
.context_area : { . += 0x10000000; }
|
||||
_stack_area_start = .;
|
||||
.stack_area : { . += 0x10000000; }
|
||||
}
|
Reference in New Issue
Block a user