Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/hppa Add _UC_GREGS_* defines for all general r...
details: https://anonhg.NetBSD.org/src/rev/0edf7d181412
branches: trunk
changeset: 956212:0edf7d181412
user: skrll <skrll%NetBSD.org@localhost>
date: Sat Oct 24 07:05:52 2020 +0000
description:
Add _UC_GREGS_* defines for all general registers
diffstat:
lib/libc/arch/hppa/genassym.cf | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 deletions(-)
diffs (44 lines):
diff -r 6787f955ff45 -r 0edf7d181412 lib/libc/arch/hppa/genassym.cf
--- a/lib/libc/arch/hppa/genassym.cf Sat Oct 24 07:03:11 2020 +0000
+++ b/lib/libc/arch/hppa/genassym.cf Sat Oct 24 07:05:52 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.2 2020/10/15 05:43:38 skrll Exp $
+# $NetBSD: genassym.cf,v 1.3 2020/10/24 07:05:52 skrll Exp $
#
# Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -37,3 +37,34 @@
define _REG_RET0 _REG_RET0
define _UC_GREGS offsetof(ucontext_t, uc_mcontext.__gregs[0])
+define _UC_GREGS_R1 offsetof(ucontext_t, uc_mcontext.__gregs[1])
+define _UC_GREGS_R2 offsetof(ucontext_t, uc_mcontext.__gregs[2])
+define _UC_GREGS_R3 offsetof(ucontext_t, uc_mcontext.__gregs[3])
+define _UC_GREGS_R4 offsetof(ucontext_t, uc_mcontext.__gregs[4])
+define _UC_GREGS_R5 offsetof(ucontext_t, uc_mcontext.__gregs[5])
+define _UC_GREGS_R6 offsetof(ucontext_t, uc_mcontext.__gregs[6])
+define _UC_GREGS_R7 offsetof(ucontext_t, uc_mcontext.__gregs[7])
+define _UC_GREGS_R8 offsetof(ucontext_t, uc_mcontext.__gregs[8])
+define _UC_GREGS_R9 offsetof(ucontext_t, uc_mcontext.__gregs[9])
+define _UC_GREGS_R10 offsetof(ucontext_t, uc_mcontext.__gregs[10])
+define _UC_GREGS_R11 offsetof(ucontext_t, uc_mcontext.__gregs[11])
+define _UC_GREGS_R12 offsetof(ucontext_t, uc_mcontext.__gregs[12])
+define _UC_GREGS_R13 offsetof(ucontext_t, uc_mcontext.__gregs[13])
+define _UC_GREGS_R14 offsetof(ucontext_t, uc_mcontext.__gregs[14])
+define _UC_GREGS_R15 offsetof(ucontext_t, uc_mcontext.__gregs[15])
+define _UC_GREGS_R16 offsetof(ucontext_t, uc_mcontext.__gregs[16])
+define _UC_GREGS_R17 offsetof(ucontext_t, uc_mcontext.__gregs[17])
+define _UC_GREGS_R18 offsetof(ucontext_t, uc_mcontext.__gregs[18])
+define _UC_GREGS_R19 offsetof(ucontext_t, uc_mcontext.__gregs[19])
+define _UC_GREGS_R20 offsetof(ucontext_t, uc_mcontext.__gregs[20])
+define _UC_GREGS_R21 offsetof(ucontext_t, uc_mcontext.__gregs[21])
+define _UC_GREGS_R22 offsetof(ucontext_t, uc_mcontext.__gregs[22])
+define _UC_GREGS_R23 offsetof(ucontext_t, uc_mcontext.__gregs[23])
+define _UC_GREGS_R24 offsetof(ucontext_t, uc_mcontext.__gregs[24])
+define _UC_GREGS_R25 offsetof(ucontext_t, uc_mcontext.__gregs[25])
+define _UC_GREGS_R26 offsetof(ucontext_t, uc_mcontext.__gregs[26])
+define _UC_GREGS_R27 offsetof(ucontext_t, uc_mcontext.__gregs[27])
+define _UC_GREGS_R28 offsetof(ucontext_t, uc_mcontext.__gregs[28])
+define _UC_GREGS_R29 offsetof(ucontext_t, uc_mcontext.__gregs[29])
+define _UC_GREGS_R30 offsetof(ucontext_t, uc_mcontext.__gregs[30])
+define _UC_GREGS_R31 offsetof(ucontext_t, uc_mcontext.__gregs[31])
Home |
Main Index |
Thread Index |
Old Index