Fix random crashes at boot

This commit is contained in:
2026-03-26 18:41:51 +01:00
parent bcdd769967
commit 422565abb6
5 changed files with 5 additions and 2 deletions

View File

@@ -12,7 +12,7 @@
#define GDT_TSS 0x28
/* Size of kernel stack */
#define KSTACK_SIZE (32 * 1024)
#define KSTACK_SIZE (1024 * 1024 * 4)
/*
* 64-bit GDT structure. For more info see:

View File

@@ -138,7 +138,7 @@ static void sys_device_init (void) {
break;
}
const size_t unpack_buffer_size = 1024 * 1024 * 10;
const size_t unpack_buffer_size = 1024 * 1024 * 15;
uint8_t* unpack_buffer = malloc (unpack_buffer_size);
LZ4F_decompressionContext_t dctx;

View File

@@ -1,3 +1,4 @@
#pragma clang optimize off
/*
LZ4 - Fast LZ compression algorithm
Copyright (c) Yann Collet. All rights reserved.

View File

@@ -1,3 +1,4 @@
#pragma clang optimize off
/*
* LZ4 auto-framing library
* Copyright (c) Yann Collet. All rights reserved.

View File

@@ -1,3 +1,4 @@
#pragma clang optimize off
/*
LZ4 HC - High Compression Mode of LZ4
Copyright (c) Yann Collet. All rights reserved.