move arm processor resource to generic location
[AROS.git] / arch / all-pc / hpet / gethpetcount.c
blobf171db9b175704ad0b6234933c34fbc4c4c57e8a
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include "hpet_intern.h"
8 /*****************************************************************************
10 NAME */
11 #include <proto/hpet.h>
13 AROS_LH0(ULONG, GetHPETCount,
15 /* SYNOPSIS */
17 /* LOCATION */
18 struct HPETBase *, base, 1, Hpet)
20 /* FUNCTION
21 Return the total number of HPET units in the system.
23 INPUTS
24 None
26 RESULT
27 Total number of HPET units
29 NOTES
31 EXAMPLE
33 BUGS
35 SEE ALSO
37 INTERNALS
39 ******************************************************************************/
41 AROS_LIBFUNC_INIT
43 return base->unitCnt;
45 AROS_LIBFUNC_EXIT