summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2020-07-08 09:20:29 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2020-07-08 09:20:29 +0000
commit33ce6e8cb8e18ca6c1483abc55156c4ba092e6c9 (patch)
treea35f3fe2e15cc0424be655582556b96313ebfe80 /sys/arch/sparc64/include
parentad6e3f092baf0748207a570c75cda83949a13b6b (diff)
Userland timecounter implementation for sparc64.
ok deraadt@, pirofti@
Diffstat (limited to 'sys/arch/sparc64/include')
-rw-r--r--sys/arch/sparc64/include/timetc.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/sparc64/include/timetc.h b/sys/arch/sparc64/include/timetc.h
index ec63af16d18..ac680ab4729 100644
--- a/sys/arch/sparc64/include/timetc.h
+++ b/sys/arch/sparc64/include/timetc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: timetc.h,v 1.1 2020/07/06 13:33:08 pirofti Exp $ */
+/* $OpenBSD: timetc.h,v 1.2 2020/07/08 09:20:28 kettenis Exp $ */
/*
* Copyright (c) 2020 Paul Irofti <paul@irofti.net>
*
@@ -18,6 +18,7 @@
#ifndef _MACHINE_TIMETC_H_
#define _MACHINE_TIMETC_H_
-#define TC_LAST 0
+#define TC_TICK 1
+#define TC_SYS_TICK 2
#endif /* _MACHINE_TIMETC_H_ */