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 #define GDT_TSS 0x28
/* Size of kernel stack */ /* Size of kernel stack */
#define KSTACK_SIZE (32 * 1024) #define KSTACK_SIZE (1024 * 1024 * 4)
/* /*
* 64-bit GDT structure. For more info see: * 64-bit GDT structure. For more info see:

View File

@@ -138,7 +138,7 @@ static void sys_device_init (void) {
break; 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); uint8_t* unpack_buffer = malloc (unpack_buffer_size);
LZ4F_decompressionContext_t dctx; LZ4F_decompressionContext_t dctx;

View File

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

View File

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

View File

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