Increased kernel stack size by another page for 64-bit
* USB boot now works on x86_64 with PM.
This commit is contained in:
@@ -47,7 +47,11 @@
|
|||||||
// At least, you then know that the stack overflows in this case :)
|
// At least, you then know that the stack overflows in this case :)
|
||||||
|
|
||||||
/** Size of the kernel stack */
|
/** Size of the kernel stack */
|
||||||
#define KERNEL_STACK_SIZE (B_PAGE_SIZE * 3) // 12 kB
|
#ifdef B_HAIKU_64_BIT
|
||||||
|
#define KERNEL_STACK_SIZE (B_PAGE_SIZE * 4) // 16 kB
|
||||||
|
#else
|
||||||
|
#define KERNEL_STACK_SIZE (B_PAGE_SIZE * 3) // 12 kB
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef DEBUG_KERNEL_STACKS
|
#ifdef DEBUG_KERNEL_STACKS
|
||||||
# define KERNEL_STACK_GUARD_PAGES 1
|
# define KERNEL_STACK_GUARD_PAGES 1
|
||||||
|
|||||||
Reference in New Issue
Block a user