kern

view src/config.h @ 57:437360696883

I think we're done for now. two processes seem to be scheduled and switched just fine, fork seems to work (NO CoW YET!)
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 16 Aug 2011 03:26:53 +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_ */