Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/include Introduce getstickcmpr() function
details: https://anonhg.NetBSD.org/src/rev/f5c831142618
branches: trunk
changeset: 839172:f5c831142618
user: palle <palle%NetBSD.org@localhost>
date: Fri Feb 08 20:09:24 2019 +0000
description:
Introduce getstickcmpr() function
diffstat:
sys/arch/sparc64/include/psl.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r e7e8e433909f -r f5c831142618 sys/arch/sparc64/include/psl.h
--- a/sys/arch/sparc64/include/psl.h Fri Feb 08 19:55:40 2019 +0000
+++ b/sys/arch/sparc64/include/psl.h Fri Feb 08 20:09:24 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psl.h,v 1.57 2016/05/18 07:59:30 nakayama Exp $ */
+/* $NetBSD: psl.h,v 1.58 2019/02/08 20:09:24 palle Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -383,6 +383,9 @@
SPARC64_RDASR64_DEF(stick, STICK) /* getstick() */
SPARC64_WRASR64_DEF(stick, STICK) /* setstick() */
+/* System Tick Compare Register (ASR 25) */
+SPARC64_RDASR64_DEF(stickcmpr, STICK_CMPR) /* getstickcmpr() */
+
/* Some simple macros to check the cpu type. */
#define GETVER_CPU_MASK() ((getver() & VER_MASK) >> VER_MASK_SHIFT)
#define GETVER_CPU_IMPL() ((getver() & VER_IMPL) >> VER_IMPL_SHIFT)
Home |
Main Index |
Thread Index |
Old Index