Stack size

If stack size == 0 use default size
This commit is contained in:
ilobilo 2022-05-05 15:51:31 +04:00 committed by GitHub
parent 52667354a3
commit ce7c561eb0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -383,7 +383,9 @@ FEAT_START
struct limine_stack_size_response *stack_size_response =
ext_mem_alloc(sizeof(struct limine_stack_size_response));
stack_size = stack_size_request->stack_size;
if (stack_size_request->stack_size != 0) {
stack_size = stack_size_request->stack_size;
}
stack_size_request->response = reported_addr(stack_size_response);
FEAT_END