core: remove PD capability from thread object

This commit is contained in:
Christian Helmuth 2017-05-26 15:40:30 +02:00
parent 496671e523
commit e00bd3e45b

View File

@ -43,7 +43,6 @@ class Genode::Cpu_thread_component : public Rpc_object<Cpu_thread>,
Rpc_entrypoint &_ep;
Pager_entrypoint &_pager_ep;
Capability<Pd_session> _pd;
Region_map_component &_address_space_region_map;
Cpu_session::Weight const _weight;
Session_label const _session_label;
@ -138,7 +137,7 @@ class Genode::Cpu_thread_component : public Rpc_object<Cpu_thread>,
unsigned priority,
addr_t utcb)
:
_ep(ep), _pager_ep(pager_ep), _pd(pd.cap()),
_ep(ep), _pager_ep(pager_ep),
_address_space_region_map(pd.address_space_region_map()),
_weight(weight),
_session_label(label), _name(name),
@ -202,8 +201,6 @@ class Genode::Cpu_thread_component : public Rpc_object<Cpu_thread>,
*/
void session_exception_sigh(Signal_context_capability);
Capability<Pd_session> pd() const { return _pd; }
void quota(size_t);
/*