hv: refine make_reschedule_request in schedule module

add arch_send_reschedule_request, which is called by make_reschedule_request, for X86
arch_send_reschedule_request will call kick_pcpu, arch_send_reschedule_request is arch
public API, which is needed to be implemented by each architecture.

Tracked-On: #8812
Signed-off-by: Xue Bosheng <bosheng.xue@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com>
This commit is contained in:
Xue Bosheng
2025-09-28 19:45:59 +08:00
committed by acrnsi-robot
parent 6abe2e950c
commit 974e8c63ea
3 changed files with 10 additions and 4 deletions

View File

@@ -153,6 +153,7 @@ void wake_thread(struct thread_object *obj);
void yield_current(void);
void schedule(void);
void arch_send_reschedule_request(uint16_t pcpu_id);
void arch_switch_to(void *prev_sp, void *next_sp);
void run_idle_thread(void);
#endif /* SCHEDULE_H */