diff --git a/src/kernel/core/arch/ppc/arch_real_time_clock.c b/src/kernel/core/arch/ppc/arch_real_time_clock.c index 9a040fcda7..ec114b1a04 100644 --- a/src/kernel/core/arch/ppc/arch_real_time_clock.c +++ b/src/kernel/core/arch/ppc/arch_real_time_clock.c @@ -1,10 +1,19 @@ -/* -** Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. -** Distributed under the terms of the OpenBeOS License. -*/ +/* + * Copyright 2005, Axel Dörfler, axeld@pinc-software.de + * Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. + * + * Distributed under the terms of the MIT License. + */ #include +#include + + +status_t +arch_rtc_init(kernel_args *args, struct real_time_data *data) +{ +} uint32 diff --git a/src/kernel/core/arch/x86/arch_real_time_clock.c b/src/kernel/core/arch/x86/arch_real_time_clock.c index 9b52b059dc..e618ff911a 100644 --- a/src/kernel/core/arch/x86/arch_real_time_clock.c +++ b/src/kernel/core/arch/x86/arch_real_time_clock.c @@ -1,7 +1,9 @@ -/* -** Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. -** Distributed under the terms of the OpenBeOS License. -*/ +/* + * Copyright 2005, Axel Dörfler, axeld@pinc-software.de + * Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. + * + * Distributed under the terms of the MIT License. + */ #include @@ -258,6 +260,17 @@ secs_to_cmos(uint32 seconds, cmos_time *cmos) } +// #pragma mark - + + +status_t +arch_rtc_init(struct kernel_args *args, struct real_time_data *data) +{ + data->system_time_conversion_factor = args->arch_args.system_time_cv_factor; + return B_OK; +} + + uint32 arch_rtc_get_hw_time(void) {