kernel: add channel/port ipc mechanism

This commit is contained in:
2026-02-19 19:21:04 +00:00
parent 8e072945d8
commit aa9439c392
3 changed files with 322 additions and 1 deletions

View File

@@ -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);