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
9int uml_rtc_start(bool timetravel);
10int uml_rtc_enable_alarm(unsigned long long delta_seconds);
11void uml_rtc_disable_alarm(void);
12void uml_rtc_stop(bool timetravel);
13void uml_rtc_send_timetravel_alarm(void);
14
15#endif /* __UM_RTC_H__ */
16

source code of linux/arch/um/drivers/rtc.h