we do not need executable stacks anymore :-)

This commit is contained in:
Steffen Vogel 2014-02-18 13:08:53 +01:00
parent 3203d53a83
commit 385d14ef67

View file

@ -104,12 +104,7 @@ uint32_t get_highest_priority(void)
*/
static void* create_stack(void)
{
/*
* TODO: our stack should be non-executable!
* We need this atm because nested functions in page64.c
* are using trampolines on the stack.
*/
return palloc(KERNEL_STACK_SIZE, MAP_CODE);
return palloc(KERNEL_STACK_SIZE, MAP_KERNEL_SPACE);
}
/** @brief Delete stack of a finished task