NOVA: allocate stack size depending on word size
This commit is contained in:
parent
f1fa55e804
commit
2f84fd0434
|
@ -23,7 +23,7 @@
|
|||
using namespace Genode;
|
||||
using namespace Nova;
|
||||
|
||||
enum { PF_HANDLER_STACK_SIZE = 4096 };
|
||||
enum { PF_HANDLER_STACK_SIZE = sizeof(addr_t) * 1024 };
|
||||
|
||||
void Pager_object::_page_fault_handler()
|
||||
{
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
namespace Timer {
|
||||
|
||||
enum { STACK_SIZE = 4096 };
|
||||
enum { STACK_SIZE = sizeof(Genode::addr_t) * 1024 };
|
||||
|
||||
class Wake_up_alarm : public Genode::Alarm
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue