mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-15 21:01:04 +00:00
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:
committed by
acrnsi-robot
parent
6abe2e950c
commit
974e8c63ea
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user