mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-14 13:18:19 +00:00
core: unify and simplify paging code (Fix #1641)
For most platforms except of NOVA a distinction between pager entrypoint and pager activation is not needed, and only exists due to historical reasons. Moreover, the pager thread's execution path is almost identical between most platforms excluding NOVA, HW, and Fisco.OC. Therefore, this commit unifies the pager loop for the other platforms, and removes the pager activation class.
This commit is contained in:
committed by
Christian Helmuth
parent
a574f73005
commit
eafe5e81e3
@ -45,14 +45,12 @@ namespace Genode {
|
||||
void release() { }
|
||||
};
|
||||
|
||||
class Pager_activation_base { };
|
||||
struct Pager_entrypoint
|
||||
{
|
||||
Pager_entrypoint(Cap_session *, Pager_activation_base *) { }
|
||||
Pager_entrypoint(Cap_session *) { }
|
||||
|
||||
Pager_object *lookup_and_lock(Pager_capability) { return 0; }
|
||||
};
|
||||
template <int FOO> class Pager_activation : public Pager_activation_base { };
|
||||
}
|
||||
|
||||
#endif /* _CORE__INCLUDE__PAGER_H_ */
|
||||
|
Reference in New Issue
Block a user