Timer: make ram_quota and stack platform-dependent
This commit is contained in:
parent
2e1bfe5d9b
commit
62d81ae487
|
@ -28,7 +28,8 @@ namespace Timer {
|
||||||
* we donate two pages. One of them is used as stack for the
|
* we donate two pages. One of them is used as stack for the
|
||||||
* timer thread and the other page holds the session meta data.
|
* timer thread and the other page holds the session meta data.
|
||||||
*/
|
*/
|
||||||
Genode::Connection<Session>(session("ram_quota=8K")),
|
Genode::Connection<Session>(session("ram_quota=%zd",
|
||||||
|
sizeof(Genode::addr_t)*2048)),
|
||||||
|
|
||||||
Session_client(cap())
|
Session_client(cap())
|
||||||
{ }
|
{ }
|
||||||
|
|
|
@ -55,7 +55,7 @@ static Fiasco::l4_timeout_s mus_to_timeout(unsigned int mus)
|
||||||
|
|
||||||
namespace Timer {
|
namespace Timer {
|
||||||
|
|
||||||
enum { STACK_SIZE = 4096 };
|
enum { STACK_SIZE = 1024 * sizeof(Genode::addr_t) };
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Timer session
|
* Timer session
|
||||||
|
|
Loading…
Reference in New Issue
Block a user