Ongoing work for adding per-thread UTCB structures.

Added setting of utcb address to l4_thread_control.
This is going to be moved to exchange_registers() since we need to pass
both the utcb physical and virtual address and exregs fits such context
modification better than thread_control.
This commit is contained in:
Bahadir Balban
2009-04-29 16:53:04 +03:00
parent 54a9b2901d
commit 7a81db8782
35 changed files with 424 additions and 72 deletions

View File

@@ -12,7 +12,7 @@
#include <l4lib/utcb.h>
#include <l4/macros.h>
#include INC_GLUE(memory.h)
#include <posix_init.h>
#include <shpage.h>
static inline int l4_fork(void)
{
@@ -43,10 +43,10 @@ int fork(void)
/*
* If we're a child, we need to initialise the default
* shared page via posix_init()
* shared page via libposix_init()
*/
if (ret == 0)
posix_init();
shared_page_init();
return ret;
}