1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2025-04-21 12:27:27 +03:00

improve init; make destroy simpler

This commit is contained in:
Bas Wijnen
2010-05-03 16:46:14 +02:00
parent 12bfb320f7
commit c8f7b1c678
6 changed files with 138 additions and 80 deletions

View File

@@ -295,7 +295,7 @@ Iris::Num start ():
Iris::Elfrun elfrun_cap = elfrun.get (0)
Iris::free_cap (elfrun)
Iris::String init_string = find (root, INIT_NAME)
Iris::Caps init_caps = elfrun_cap.run_string (top_memory.copy (), init_string.copy (), parent_cap.copy ())
Iris::Caps init_caps = elfrun_cap.run_string (top_memory.copy (), init_string.copy (), parent_cap.copy (), 8, 63)
Iris::Thread init = init_caps.get (__thread_num)
init.make_priv ()