Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/ia64/include Fix for last checkin, don't try use no...
details: https://anonhg.NetBSD.org/src/rev/0bceec66c13c
branches: trunk
changeset: 935294:0bceec66c13c
user: scole <scole%NetBSD.org@localhost>
date: Mon Jun 29 17:09:33 2020 +0000
description:
Fix for last checkin, don't try use non-existent register from a (currently) dummy struct
diffstat:
sys/arch/ia64/include/mcontext.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r d58de160a4af -r 0bceec66c13c sys/arch/ia64/include/mcontext.h
--- a/sys/arch/ia64/include/mcontext.h Mon Jun 29 14:22:11 2020 +0000
+++ b/sys/arch/ia64/include/mcontext.h Mon Jun 29 17:09:33 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mcontext.h,v 1.11 2020/06/29 01:37:27 scole Exp $ */
+/* $NetBSD: mcontext.h,v 1.12 2020/06/29 17:09:33 scole Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -114,7 +114,7 @@
#define _UC_MACHINE_SP(uc) ((uc)->uc_mcontext.mc_special.sp) /* gregs[12] */
#define _UC_MACHINE_FP(uc) 0 /* Not supported in target */
#define _UC_MACHINE_PC(uc) ((uc)->uc_mcontext.mc_special.iip)
-#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.__gregs[8])
+#define _UC_MACHINE_INTRV(uc) ((uc)->uc_mcontext.mc_scratch.gr8) /* gregs[8] */
#define _UC_MACHINE_SET_PC(uc, pc) (uc)->uc_mcontext.mc_special.iip = (pc)
#if defined(_RTLD_SOURCE) || defined(_LIBC_SOURCE) || \
Home |
Main Index |
Thread Index |
Old Index