rtc.h 417 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Copyright (C) 2020 Intel Corporation
  4. * Author: Johannes Berg <[email protected]>
  5. */
  6. #ifndef __UM_RTC_H__
  7. #define __UM_RTC_H__
  8. int uml_rtc_start(bool timetravel);
  9. int uml_rtc_enable_alarm(unsigned long long delta_seconds);
  10. void uml_rtc_disable_alarm(void);
  11. void uml_rtc_stop(bool timetravel);
  12. void uml_rtc_send_timetravel_alarm(void);
  13. #endif /* __UM_RTC_H__ */