mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
6862ab481a
Unify handling of UTCBs. The utcb of the main thread is with commit ea38aad30e6166a0da1ac8bd84b53d6e1962cfaf 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.
This directory contains patches for the NOVA microhypervisor @ github required for using this kernel with Genode.