summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi_timer.h
diff options
context:
space:
mode:
authorjruoho <jruoho@NetBSD.org>2010-07-10 13:08:09 +0000
committerjruoho <jruoho@NetBSD.org>2010-07-10 13:08:09 +0000
commitbd772854cf7b971d5f2da6800a0f5037c4cb9346 (patch)
tree4a84c3842e2c9c30fa8be96d9e747133ebda9846 /sys/dev/acpi/acpi_timer.h
parent9d33b2b330a33981e05405bfbe06fec686aaf005 (diff)
Export the wrapper functions that read from the ACPI PM timer.
Needed for ACPI CPUs. Also KNF, cosmetics. No functional change.
Diffstat (limited to 'sys/dev/acpi/acpi_timer.h')
-rw-r--r--sys/dev/acpi/acpi_timer.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi_timer.h b/sys/dev/acpi/acpi_timer.h
index 1aaabf7b32d..3fda7361a2f 100644
--- a/sys/dev/acpi/acpi_timer.h
+++ b/sys/dev/acpi/acpi_timer.h
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_timer.h,v 1.4 2010/03/05 17:04:26 jruoho Exp $ */
+/* $NetBSD: acpi_timer.h,v 1.5 2010/07/10 13:08:09 jruoho Exp $ */
/*-
* Copyright (c) 2006 Matthias Drochner <drochner@NetBSD.org>
@@ -29,7 +29,9 @@
#ifndef _SYS_DEV_ACPI_ACPI_TIMER_H
#define _SYS_DEV_ACPI_ACPI_TIMER_H
-int acpitimer_init(void);
+int acpitimer_init(struct acpi_softc *);
int acpitimer_detach(void);
+u_int acpitimer_read_safe(struct timecounter *);
+u_int acpitimer_read_fast(struct timecounter *);
#endif /* !_SYS_DEV_ACPI_ACPI_TIMER_H */