mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
HV: Reshuffle start_cpus and start_cpu
This patch makes the following changes: - Add one parameter 'mask' to start_cpus for later use. - Set cpu state as DEAD instead of dead loop when fail to start cpu. - Panic when there are any failures when start cpus in init_cpu_post and host_enter_s3. Tracked-On: #2991 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -259,7 +259,7 @@ void trampoline_start16(void);
|
||||
void load_cpu_state_data(void);
|
||||
void init_cpu_pre(uint16_t pcpu_id_args);
|
||||
void init_cpu_post(uint16_t pcpu_id);
|
||||
void start_cpus(void);
|
||||
bool start_cpus(uint64_t mask);
|
||||
void stop_cpus(void);
|
||||
void wait_sync_change(uint64_t *sync, uint64_t wake_sync);
|
||||
|
||||
|
Reference in New Issue
Block a user