mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen/riscv: implement sync_vcpu_execstate()
The scheduler may call this function to force synchronization of given vCPU's state. RISC-V does not support lazy context switching, so nothing is done in sync_vcpu_execstate() and sync_local_execstate(). Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> Acked-by: Jan Beulich <jbeulich@suse.com>
This commit is contained in:
1 parent
18964d1bf5
commit
256479ba56
2 files changed
+10
-10
No files matched your search
@@ -278,6 +278,16 @@ void vcpu_kick(struct vcpu *v)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void sync_local_execstate(void)
|
||||||
|
{
|
||||||
|
/* Nothing to do -- no lazy switching */
|
||||||
|
}
|
||||||
|
|
||||||
|
void sync_vcpu_execstate(struct vcpu *v)
|
||||||
|
{
|
||||||
|
/* Nothing to do -- no lazy switching */
|
||||||
|
}
|
||||||
|
|
||||||
static void __init __maybe_unused build_assertions(void)
|
static void __init __maybe_unused build_assertions(void)
|
||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
|
|||||||
@@ -91,16 +91,6 @@ void continue_running(struct vcpu *same)
|
|||||||
BUG_ON("unimplemented");
|
BUG_ON("unimplemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
void sync_local_execstate(void)
|
|
||||||
{
|
|
||||||
BUG_ON("unimplemented");
|
|
||||||
}
|
|
||||||
|
|
||||||
void sync_vcpu_execstate(struct vcpu *v)
|
|
||||||
{
|
|
||||||
BUG_ON("unimplemented");
|
|
||||||
}
|
|
||||||
|
|
||||||
void startup_cpu_idle_loop(void)
|
void startup_cpu_idle_loop(void)
|
||||||
{
|
{
|
||||||
BUG_ON("unimplemented");
|
BUG_ON("unimplemented");
|
||||||
|
|||||||