mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-01 00:47:23 +00:00
replace arch_switch_to with pure asm code instead of inline asm
after compile, the compiled code could change rsp, so use pure asm code to avoid such problem which will cause schedule switch failure. Tracked-On: #2410 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -170,7 +170,7 @@ C_SRCS += arch/x86/pm.c
|
||||
S_SRCS += arch/x86/wakeup.S
|
||||
C_SRCS += arch/x86/static_checks.c
|
||||
C_SRCS += arch/x86/trampoline.c
|
||||
C_SRCS += arch/x86/sched.c
|
||||
S_SRCS += arch/x86/sched.S
|
||||
C_SRCS += arch/x86/guest/vcpuid.c
|
||||
C_SRCS += arch/x86/guest/vcpu.c
|
||||
C_SRCS += arch/x86/guest/vm.c
|
||||
|
Reference in New Issue
Block a user