Module Name:    src
Committed By:   skrll
Date:           Sat Oct 24 07:05:52 UTC 2020

Modified Files:
        src/lib/libc/arch/hppa: genassym.cf

Log Message:
Add _UC_GREGS_* defines for all general registers


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/lib/libc/arch/hppa/genassym.cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/hppa/genassym.cf
diff -u src/lib/libc/arch/hppa/genassym.cf:1.2 src/lib/libc/arch/hppa/genassym.cf:1.3
--- src/lib/libc/arch/hppa/genassym.cf:1.2	Thu Oct 15 05:43:38 2020
+++ src/lib/libc/arch/hppa/genassym.cf	Sat Oct 24 07:05:52 2020
@@ -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_PCOQT	_REG_PCOQT
 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])

Reply via email to