summaryrefslogtreecommitdiff
path: root/kernel/kernel.h
blob: 44b9b2d1c045f322ecb44c0816bc38ed23ac6af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34

/********************************************
 *  F00l 0S Central Configuration File      *
 ********************************************/

#ifndef FOOLOS_CONFIG_H
#define FOOLOS_CONFIG_H

#include "lib/logger/log.h"

#define KERNEL_VERSION "FoolOS 0.3.2"
#define FIFO_MAX_RINGBUFFERS 20
#define MAX_FIFOS 20
#define MAX_FD 20

#define FOOLOS_CONSOLE_AUTOBREAK    // add newline automatically at end of line

//#define FOOLOS_LOG_OFF				// do not log anything 
#define FOOLOS_LOG_WHITELIST "" //,"elf","ext2",""	// make exceptions for these modules. wmpty string marks the end
#define FOOLOS_LOG_LEVEL FOOLOS_LOG_DEBUG	// minimal severity level to log

#define FOOLOS_CONSOLE		    // otherwise VESA will be used!	
#define FOOLSOS_SHOW_VESAMODES
#define MEM_PRINT_MEMORYMAP
#define LOG_BUF_SIZE 4069
//#define LOG_SYSCALLS 

#define BIN_INIT "/bin/init"

#define KMALLOC_MEM_SIZE  1024*1024*8  // 8MB for in kernel-memory
#define NUMBER_SPINLOCKS 16

#endif