mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 07:35:31 +00:00
change pcpu_sync_sleep to wait_sync_change
pcpu_sync_sleep monitor "uint64_t sync" change to "1UL << mask_bit", which is not very clear to take use of it. change it to wait_sync_change, means monitor "uint64_t sync" change to "wake_sync", make the function clear to use. And expose it for the usage of the following patches. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -331,8 +331,9 @@ bool cpu_has_cap(uint32_t bit);
|
||||
void load_cpu_state_data(void);
|
||||
void bsp_boot_init(void);
|
||||
void cpu_secondary_init(void);
|
||||
void start_cpus(void);
|
||||
void stop_cpus(void);
|
||||
void start_cpus();
|
||||
void stop_cpus();
|
||||
void wait_sync_change(uint64_t *sync, uint64_t wake_sync);
|
||||
|
||||
/* Read control register */
|
||||
#define CPU_CR_READ(cr, result_ptr) \
|
||||
|
||||
Reference in New Issue
Block a user