mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-11 06:54:18 +00:00
core: remove PD capability from thread object
This commit is contained in:
parent
496671e523
commit
e00bd3e45b
@ -43,7 +43,6 @@ class Genode::Cpu_thread_component : public Rpc_object<Cpu_thread>,
|
|||||||
|
|
||||||
Rpc_entrypoint &_ep;
|
Rpc_entrypoint &_ep;
|
||||||
Pager_entrypoint &_pager_ep;
|
Pager_entrypoint &_pager_ep;
|
||||||
Capability<Pd_session> _pd;
|
|
||||||
Region_map_component &_address_space_region_map;
|
Region_map_component &_address_space_region_map;
|
||||||
Cpu_session::Weight const _weight;
|
Cpu_session::Weight const _weight;
|
||||||
Session_label const _session_label;
|
Session_label const _session_label;
|
||||||
@ -138,7 +137,7 @@ class Genode::Cpu_thread_component : public Rpc_object<Cpu_thread>,
|
|||||||
unsigned priority,
|
unsigned priority,
|
||||||
addr_t utcb)
|
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()),
|
_address_space_region_map(pd.address_space_region_map()),
|
||||||
_weight(weight),
|
_weight(weight),
|
||||||
_session_label(label), _name(name),
|
_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);
|
void session_exception_sigh(Signal_context_capability);
|
||||||
|
|
||||||
Capability<Pd_session> pd() const { return _pd; }
|
|
||||||
|
|
||||||
void quota(size_t);
|
void quota(size_t);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user