| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: genassym.cf,v 1.8 2020/11/04 06:56:56 skrll Exp $ | | 1 | # $NetBSD: genassym.cf,v 1.9 2020/11/04 07:51:08 skrll Exp $ |
2 | #- | | 2 | #- |
3 | # Copyright (c) 2014 The NetBSD Foundation, Inc. | | 3 | # Copyright (c) 2014 The NetBSD Foundation, Inc. |
4 | # All rights reserved. | | 4 | # All rights reserved. |
5 | # | | 5 | # |
6 | # This code is derived from software contributed to The NetBSD Foundation | | 6 | # This code is derived from software contributed to The NetBSD Foundation |
7 | # by Matt Thomas of 3am Software Foundry. | | 7 | # by Matt Thomas of 3am Software Foundry. |
8 | # | | 8 | # |
9 | # Redistribution and use in source and binary forms, with or without | | 9 | # Redistribution and use in source and binary forms, with or without |
10 | # modification, are permitted provided that the following conditions | | 10 | # modification, are permitted provided that the following conditions |
11 | # are met: | | 11 | # are met: |
12 | # 1. Redistributions of source code must retain the above copyright | | 12 | # 1. Redistributions of source code must retain the above copyright |
13 | # notice, this list of conditions and the following disclaimer. | | 13 | # notice, this list of conditions and the following disclaimer. |
14 | # 2. Redistributions in binary form must reproduce the above copyright | | 14 | # 2. Redistributions in binary form must reproduce the above copyright |
| @@ -97,28 +97,28 @@ define TF_A3 offsetof(struct trapframe, | | | @@ -97,28 +97,28 @@ define TF_A3 offsetof(struct trapframe, |
97 | define TF_A4 offsetof(struct trapframe, tf_reg[_X_A4]) | | 97 | define TF_A4 offsetof(struct trapframe, tf_reg[_X_A4]) |
98 | define TF_A5 offsetof(struct trapframe, tf_reg[_X_A5]) | | 98 | define TF_A5 offsetof(struct trapframe, tf_reg[_X_A5]) |
99 | define TF_A6 offsetof(struct trapframe, tf_reg[_X_A6]) | | 99 | define TF_A6 offsetof(struct trapframe, tf_reg[_X_A6]) |
100 | define TF_A7 offsetof(struct trapframe, tf_reg[_X_A7]) | | 100 | define TF_A7 offsetof(struct trapframe, tf_reg[_X_A7]) |
101 | define TF_T0 offsetof(struct trapframe, tf_reg[_X_T0]) | | 101 | define TF_T0 offsetof(struct trapframe, tf_reg[_X_T0]) |
102 | define TF_T1 offsetof(struct trapframe, tf_reg[_X_T1]) | | 102 | define TF_T1 offsetof(struct trapframe, tf_reg[_X_T1]) |
103 | define TF_T2 offsetof(struct trapframe, tf_reg[_X_T2]) | | 103 | define TF_T2 offsetof(struct trapframe, tf_reg[_X_T2]) |
104 | define TF_T3 offsetof(struct trapframe, tf_reg[_X_T3]) | | 104 | define TF_T3 offsetof(struct trapframe, tf_reg[_X_T3]) |
105 | define TF_T4 offsetof(struct trapframe, tf_reg[_X_T4]) | | 105 | define TF_T4 offsetof(struct trapframe, tf_reg[_X_T4]) |
106 | define TF_T5 offsetof(struct trapframe, tf_reg[_X_T5]) | | 106 | define TF_T5 offsetof(struct trapframe, tf_reg[_X_T5]) |
107 | define TF_T6 offsetof(struct trapframe, tf_reg[_X_T6]) | | 107 | define TF_T6 offsetof(struct trapframe, tf_reg[_X_T6]) |
108 | define TF_GP offsetof(struct trapframe, tf_reg[_X_GP]) | | 108 | define TF_GP offsetof(struct trapframe, tf_reg[_X_GP]) |
109 | define TF_PC offsetof(struct trapframe, tf_pc) | | 109 | define TF_PC offsetof(struct trapframe, tf_pc) |
110 | define TF_SCAUSE offsetof(struct trapframe, tf_scause) | | 110 | define TF_CAUSE offsetof(struct trapframe, tf_cause) |
111 | define TF_STVAL offsetof(struct trapframe, tf_stval) | | 111 | define TF_TVA L offsetof(struct trapframe, tf_tval) |
112 | define TF_SR offsetof(struct trapframe, tf_sr) | | 112 | define TF_SR offsetof(struct trapframe, tf_sr) |
113 | | | 113 | |
114 | define L_CPU offsetof(struct lwp, l_cpu) | | 114 | define L_CPU offsetof(struct lwp, l_cpu) |
115 | define L_MD_ASTPENDING offsetof(struct lwp, l_md.md_astpending) | | 115 | define L_MD_ASTPENDING offsetof(struct lwp, l_md.md_astpending) |
116 | define L_MD_ONFAULT offsetof(struct lwp, l_md.md_onfault) | | 116 | define L_MD_ONFAULT offsetof(struct lwp, l_md.md_onfault) |
117 | define L_MD_USP offsetof(struct lwp, l_md.md_usp) | | 117 | define L_MD_USP offsetof(struct lwp, l_md.md_usp) |
118 | define L_MD_UTF offsetof(struct lwp, l_md.md_utf) | | 118 | define L_MD_UTF offsetof(struct lwp, l_md.md_utf) |
119 | define L_MD_KTF offsetof(struct lwp, l_md.md_ktf) | | 119 | define L_MD_KTF offsetof(struct lwp, l_md.md_ktf) |
120 | define L_PCB offsetof(struct lwp, l_addr) | | 120 | define L_PCB offsetof(struct lwp, l_addr) |
121 | define L_PROC offsetof(struct lwp, l_proc) | | 121 | define L_PROC offsetof(struct lwp, l_proc) |
122 | | | 122 | |
123 | define P_MD_SYSCALL offsetof(struct proc, p_md.md_syscall) | | 123 | define P_MD_SYSCALL offsetof(struct proc, p_md.md_syscall) |
124 | | | 124 | |