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