kernel: add channel/port ipc mechanism
This commit is contained in:
@@ -33,7 +33,7 @@ static void hang(void)
|
||||
|
||||
while (1) {
|
||||
#if 0
|
||||
printk("[cpu %u, task %u, thread %u]: tick",
|
||||
printk("[cpu %u, task %ld, thread %u]: tick",
|
||||
this_cpu(),
|
||||
self->t_id,
|
||||
thread->tr_id);
|
||||
@@ -74,6 +74,9 @@ void kernel_init(uintptr_t arg)
|
||||
{
|
||||
ml_init(arg);
|
||||
|
||||
port_type_init();
|
||||
channel_type_init();
|
||||
|
||||
struct boot_module bsp_image = {0};
|
||||
bsp_get_location(&bsp_image);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user