genode/os/src/lib
Alexander Boettcher 6862ab481a NOVA: drop special utcb handling of main thread
Unify handling of UTCBs. The utcb of the main thread is with commit
ea38aad30e at a fixed location - per convention.
So we can remove all the ugly code to transfer the utcb address during process
creation.

To do so also the UTCB of the main thread of Core must be inside Genode's
thread context area to handle it the same way. Unfortunately the UTCB of the
main thread of Core can't be chosen, it is defined by the kernel.

Possible solutions:
- make virtual address of first thread UTCB configurable in hypervisor
- map the utcb of the first thread inside Core to the desired location

This commit implements the second option.

Kernel patch: make utcb map-able
With the patch the Utcb of the main thread of Core is map-able.

Fixes #374

Noux actually uses the sp variable during thread creation and expects to be
set accordingly. This wasn't the case for the main thread, it was ever set
to the address of the main thread UTCB.
2012-10-04 14:35:38 +02:00
..
alarm Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
blit Specialize blit library for ARM (fix #147). 2012-03-21 22:04:25 +01:00
config_args Set argv[argc] to 0 in 'config_args' libc plugin 2012-05-10 19:09:40 +02:00
dde_kit DDE kit: Timer add schedule function form timers 2012-05-23 19:17:23 +02:00
ldso NOVA: drop special utcb handling of main thread 2012-10-04 14:35:38 +02:00
net Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
timed_semaphore Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00
xev_track Bump year in copyright headers to 2012 2012-01-03 15:35:05 +01:00