x86-64: enable smep and smap

This commit is contained in:
Matheus
2026-04-23 15:29:43 -03:00
parent b0542a165c
commit 71dd6d1125
9 changed files with 100 additions and 4 deletions
+2
View File
@@ -114,6 +114,8 @@ static inline uint16_t be_to_cpu_w(uint16_t w) {
}
cpu_t *get_bsp(void);
void arch_cpu_user_access_begin(void);
void arch_cpu_user_access_end(void);
static inline thread_t *current_thread(void) {
thread_t *thread;