summaryrefslogtreecommitdiffstats
path: root/syscall/invoke-untyped.c
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2025-09-10 13:28:28 -0400
committerJon Santmyer <jon@jonsantmyer.com>2025-09-10 13:28:28 -0400
commit7f350e7ee1c2c38e5ac0b6c22c17388f6c78f0b5 (patch)
treeaef9904e2495ce840319f2815cd859c47294c88a /syscall/invoke-untyped.c
parent032a7bc4d79efea100a00cf3464bea3249a07ff6 (diff)
downloadjove-kernel-7f350e7ee1c2c38e5ac0b6c22c17388f6c78f0b5.tar.gz
jove-kernel-7f350e7ee1c2c38e5ac0b6c22c17388f6c78f0b5.tar.bz2
jove-kernel-7f350e7ee1c2c38e5ac0b6c22c17388f6c78f0b5.zip
refactor paging code. regression on loading init program
Diffstat (limited to 'syscall/invoke-untyped.c')
-rw-r--r--syscall/invoke-untyped.c5
1 files changed, 5 insertions, 0 deletions
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;
}
}