diff options
| author | Miguel <m.i@gmx.at> | 2018-09-15 17:53:27 +0200 |
|---|---|---|
| committer | Miguel <m.i@gmx.at> | 2018-09-15 17:53:27 +0200 |
| commit | cd50c8d1047832bbb0798b368fde0428ef749422 (patch) | |
| tree | fcacf85f58fefeffa482630f31ef208a8bc9d03a /kernel/kernel.h | |
| parent | 0b010d22dbf845ad030e2e7320f9c5935b2604a4 (diff) | |
improved in-kernel alloc/dealloc. addded colorless logging and struggling with mouse and kb
Diffstat (limited to 'kernel/kernel.h')
| -rw-r--r-- | kernel/kernel.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/kernel/kernel.h b/kernel/kernel.h index 06f96e1..83d89b8 100644 --- a/kernel/kernel.h +++ b/kernel/kernel.h @@ -23,8 +23,10 @@ REFERENCES #define FOOLOS_CONFIG_H #define BIN_INIT "/bin/init" -//#define FOOLOS_LOG_OFF -#define FOOLOS_LOG_COLOR true + +//#define FOOLOS_UNIT_TESTING // Run Unit Tests +//#define FOOLOS_LOG_OFF // Turn off logging +//#define FOOLOS_COLORLESS // Turn off colors in log #define FIFO_MAX_RINGBUFFERS 20 #define MAX_FIFOS 20 @@ -32,7 +34,9 @@ REFERENCES #define MAX_TASKS 10 #define MEM_PRINT_MEMORYMAP -#define KMALLOC_MEM_SIZE 1024*1024*8 // 8MB for in kernel-memory +#define KMALLOC_MEM_SIZE 1024*1024*8 // 8MB for in kernel-memory +#define KMALLOC_BLOCK_SIZE 1024*4 // 4096 per block + #define NUMBER_SPINLOCKS 16 #define SPINLOCK_LOG 0 #define SPINLOCK_ALLOC 1 |
