Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/nathanw_sa]: src/sys/arch/sparc64/include define _UC_MACHINE_SP
details: https://anonhg.NetBSD.org/src/rev/669a2078f684
branches: nathanw_sa
changeset: 505510:669a2078f684
user: petrov <petrov%NetBSD.org@localhost>
date: Thu Jan 03 09:50:28 2002 +0000
description:
define _UC_MACHINE_SP
diffstat:
sys/arch/sparc64/include/mcontext.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (16 lines):
diff -r 205d71b27482 -r 669a2078f684 sys/arch/sparc64/include/mcontext.h
--- a/sys/arch/sparc64/include/mcontext.h Thu Jan 03 06:42:33 2002 +0000
+++ b/sys/arch/sparc64/include/mcontext.h Thu Jan 03 09:50:28 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.1.2.1 2001/11/17 12:24:20 martin Exp $ */
+/* $NetBSD: mcontext.h,v 1.1.2.2 2002/01/03 09:50:28 petrov Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -162,4 +162,6 @@
#define _UC_MACHINE_PAD 23 /* Padding appended to ucontext_t */
#endif
+#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_O6])
+
#endif /* !_SPARC64_MCONTEXT_H_ */
Home |
Main Index |
Thread Index |
Old Index