mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 17:27:53 +00:00
hv: fix host call stack dump issue
As scheduler uses its own stack for now, there is no need to check stack validity, so wipe it out. Tracked-On: #2455 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
{ \
|
||||
asm volatile ("movq %0, %%rsp\n" \
|
||||
"pushq %1\n" \
|
||||
"call *%2\n" \
|
||||
"jmpq *%2\n" \
|
||||
: \
|
||||
: "r"(rsp), "rm"(SP_BOTTOM_MAGIC), "a"(to)); \
|
||||
}
|
||||
|
Reference in New Issue
Block a user