kern

view src/config.h @ 54:4eaecb14fe31

bringing the task switching thing into shape with proper per-process kernel stacks and shit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 14 Aug 2011 16:57:23 +0300
parents fa65b4f45366
children
line source
1 #ifndef _CONFIG_H_
2 #define _CONFIG_H_
4 /* frequency of generated timer ticks in hertz */
5 #define TICK_FREQ_HZ 250
7 #define TIMESLICE 100
8 #define TIMESLICE_TICKS (TIMESLICE * TICK_FREQ_HZ / 1000)
10 /* allow automatic user stack growth by at most 1024 pages at a time (4mb) */
11 #define USTACK_MAXGROW 1024
13 /* per-process kernel stack size (2 pages) */
14 #define KERN_STACK_SIZE 8192
16 #endif /* _CONFIG_H_ */