From 51016670a24092b6b9ecd0f50d1aaa976e780cc1 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Tue, 4 May 2021 23:06:50 +0200 Subject: General fixes (see description) - closes #17 Somehow the Grub conversion (or anything before/between that) seems to have caused a *very* weird memory bug involving the heap/stack/sth overflowing into the video memory which will obviously result in strange undefined behaviour when data is written to the video memory. VERY STRANGE. Well, I need to prepare for my finals (Abitur) so I don't know whether I can fix this issue in the next few days. We'll see... --- kernel/inc/proc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kernel/inc/proc.h') diff --git a/kernel/inc/proc.h b/kernel/inc/proc.h index 000d77d..242a8d4 100644 --- a/kernel/inc/proc.h +++ b/kernel/inc/proc.h @@ -10,7 +10,7 @@ #include #define PROC_QUANTUM 42 // Milliseconds or something // TODO -#define PROC_STACK_SIZE (1 << 20) // 1MiB +#define PROC_STACK_SIZE 0x4000 // 16KiB #define EFLAGS_ALWAYS 0x2 // Always one #define EFLAGS_INTERRUPTS 0x200 // Enable interrupts -- cgit v1.2.3