You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
474 B
C

#ifndef H_KERNEL
#define H_KERNEL
#define true 1
#define false 0
#define PROCESS_COUNT 8 // number of concurrent processes
#define NUM_BINARIES 4 // number of binaries loaded simultaneously
// scheduler settings
#define TIME_SLICE_LEN 10 // number of cpu time ticks per slice
// set size of allocated stack for user processes
#define USER_STACK_SIZE (1 << 12)
// init function
extern __attribute__((__noreturn__)) void init();
#endif