mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 06:58:22 +00:00
x86-64: enable smep and smap
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user