mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-25 02:41:45 +00:00
dm: add absolute timer mode
Allow specifying the initial expiration in absolute time. Tracked-On: #2319 Signed-off-by: Peter Fang <peter.fang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -19,7 +19,10 @@ acrn_timer_init(struct acrn_timer *timer, void (*cb)(void *), void *param);
|
||||
void
|
||||
acrn_timer_deinit(struct acrn_timer *timer);
|
||||
int32_t
|
||||
acrn_timer_settime(struct acrn_timer *timer, struct itimerspec *new_value);
|
||||
acrn_timer_settime(struct acrn_timer *timer, const struct itimerspec *new_value);
|
||||
int32_t
|
||||
acrn_timer_settime_abs(struct acrn_timer *timer,
|
||||
const struct itimerspec *new_value);
|
||||
int32_t
|
||||
acrn_timer_gettime(struct acrn_timer *timer, struct itimerspec *cur_value);
|
||||
|
||||
|
Reference in New Issue
Block a user