summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf/GENERIC
blob: e407fa9b927eb6dce878e7e47ffd44a204e16fc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//
// 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
option I8042_POLL   yes  // Use polling for the i8042

// Kernel constants
setval SCHED_NQUEUE 4    // Number of scheduler queues (for MLFQ)

// Console attributes
setval CONSOLE_BG 0x000000
setval CONSOLE_FG 0xB57614