mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-25 00:11:07 +00:00
Change order of thread-context members
Because 'stack' and 'stack_base' are related to each other, it makes sense to locate both members close to each other.
This commit is contained in:
parent
0a084ebe52
commit
d90b0464b8
@ -99,11 +99,6 @@ namespace Genode {
|
|||||||
*/
|
*/
|
||||||
long stack[];
|
long stack[];
|
||||||
|
|
||||||
/**
|
|
||||||
* Pointer to corresponding 'Thread_base' object
|
|
||||||
*/
|
|
||||||
Thread_base *thread_base;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Virtual address of the start of the stack
|
* Virtual address of the start of the stack
|
||||||
*
|
*
|
||||||
@ -113,6 +108,11 @@ namespace Genode {
|
|||||||
*/
|
*/
|
||||||
addr_t stack_base;
|
addr_t stack_base;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Pointer to corresponding 'Thread_base' object
|
||||||
|
*/
|
||||||
|
Thread_base *thread_base;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dataspace containing the backing store for the thread context
|
* Dataspace containing the backing store for the thread context
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user