From f2e40399c2935bccda970f5027b5667e10b09748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 26 Jan 2005 18:30:50 +0000 Subject: [PATCH] Moved initialization of the arch depending real_time_data fields into the arch depending section by calling arch_rtc_init(). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11076 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/real_time_clock.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/kernel/core/real_time_clock.c b/src/kernel/core/real_time_clock.c index e1b8faec32..d7ced8bd34 100644 --- a/src/kernel/core/real_time_clock.c +++ b/src/kernel/core/real_time_clock.c @@ -1,5 +1,5 @@ /* - * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. All rights reserved. + * Copyright 2004-2005, Axel Dörfler, axeld@pinc-software.de. All rights reserved. * Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved. * * Distributed under the terms of the MIT License. @@ -107,10 +107,7 @@ rtc_init(kernel_args *args) // we don't panic because it's not kernel critical } - // ToDo: initialization of the system time conversion factor is an x86 thing - // and should be moved there - sRealTimeData->system_time_conversion_factor = args->arch_args.system_time_cv_factor; - + arch_rtc_init(args, sRealTimeData); rtc_hw_to_system(); add_debugger_command("rtc", &rtc_debug, "Set and test the real-time clock");