Implemented the new profiler
[akaros.git] / kern / include / kstack.h
1 #pragma once
2
3 #ifdef CONFIG_LARGE_KSTACKS
4 #define KSTKSHIFT       (PGSHIFT + 1)           /* KSTKSIZE == 2 * PGSIZE */
5 #else
6 #define KSTKSHIFT       (PGSHIFT)                       /* KSTKSIZE == PGSIZE */
7 #endif
8
9 #define KSTKSIZE        (1 << KSTKSHIFT)        /* size of a static kernel stack */