Changes in kernel/arch/amd64/src/syscall.c [9d58539:811770c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/syscall.c
r9d58539 r811770c 41 41 42 42 #include <print.h> 43 #include <arch/cpu.h>44 43 45 44 extern void syscall_entry(void); … … 49 48 { 50 49 /* Enable SYSCALL/SYSRET */ 51 set_efer_flag(AMD_SCE_FLAG);50 write_msr(AMD_MSR_EFER, read_msr(AMD_MSR_EFER) | AMD_SCE); 52 51 53 52 /* Setup syscall entry address */
Note:
See TracChangeset
for help on using the changeset viewer.