xref: /haiku/src/system/kernel/arch/arm64/arch_real_time_clock.cpp (revision 15fb7d88e971c4d6c787c6a3a5c159afb1ebf77b)
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
13 arch_rtc_init(kernel_args *args, struct real_time_data *data)
14 {
15 	return B_OK;
16 }
17 
18 
19 uint32
20 arch_rtc_get_hw_time(void)
21 {
22 	return 0;
23 }
24 
25 
26 void
27 arch_rtc_set_hw_time(uint32 seconds)
28 {
29 }
30 
31 
32 void
33 arch_rtc_set_system_time_offset(struct real_time_data *data, bigtime_t offset)
34 {
35 }
36 
37 
38 bigtime_t
39 arch_rtc_get_system_time_offset(struct real_time_data *data)
40 {
41 	return 0;
42 }
43