Fixed a problem where spawn arguments were getting lost again. Also, fixed up stack alignment, which closes #496

This commit is contained in:
Eric Holk
2011-06-15 18:16:17 -07:00
parent c4f9bd9470
commit 67360ae618
10 changed files with 55 additions and 39 deletions

View File

@@ -52,7 +52,7 @@ rust_task_test::worker::run() {
rust_handle<rust_dom> *handle =
kernel->create_domain("test");
rust_dom *domain = handle->referent();
domain->root_task->start((uintptr_t)&task_entry, (uintptr_t)NULL, 0);
domain->root_task->start((uintptr_t)&task_entry, (uintptr_t)NULL);
domain->start_main_loop();
kernel->destroy_domain(domain);
}