xref: /haiku/src/system/boot/platform/openfirmware/real_time_clock.h (revision 02354704729d38c3b078c696adc1bbbd33cbcf72)
1 /*
2  * Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>.
3  * Copyright 2010, Andreas Färber <andreas.faerber@web.de>
4  * All rights reserved. Distributed under the terms of the MIT License.
5  */
6 #ifndef OPENFIRMWARE_REAL_TIME_CLOCK_H
7 #define OPENFIRMWARE_REAL_TIME_CLOCK_H
8 
9 
10 #include <SupportDefs.h>
11 
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 status_t init_real_time_clock(void);
18 bigtime_t real_time_clock_usecs(void);
19 
20 #ifdef __cplusplus
21 }   // extern "C"
22 #endif
23 
24 #endif	/* OPENFIRMWARE_REAL_TIME_CLOCK_H */
25