From 34a883b76775c4c3d9a9678dd249bf3086173c32 Mon Sep 17 00:00:00 2001 From: Stefan Lankes Date: Sun, 18 Jan 2015 20:30:03 +0100 Subject: [PATCH] define default stack size of user-level applications --- include/eduos/config.h.example | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/eduos/config.h.example b/include/eduos/config.h.example index 670b4f5..9f80cf0 100644 --- a/include/eduos/config.h.example +++ b/include/eduos/config.h.example @@ -39,8 +39,9 @@ extern "C" { #define CLOCK_TICK_RATE 1193182 /* 8254 chip's internal oscillator frequency */ #define VIDEO_MEM_ADDR 0xB8000 /* the video memory address */ #define CACHE_LINE 64 -#define KERNEL_STACK_SIZE (8<<10) /* 8 KiB */ -#define KERNEL_SPACE (1 << 30) /* 1 GiB */ +#define KERNEL_STACK_SIZE (8<<10) /* 8 KiB */ +#define DEFAULT_STACK_SIZE (16*1024) /* 16 KiB */ +#define KERNEL_SPACE (1 << 30) /* 1 GiB */ #define BITMAP_SIZE (128<<5) /* for 128 MiB of RAM */ #define KMSG_SIZE (8*1024) #define INT_SYSCALL 0x80