X-Git-Url: https://rtime.felk.cvut.cz/gitweb/l4.git/blobdiff_plain/d2904c5e14a2d9c6585ce5e2ff536584c91aeb99..72f8c5b742f7e0c579f3025c1e736ab5011c10ee:/kernel/fiasco/src/kern/ipc_gate.cpp diff --git a/kernel/fiasco/src/kern/ipc_gate.cpp b/kernel/fiasco/src/kern/ipc_gate.cpp index 14a190012..e3b707d8b 100644 --- a/kernel/fiasco/src/kern/ipc_gate.cpp +++ b/kernel/fiasco/src/kern/ipc_gate.cpp @@ -4,7 +4,7 @@ INTERFACE: #include "kobject_helper.h" #include "ref_ptr.h" #include "slab_cache_anon.h" -#include "thread.h" +#include "thread_object.h" class Ram_quota; @@ -201,7 +201,7 @@ Ipc_gate_ctl::bind_thread(L4_obj_ref, Mword, Syscall_frame *f, Utcb const *in, U register Space *const c_space = c_thread->space(); register Obj_space *const o_space = c_space->obj_space(); unsigned char t_rights = 0; - Thread *t = Kobject::dcast(o_space->lookup_local(bind_thread.obj_index(), &t_rights)); + Thread *t = Kobject::dcast(o_space->lookup_local(bind_thread.obj_index(), &t_rights)); if (!(t_rights & L4_fpage::CS)) return commit_result(-L4_err::EPerm); @@ -335,7 +335,7 @@ Ipc_gate::invoke(L4_obj_ref /*self*/, Mword rights, Syscall_frame *f, Utcb *utcb LOG_TRACE("IPC Gate invoke", "gate", current(), __fmt_ipc_gate_invoke, Log_ipc_gate_invoke *l = tbe->payload(); l->gate_dbg_id = dbg_info()->dbg_id(); - l->thread_dbg_id = _thread->dbg_id(); + l->thread_dbg_id = _thread->dbg_info()->dbg_id(); l->label = _id | rights; );