From 7f350e7ee1c2c38e5ac0b6c22c17388f6c78f0b5 Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Wed, 10 Sep 2025 13:28:28 -0400 Subject: refactor paging code. regression on loading init program --- syscall/invoke-untyped.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'syscall/invoke-untyped.c') diff --git a/syscall/invoke-untyped.c b/syscall/invoke-untyped.c index a89306e..483d36f 100644 --- a/syscall/invoke-untyped.c +++ b/syscall/invoke-untyped.c @@ -95,6 +95,11 @@ s_handle_invoke_untyped_retype( switch(retype) { case KO_OBJECT_DIRECTORY: return ko_untyped_retype_objdir(target); + case KO_MESSAGE: { + uintptr_t vptr; + SYSCALL_PAYLOAD_TAKEL(payload, payload_at, vptr, uintptr_t); + return ko_untyped_retype_message(target, vptr); + } default: return KE_BADTYPE; } } -- cgit v1.2.1