xref: /openbmc/linux/arch/um/drivers/rtc.h (revision 2fa5ebe3)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * Copyright (C) 2020 Intel Corporation
4  * Author: Johannes Berg <johannes@sipsolutions.net>
5  */
6 #ifndef __UM_RTC_H__
7 #define __UM_RTC_H__
8 
9 int uml_rtc_start(bool timetravel);
10 int uml_rtc_enable_alarm(unsigned long long delta_seconds);
11 void uml_rtc_disable_alarm(void);
12 void uml_rtc_stop(bool timetravel);
13 void uml_rtc_send_timetravel_alarm(void);
14 
15 #endif /* __UM_RTC_H__ */
16