use the locations specified in the bcm2708_boot header
[AROS.git] / rom / battclock / resetbattclock.c
blobb2ffdd3f566145d6a28be63ec168eedbfabd7c58
1 /*
2 Copyright © 1995-2009, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: ResetBattClock()
6 Lang: english
7 */
8 #include "battclock_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <proto/battclock.h>
15 AROS_LH0(void, ResetBattClock,
17 /* SYNOPSIS */
18 /* void */
20 /* LOCATION */
21 APTR, BattClockBase, 1, Battclock)
23 /* FUNCTION
24 Reset the system battery-backed-up clock. This will reset the clock
25 back to 0 seconds (or midnight, 1st Jan 1978).
27 INPUTS
28 None.
30 RESULT
31 The clock will be reset.
33 NOTES
34 This function may do nothing when the battery backed up clock either
35 doesn't exist, or may not be writable by the operating system.
37 EXAMPLE
39 BUGS
41 SEE ALSO
42 ReadBattClock(), WriteBattClock()
44 INTERNALS
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 WriteBattClock(0);
52 AROS_LIBFUNC_EXIT
53 } /* ResetBattClock */