core: make parent EP stack size depend on addr_t

Make the stack size of core's parent entrypoint thread depend on
sizeof(addr_t).

Fixes #1152.
This commit is contained in:
Christian Prochaska 2014-05-21 16:12:00 +02:00 committed by Norman Feske
parent 15e231d733
commit 33f64343e1
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class Core_child : public Child_policy
* Entry point used for serving the parent interface
*/
Rpc_entrypoint _entrypoint;
enum { STACK_SIZE = 8*1024 };
enum { STACK_SIZE = 2 * 1024 * sizeof(Genode::addr_t)};
Service_registry &_local_services;