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 Add function names defined by macro...
details: https://anonhg.NetBSD.org/src/rev/234843c29e82
branches: trunk
changeset: 750812:234843c29e82
user: nakayama <nakayama%NetBSD.org@localhost>
date: Fri Jan 15 15:05:02 2010 +0000
description:
Add function names defined by macro in comment for reference.
diffstat:
sys/arch/sparc64/include/psl.h | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
diffs (40 lines):
diff -r bbc2e96b6dcd -r 234843c29e82 sys/arch/sparc64/include/psl.h
--- a/sys/arch/sparc64/include/psl.h Fri Jan 15 15:02:48 2010 +0000
+++ b/sys/arch/sparc64/include/psl.h Fri Jan 15 15:05:02 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: psl.h,v 1.43 2009/12/04 17:31:06 nakayama Exp $ */
+/* $NetBSD: psl.h,v 1.44 2010/01/15 15:05:02 nakayama Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -287,22 +287,22 @@
#endif
/* Tick Register (PR 4) */
-SPARC64_GETPR64_DEF(tick)
-SPARC64_SETPR64_DEF(tick)
+SPARC64_GETPR64_DEF(tick) /* gettick() */
+SPARC64_SETPR64_DEF(tick) /* settick() */
/* Processor State Register (PR 6) */
-SPARC64_GETPR_DEF(pstate, int)
-SPARC64_SETPR_DEF(pstate, int)
+SPARC64_GETPR_DEF(pstate, int) /* getpstate() */
+SPARC64_SETPR_DEF(pstate, int) /* setpstate() */
/* Trap Level Register (PR 7) */
-SPARC64_GETPR_DEF(tl, int)
+SPARC64_GETPR_DEF(tl, int) /* gettl() */
/* Current Window Pointer Register (PR 9) */
-SPARC64_GETPR_DEF(cwp, int)
-SPARC64_SETPR_DEF(cwp, int)
+SPARC64_GETPR_DEF(cwp, int) /* getcwp() */
+SPARC64_SETPR_DEF(cwp, int) /* setcwp() */
/* Version Register (PR 31) */
-SPARC64_GETPR64_DEF(ver)
+SPARC64_GETPR64_DEF(ver) /* getver() */
static __inline int
intr_disable(void)
Home |
Main Index |
Thread Index |
Old Index