xref: /haiku/src/system/kernel/arch/arm64/arch_real_time_clock.cpp (revision 384d4e935c3f8455bdbb3ab4b0e34b10157f3840)
1 /*
2  * Copyright 2019 Haiku, Inc. All Rights Reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #include <arch/real_time_clock.h>
6 
7 #include <real_time_clock.h>
8 #include <real_time_data.h>
9 #include <smp.h>
10 
11 
12 status_t
arch_rtc_init(kernel_args * args,struct real_time_data * data)13 arch_rtc_init(kernel_args *args, struct real_time_data *data)
14 {
15 	return B_OK;
16 }
17 
18 
19 uint32
arch_rtc_get_hw_time(void)20 arch_rtc_get_hw_time(void)
21 {
22 	return 0;
23 }
24 
25 
26 void
arch_rtc_set_hw_time(uint32 seconds)27 arch_rtc_set_hw_time(uint32 seconds)
28 {
29 }
30 
31 
32 void
arch_rtc_set_system_time_offset(struct real_time_data * data,bigtime_t offset)33 arch_rtc_set_system_time_offset(struct real_time_data *data, bigtime_t offset)
34 {
35 }
36 
37 
38 bigtime_t
arch_rtc_get_system_time_offset(struct real_time_data * data)39 arch_rtc_get_system_time_offset(struct real_time_data *data)
40 {
41 	return 0;
42 }
43