haiku/headers/private/kernel/arch/real_time_clock.h
Axel Dörfler 2218f79ede Added real-time clock support written by Jeff Ward (for the kernel).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5137 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-24 10:21:10 +00:00

16 lines
468 B
C

/*
** Copyright 2003, Jeff Ward, jeff@r2d2.stcloudstate.edu. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
*/
#ifndef KERNEL_ARCH_REAL_TIME_CLOCK_H
#define KERNEL_ARCH_REAL_TIME_CLOCK_H
#include <kernel.h>
void arch_rtc_set_hw_time(uint32 seconds);
// Set HW clock to 'seconds' since 1/1/1970
uint32 arch_rtc_get_hw_time(void);
// Returns number of seconds since 1/1/1970 as stored in HW
#endif /* KERNEL_ARCH_REAL_TIME_CLOCK_H */