Added arch_rtc_init() function prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11074 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,18 +1,25 @@
|
|||||||
/*
|
/*
|
||||||
** Copyright 2003, Jeff Ward, [email protected]. All rights reserved.
|
* Copyright 2005, Axel Dörfler, [email protected]
|
||||||
** Distributed under the terms of the OpenBeOS License.
|
* Copyright 2003, Jeff Ward, [email protected]. All rights reserved.
|
||||||
*/
|
*
|
||||||
|
* Distributed under the terms of the MIT License.
|
||||||
|
*/
|
||||||
#ifndef KERNEL_ARCH_REAL_TIME_CLOCK_H
|
#ifndef KERNEL_ARCH_REAL_TIME_CLOCK_H
|
||||||
#define KERNEL_ARCH_REAL_TIME_CLOCK_H
|
#define KERNEL_ARCH_REAL_TIME_CLOCK_H
|
||||||
|
|
||||||
|
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
|
|
||||||
|
struct kernel_args;
|
||||||
|
struct real_time_data;
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
status_t arch_rtc_init(struct kernel_args *args, struct real_time_data *data);
|
||||||
|
|
||||||
void arch_rtc_set_hw_time(uint32 seconds);
|
void arch_rtc_set_hw_time(uint32 seconds);
|
||||||
// Set HW clock to 'seconds' since 1/1/1970
|
// Set HW clock to 'seconds' since 1/1/1970
|
||||||
uint32 arch_rtc_get_hw_time(void);
|
uint32 arch_rtc_get_hw_time(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user