genode/os/src
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
..
app Print error message if 'execve' failed 2012-06-06 17:27:54 +02:00
drivers Timer: make ram_quota and stack platform-dependent 2012-09-19 14:28:36 +02:00
init Handle the case that init has no children 2012-04-19 19:04:33 +02:00
lib NOVA: drop special utcb handling of main thread 2012-10-04 14:35:38 +02:00
platform Reserve up to 8x4 bytes for the parent capability 2012-08-14 19:14:25 +02:00
server TAR file system service 2012-08-22 09:51:31 +02:00
test Increase RAM demanded by bomb children on 64bit systems 2012-07-11 12:12:41 +02:00