mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: use int32_t replace int
Since it's typedef in "include/lib/types.h" Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
@@ -62,7 +62,7 @@ struct hv_timer {
|
||||
*/
|
||||
static inline void initialize_timer(struct hv_timer *timer,
|
||||
timer_handle_t func, void *priv_data,
|
||||
uint64_t fire_tsc, int mode, uint64_t period_in_cycle)
|
||||
uint64_t fire_tsc, int32_t mode, uint64_t period_in_cycle)
|
||||
{
|
||||
if (timer != NULL) {
|
||||
timer->func = func;
|
||||
@@ -96,7 +96,7 @@ static inline bool timer_expired(const struct hv_timer *timer)
|
||||
*
|
||||
* @remark Don't call it in the timer callback function or interrupt content.
|
||||
*/
|
||||
int add_timer(struct hv_timer *timer);
|
||||
int32_t add_timer(struct hv_timer *timer);
|
||||
|
||||
/**
|
||||
* @brief Delete a timer.
|
||||
|
||||
Reference in New Issue
Block a user