123eafdafSFrançois Revol /*
223eafdafSFrançois Revol * Copyright 2007, François Revol, revol@free.fr.
323eafdafSFrançois Revol * Copyright 2006, Ingo Weinhold <bonefish@cs.tu-berlin.de>. All rights reserved.
423eafdafSFrançois Revol * Copyright 2005-2007, Axel Dörfler, axeld@pinc-software.de
523eafdafSFrançois Revol * Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved.
623eafdafSFrançois Revol *
723eafdafSFrançois Revol * Distributed under the terms of the MIT License.
823eafdafSFrançois Revol */
923eafdafSFrançois Revol
10258d4ef9SAlexander von Gluck IV
1123eafdafSFrançois Revol #include <arch/real_time_clock.h>
1223eafdafSFrançois Revol
1323eafdafSFrançois Revol #include <real_time_clock.h>
1423eafdafSFrançois Revol #include <real_time_data.h>
1523eafdafSFrançois Revol #include <smp.h>
1623eafdafSFrançois Revol
17258d4ef9SAlexander von Gluck IV
1823eafdafSFrançois Revol status_t
arch_rtc_init(kernel_args * args,struct real_time_data * data)1923eafdafSFrançois Revol arch_rtc_init(kernel_args *args, struct real_time_data *data)
2023eafdafSFrançois Revol {
21*3896dbcbSDavid Karoly return B_NOT_SUPPORTED;
2223eafdafSFrançois Revol }
2323eafdafSFrançois Revol
2423eafdafSFrançois Revol
2523eafdafSFrançois Revol uint32
arch_rtc_get_hw_time(void)2623eafdafSFrançois Revol arch_rtc_get_hw_time(void)
2723eafdafSFrançois Revol {
28*3896dbcbSDavid Karoly return 0;
2923eafdafSFrançois Revol }
3023eafdafSFrançois Revol
3123eafdafSFrançois Revol
3223eafdafSFrançois Revol void
arch_rtc_set_hw_time(uint32 seconds)3323eafdafSFrançois Revol arch_rtc_set_hw_time(uint32 seconds)
3423eafdafSFrançois Revol {
3523eafdafSFrançois Revol }
3623eafdafSFrançois Revol
3723eafdafSFrançois Revol
3823eafdafSFrançois Revol void
arch_rtc_set_system_time_offset(struct real_time_data * data,bigtime_t offset)3923eafdafSFrançois Revol arch_rtc_set_system_time_offset(struct real_time_data *data, bigtime_t offset)
4023eafdafSFrançois Revol {
4123eafdafSFrançois Revol }
4223eafdafSFrançois Revol
4323eafdafSFrançois Revol
4423eafdafSFrançois Revol bigtime_t
arch_rtc_get_system_time_offset(struct real_time_data * data)4523eafdafSFrançois Revol arch_rtc_get_system_time_offset(struct real_time_data *data)
4623eafdafSFrançois Revol {
4723eafdafSFrançois Revol return 0;
4823eafdafSFrançois Revol }
49