PatchworkOS  19e446b
A non-POSIX operating system.
Loading...
Searching...
No Matches
config.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CONFIG_INTERRUPT_STACK_PAGES   1
 Interrupt stack configuration.
 
#define CONFIG_MAX_KERNEL_STACK_PAGES   100
 Kernel stack configuration.
 
#define CONFIG_MAX_USER_STACK_PAGES   100
 User stack configuration.
 
#define CONFIG_MAX_FD   64
 Maximum file descriptor configuration.
 
#define CONFIG_LOG_SERIAL   true
 Serial logging configuration.
 
#define CONFIG_MAX_NOTES   8
 Maximum note queue configuration.
 
#define CONFIG_MAX_ARGC   512
 Maximum argument vector configuration.
 
#define CONFIG_MIN_TIMER_TIMEOUT   ((CLOCKS_PER_SEC) / 10000)
 Minimum timer timeout configuration.
 
#define CONFIG_TIME_SLICE   ((CLOCKS_PER_MS) * 10)
 Time slice configuration.
 
#define CONFIG_CACHE_HOT_THRESHOLD   ((CLOCKS_PER_MS) * 5)
 Cache hot threshold configuration.
 
#define CONFIG_MUTEX_MAX_SLOW_SPIN   1000
 Maximum mutex slow spin configuration.
 
#define CONFIG_SCREEN_MAX_LINES   256
 Maximum screen lines configuration.
 
#define CONFIG_PMM_BITMAP_MAX_ADDR   0x4000000ULL
 Maximum bitmap allocator address.
 
#define CONFIG_PROCESS_REAPER_INTERVAL   (CLOCKS_PER_SEC * 1)
 Process reaper interval configuration.
 
#define CONFIG_MAX_ENV_VARS   4096
 Maximum environment variables configuration.
 
#define CONFIG_KLOG_SIZE   0x4000
 
#define CONFIG_PERCPU_SIZE   0x10000
 Per-CPU data size configuration.
 
#define CONFIG_MAX_WAIT_QUEUES   64
 Maximum wait queues configuration.
 
#define CONFIG_MAX_RINGS   8
 Maximum rings configuration.
 
#define CONFIG_MAX_RINGS_PAGES   1024
 Maximum async ring pages configuration.