summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/include/bus_common.h
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-02-13 16:16:36 +0000
committertmm <tmm@FreeBSD.org>2002-02-13 16:16:36 +0000
commit05608361069b84ec575e02132e2dcb16bda447a4 (patch)
treebc205fb3aa5129a5e21499deede9f46d75c7b075 /sys/sparc64/include/bus_common.h
parentb7f14ec97a60cdf3c0feaf274337b97796914ccb (diff)
downloadFreeBSD-src-05608361069b84ec575e02132e2dcb16bda447a4.zip
FreeBSD-src-05608361069b84ec575e02132e2dcb16bda447a4.tar.gz
Add support for the counter-timer which is included in the Sun U2S and
U2P bridges as a time counter.
Diffstat (limited to 'sys/sparc64/include/bus_common.h')
-rw-r--r--sys/sparc64/include/bus_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/sparc64/include/bus_common.h b/sys/sparc64/include/bus_common.h
index 851cb72..8d74ead 100644
--- a/sys/sparc64/include/bus_common.h
+++ b/sys/sparc64/include/bus_common.h
@@ -66,4 +66,8 @@
#define INTPRI(x) ((x) & 0x7)
#define INTINO(x) ((x) & INTMAP_INO)
+/* counter-timer support. */
+void sparc64_counter_init(bus_space_tag_t tag, bus_space_handle_t handle,
+ bus_addr_t offset);
+
#endif /* !_MACHINE_BUS_COMMON_H_ */
OpenPOWER on IntegriCloud