mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-21 08:50:27 +00:00
hv: timer: rename cpu/cpu_id to pcpu_id
timer is physical cpu related. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong>
This commit is contained in:
@@ -34,11 +34,11 @@
|
||||
typedef int (*timer_handle_t)(uint64_t);
|
||||
|
||||
long add_timer(timer_handle_t func, uint64_t data, uint64_t deadline);
|
||||
bool cancel_timer(long handle, int cpu_id);
|
||||
bool cancel_timer(long handle, int pcpu_id);
|
||||
long update_timer(long handle, timer_handle_t func, uint64_t data,
|
||||
uint64_t deadline);
|
||||
|
||||
int timer_softirq(int cpu_id);
|
||||
int timer_softirq(int pcpu_id);
|
||||
void timer_init(void);
|
||||
void timer_cleanup(void);
|
||||
void check_tsc(void);
|
||||
|
Reference in New Issue
Block a user