1/* 2 * Copyright 2009 Jonas Sundström, jonas@kirilla.com 3 * Copyright 2007 François Revol, revol@free.fr. 4 * Copyright 2006 Ingo Weinhold bonefish@cs.tu-berlin.de. All rights reserved. 5 * Copyright 2003 Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. 6 * 7 * Distributed under the terms of the MIT License. 8 */ 9 10 11#include <arch/real_time_clock.h> 12 13 14status_t 15arch_rtc_init(kernel_args* args, struct real_time_data* data) 16{ 17#warning IMPLEMENT arch_rtc_init 18 return B_ERROR; 19} 20 21 22uint32 23arch_rtc_get_hw_time(void) 24{ 25#warning IMPLEMENT arch_rtc_get_hw_time 26 return 0; 27} 28 29 30void 31arch_rtc_set_hw_time(uint32 seconds) 32{ 33#warning IMPLEMENT arch_rtc_set_hw_time 34} 35 36 37void 38arch_rtc_set_system_time_offset(struct real_time_data* data, bigtime_t offset) 39{ 40#warning IMPLEMENT arch_rtc_set_system_time_offset 41} 42 43 44bigtime_t 45arch_rtc_get_system_time_offset(struct real_time_data* data) 46{ 47#warning IMPLEMENT arch_rtc_get_system_time_offset 48 return 0; 49} 50 51