Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/syscall.c

    r9d58539 r811770c  
    4141
    4242#include <print.h>
    43 #include <arch/cpu.h>
    4443
    4544extern void syscall_entry(void);
     
    4948{
    5049        /* Enable SYSCALL/SYSRET */
    51         set_efer_flag(AMD_SCE_FLAG);
     50        write_msr(AMD_MSR_EFER, read_msr(AMD_MSR_EFER) | AMD_SCE);
    5251
    5352        /* Setup syscall entry address */
Note: See TracChangeset for help on using the changeset viewer.