Fixed a problem where spawn arguments were getting lost again. Also, fixed up stack alignment, which closes #496
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user