Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/sys/arch/sparc/include Pull up revision 1.6 (requested by...
details: https://anonhg.NetBSD.org/src/rev/07681c506992
branches: netbsd-3
changeset: 576557:07681c506992
user: tron <tron%NetBSD.org@localhost>
date: Mon Jul 11 11:34:56 2005 +0000
description:
Pull up revision 1.6 (requested by martin in ticket #570):
Fix COMPAT_NETBSD32 ucontext padding and move the definition next to the
(sparc) original.
diffstat:
sys/arch/sparc/include/mcontext.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 80e5368b5d36 -r 07681c506992 sys/arch/sparc/include/mcontext.h
--- a/sys/arch/sparc/include/mcontext.h Mon Jul 11 11:34:49 2005 +0000
+++ b/sys/arch/sparc/include/mcontext.h Mon Jul 11 11:34:56 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.5 2004/01/01 15:02:31 pk Exp $ */
+/* $NetBSD: mcontext.h,v 1.5.14.1 2005/07/11 11:34:56 tron Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -157,6 +157,7 @@
#ifdef __arch64__
#define _UC_MACHINE_PAD 8 /* Padding appended to ucontext_t */
#define _UC_MACHINE_SP(uc) (((uc)->uc_mcontext.__gregs[_REG_O6])+0x7ff)
+#define _UC_MACHINE32_PAD 43 /* compat_netbsd32 variant */
#else
#define _UC_MACHINE_PAD 43 /* Padding appended to ucontext_t */
#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.__gregs[_REG_O6])
Home |
Main Index |
Thread Index |
Old Index