mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Add a 'log available' signal to block on
There was previously no good way to block log-display tasks, either the fb driver or the kernel log task. Now the system object has a signal (j6_signal_system_has_log) that gets asserted when the log is written to.
This commit is contained in:
@@ -112,7 +112,7 @@ load_process_image(uintptr_t phys, uintptr_t virt, size_t bytes, TCB *tcb)
|
||||
|
||||
j6_init_value *initv = push<j6_init_value>(tcb->rsp3);
|
||||
initv->type = j6_init_handle_system;
|
||||
initv->value = static_cast<uint64_t>(proc.add_handle(system::get()));
|
||||
initv->value = static_cast<uint64_t>(proc.add_handle(&system::get()));
|
||||
|
||||
initv = push<j6_init_value>(tcb->rsp3);
|
||||
initv->type = j6_init_handle_process;
|
||||
|
||||
Reference in New Issue
Block a user