From f1a2f395175a70fa82a9acdc82417fb385a06985 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 26 Jan 2005 18:28:40 +0000 Subject: [PATCH] Added arch_rtc_init() function prototype. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11074 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/arch/real_time_clock.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/headers/private/kernel/arch/real_time_clock.h b/headers/private/kernel/arch/real_time_clock.h index 0eaba6b36a..50c179917b 100644 --- a/headers/private/kernel/arch/real_time_clock.h +++ b/headers/private/kernel/arch/real_time_clock.h @@ -1,18 +1,25 @@ -/* -** 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. + */ #ifndef KERNEL_ARCH_REAL_TIME_CLOCK_H #define KERNEL_ARCH_REAL_TIME_CLOCK_H #include +struct kernel_args; +struct real_time_data; + #ifdef __cplusplus extern "C" { #endif +status_t arch_rtc_init(struct kernel_args *args, struct real_time_data *data); + void arch_rtc_set_hw_time(uint32 seconds); // Set HW clock to 'seconds' since 1/1/1970 uint32 arch_rtc_get_hw_time(void);