Kernel: Increase kernel thread stack size

HACK HACK HACK

This is just to make banan-os boot on one razer laptop where AML
triggers a stack overflow :)
This commit is contained in:
Bananymous 2025-07-17 21:21:14 +03:00
parent 793cca423b
commit d5301508ec
1 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,9 @@ namespace Kernel
Terminated, Terminated,
}; };
static constexpr size_t kernel_stack_size { PAGE_SIZE * 8 }; // FIXME: kernel stack does NOT have to be this big, but my recursive AML interpreter
// stack overflows on some machines with 8 page stack
static constexpr size_t kernel_stack_size { PAGE_SIZE * 16 };
static constexpr size_t userspace_stack_size { PAGE_SIZE * 128 }; static constexpr size_t userspace_stack_size { PAGE_SIZE * 128 };
public: public: