x86_64/vspace: made init_syscall_msrs not bootcode
`init_syscall_msrs()` is also called by `vcpu_restore_host_msrs()` so should not be BOOT_CODE. Signed-off-by: Bill Nguyen <bill.nguyen@unsw.edu.au>
This commit is contained in:
parent
3527859e72
commit
b050e4b78d
1 changed files with 1 additions and 1 deletions
|
|
@ -327,7 +327,7 @@ BOOT_CODE void init_tss(tss_t *tss)
|
|||
sizeof(x86KSGlobalState[CURRENT_CPU_INDEX()].x86KStss.io_map));
|
||||
}
|
||||
|
||||
BOOT_CODE void init_syscall_msrs(void)
|
||||
void init_syscall_msrs(void)
|
||||
{
|
||||
x86_wrmsr(IA32_LSTAR_MSR, (uint64_t)&handle_fastsyscall);
|
||||
// mask bit 9 in the kernel (which is the interrupt enable bit)
|
||||
|
|
|
|||
Loading…
Reference in a new issue