summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/conf
AgeCommit message (Collapse)Author
48 hourskernel/amd64: conf: Add CPU_UMIP config optionIan Moffett
This commit adds the CPU_UMIP kconf(9) option to allow the user to configure whether or not the kernel should enable the CR4.UMIP bit. It is recommended to keep this to "yes" as user applications should not be able to execute the SGDT, SIDT, SLDT, SMSW or STR instructions at all for security reasons. Signed-off-by: Ian Moffett <ian@osmora.org>
48 hourskernel/amd64: conf: Add boolean USER_TSC optionIan Moffett
Introduce the USER_TSC kernel config option to control whether or not the 'rdtsc' instruction should be accessible in a user context. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-07-19kernel: kconf: Seperate shared options to sys/confIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-07-13kernel/amd64: Add I8042_POLL kconf(9) optionIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-07-13kernel: Make panic screen configurableIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-07-05kernel/amd64: conf: Add CPU_SMEP optionIan Moffett
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>
2025-06-23kernel: conf: Default to console fg of #B57614Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel: drivers: Add DRIVER_DEFER() macroIan Moffett
- Add DRIVER_DEFER() macro to schedule initialization for lower priority drivers - Expose `proc0' to the rest of the kernel Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kernel: syslog: Handle userspace kmsg loggingIan Moffett
- Add USER_KMSG option to configure if kernel messages should be logged in user contexts - Add syslog_silence() to silence kernel messages in user contexts if USER_KMSG is "yes" Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-28kconf: GENERIC: Add additional documentationIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-05-19kernel/amd64: conf: Default to a nice green colorIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-04-17kernel: cons: Default theme to amber shadeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-07kernel/amd64: Add serial debug loggingIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-08kernel/amd64: Prepare for schedulerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-07kernel: Add __cacheline_aligned macroIan Moffett
This commit introduces a "__cacheline_aligned" macro which aligns data by the cache line size (COHERENCY_UNIT bytes). This is useful for heavily contended locks. Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel/amd64: spectre: Disable IBRS by defaultIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04kernel/amd64: Support IBRSIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-04project: Initial commitIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>