diff options
author | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-17 14:16:55 -0400 |
---|---|---|
committer | Jon Santmyer <jon@jonsantmyer.com> | 2025-08-17 14:16:55 -0400 |
commit | 7ee9347560768641096df68c545ac085a20233e4 (patch) | |
tree | 5b567f2e98cd9e6aeee33eeecd7fbf6f2fafdeab /syscall/handler.c | |
parent | f466364b8a3858e7b3f19258d142851cb4a7e6d6 (diff) | |
download | jove-kernel-7ee9347560768641096df68c545ac085a20233e4.tar.gz jove-kernel-7ee9347560768641096df68c545ac085a20233e4.tar.bz2 jove-kernel-7ee9347560768641096df68c545ac085a20233e4.zip |
working usermode pager. fix usermode interrupts
Diffstat (limited to 'syscall/handler.c')
-rw-r--r-- | syscall/handler.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/syscall/handler.c b/syscall/handler.c index 6ac71da..b3eea99 100644 --- a/syscall/handler.c +++ b/syscall/handler.c @@ -31,6 +31,12 @@ s_syscall_handle_invoke(objdir_t *root_dir, uint8_t *payload) objdir_entry_t *target_entry; SYSCALL_PAYLOAD_TAKEOBJ(payload, payload_at, target_pathw, target_entry); +#ifdef DBG_SYSCALL + klogf("Calling invoke on obj %p [%i:%i] type %i\n", + target_entry, target_pathw, + payload[payload_at - 1], target_entry->type); +#endif + switch(target_entry->type) { case KO_NONE: return -KE_BADOBJ; @@ -38,8 +44,6 @@ s_syscall_handle_invoke(objdir_t *root_dir, uint8_t *payload) return s_invoke_release(root_dir, target_entry, payload, payload_at, syscall_handle_invoke_objdir); case KO_MEMORY_UNTYPED: return s_invoke_release(root_dir, target_entry, payload, payload_at, syscall_handle_invoke_untyped); - case KO_MEMORY_MAPPING: - return s_invoke_release(root_dir, target_entry, payload, payload_at, syscall_handle_invoke_mapping); default: return _syscall_handler_arch(root_dir, target_entry, payload, payload_at); } |