diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-05 01:09:24 +0000 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-05 01:09:24 +0000 |
commit | ddc58847e2bcff65a7950f0a866da041e73d3e76 (patch) | |
tree | eee0abdaec7dad39032b07e22702cd46ce28cdd6 /sys/arch/amd64/conf/GENERIC | |
parent | 755615ef0b094ca644ada0f677c49e665120ff37 (diff) |
kernel/amd64: conf: Add CPU_SMEP option
Allow the user to configure if SMEP would be enabled for their build of
the Hyra AMD64 port
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/arch/amd64/conf/GENERIC')
-rw-r--r-- | sys/arch/amd64/conf/GENERIC | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/arch/amd64/conf/GENERIC b/sys/arch/amd64/conf/GENERIC index 69e071a..44ab8b5 100644 --- a/sys/arch/amd64/conf/GENERIC +++ b/sys/arch/amd64/conf/GENERIC @@ -8,6 +8,7 @@ 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 // Kernel constants setval SCHED_NQUEUE 4 // Number of scheduler queues (for MLFQ) |