blob: 95fe2e03565a8bcfa3d21cddc25f763b14a826fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//
// Kernel options
//
// XXX: Indirect branch restricted speculation (SPECTRE_IBRS)
// is disabled by default as it can lead to significant
// performance degradation.
//
option SPECTRE_IBRS no // Enable the IBRS CPU feature
option SERIAL_DEBUG yes // Enable kmsg serial logging
option USER_KMSG no // Show kmsg in user consoles
option CPU_SMEP yes // Supervisor Memory Exec Protection
option PANIC_SCR no // Clear screen on panic
// Kernel constants
setval SCHED_NQUEUE 4 // Number of scheduler queues (for MLFQ)
// Console attributes
setval CONSOLE_BG 0x000000
setval CONSOLE_FG 0xB57614
|