diff options
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); } |