Increased kernel stack size by another page for 64-bit

* USB boot now works on x86_64 with PM.
This commit is contained in:
Jérôme Duval 2013-11-04 18:53:49 +01:00
parent 6e157720e1
commit e2183a14c4
1 changed files with 5 additions and 1 deletions

View File

@ -47,7 +47,11 @@
// At least, you then know that the stack overflows in this case :)
/** 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
# define KERNEL_STACK_GUARD_PAGES 1