| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: genassym.cf,v 1.69 2014/01/07 20:11:35 palle Exp $ | | 1 | # $NetBSD: genassym.cf,v 1.70 2014/01/11 12:20:07 nakayama Exp $ |
2 | | | 2 | |
3 | # | | 3 | # |
4 | # Copyright (c) 1997 The NetBSD Foundation, Inc. | | 4 | # Copyright (c) 1997 The NetBSD Foundation, Inc. |
5 | # All rights reserved. | | 5 | # All rights reserved. |
6 | # | | 6 | # |
7 | # This code is derived from software contributed to The NetBSD Foundation | | 7 | # This code is derived from software contributed to The NetBSD Foundation |
8 | # by Christos Zoulas. | | 8 | # by Christos Zoulas. |
9 | # | | 9 | # |
10 | # Redistribution and use in source and binary forms, with or without | | 10 | # Redistribution and use in source and binary forms, with or without |
11 | # modification, are permitted provided that the following conditions | | 11 | # modification, are permitted provided that the following conditions |
12 | # are met: | | 12 | # are met: |
13 | # 1. Redistributions of source code must retain the above copyright | | 13 | # 1. Redistributions of source code must retain the above copyright |
14 | # notice, this list of conditions and the following disclaimer. | | 14 | # notice, this list of conditions and the following disclaimer. |
| @@ -153,29 +153,29 @@ define CI_CPUID offsetof(struct cpu_info | | | @@ -153,29 +153,29 @@ define CI_CPUID offsetof(struct cpu_info |
153 | define CI_WANT_AST offsetof(struct cpu_info, ci_want_ast) | | 153 | define CI_WANT_AST offsetof(struct cpu_info, ci_want_ast) |
154 | define CI_WANT_RESCHED offsetof(struct cpu_info, ci_want_resched) | | 154 | define CI_WANT_RESCHED offsetof(struct cpu_info, ci_want_resched) |
155 | define CI_EINTSTACK offsetof(struct cpu_info, ci_eintstack) | | 155 | define CI_EINTSTACK offsetof(struct cpu_info, ci_eintstack) |
156 | define CI_IDLELWP offsetof(struct cpu_info, ci_data.cpu_idlelwp) | | 156 | define CI_IDLELWP offsetof(struct cpu_info, ci_data.cpu_idlelwp) |
157 | define CI_NFAULT offsetof(struct cpu_info, ci_data.cpu_nfault) | | 157 | define CI_NFAULT offsetof(struct cpu_info, ci_data.cpu_nfault) |
158 | define CI_NINTR offsetof(struct cpu_info, ci_data.cpu_nintr) | | 158 | define CI_NINTR offsetof(struct cpu_info, ci_data.cpu_nintr) |
159 | define CI_CLOCKRATE offsetof(struct cpu_info, ci_cpu_clockrate) | | 159 | define CI_CLOCKRATE offsetof(struct cpu_info, ci_cpu_clockrate) |
160 | define CI_IDEPTH offsetof(struct cpu_info, ci_idepth) | | 160 | define CI_IDEPTH offsetof(struct cpu_info, ci_idepth) |
161 | define CI_INTRPENDING offsetof(struct cpu_info, ci_intrpending) | | 161 | define CI_INTRPENDING offsetof(struct cpu_info, ci_intrpending) |
162 | define CI_TICK_IH offsetof(struct cpu_info, ci_tick_ih) | | 162 | define CI_TICK_IH offsetof(struct cpu_info, ci_tick_ih) |
163 | define CI_CTXBUSY offsetof(struct cpu_info, ci_ctxbusy) | | 163 | define CI_CTXBUSY offsetof(struct cpu_info, ci_ctxbusy) |
164 | define CI_TSB_DMMU offsetof(struct cpu_info, ci_tsb_dmmu) | | 164 | define CI_TSB_DMMU offsetof(struct cpu_info, ci_tsb_dmmu) |
165 | define CI_TSB_IMMU offsetof(struct cpu_info, ci_tsb_immu) | | 165 | define CI_TSB_IMMU offsetof(struct cpu_info, ci_tsb_immu) |
166 | #ifdef SUN4V | | 166 | ifdef SUN4V |
167 | define CI_MMFSA offsetof(struct cpu_info, ci_mmfsa) | | 167 | define CI_MMFSA offsetof(struct cpu_info, ci_mmfsa) |
168 | #endif | | 168 | endif |
169 | ifdef MULTIPROCESSOR | | 169 | ifdef MULTIPROCESSOR |
170 | define CI_IPIEVC offsetof(struct cpu_info, ci_ipi_evcnt[0].ev_count) | | 170 | define CI_IPIEVC offsetof(struct cpu_info, ci_ipi_evcnt[0].ev_count) |
171 | endif | | 171 | endif |
172 | | | 172 | |
173 | # CPU boot arguments structure | | 173 | # CPU boot arguments structure |
174 | define CBA_NODE offsetof(struct cpu_bootargs, cb_node) | | 174 | define CBA_NODE offsetof(struct cpu_bootargs, cb_node) |
175 | define CBA_KTEXT offsetof(struct cpu_bootargs, cb_ktext) | | 175 | define CBA_KTEXT offsetof(struct cpu_bootargs, cb_ktext) |
176 | define CBA_KTEXTP offsetof(struct cpu_bootargs, cb_ktextp) | | 176 | define CBA_KTEXTP offsetof(struct cpu_bootargs, cb_ktextp) |
177 | define CBA_EKTEXT offsetof(struct cpu_bootargs, cb_ektext) | | 177 | define CBA_EKTEXT offsetof(struct cpu_bootargs, cb_ektext) |
178 | define CBA_KDATA offsetof(struct cpu_bootargs, cb_kdata) | | 178 | define CBA_KDATA offsetof(struct cpu_bootargs, cb_kdata) |
179 | define CBA_KDATAP offsetof(struct cpu_bootargs, cb_kdatap) | | 179 | define CBA_KDATAP offsetof(struct cpu_bootargs, cb_kdatap) |
180 | define CBA_EKDATA offsetof(struct cpu_bootargs, cb_ekdata) | | 180 | define CBA_EKDATA offsetof(struct cpu_bootargs, cb_ekdata) |
181 | define CBA_CPUINFO offsetof(struct cpu_bootargs, cb_cpuinfo) | | 181 | define CBA_CPUINFO offsetof(struct cpu_bootargs, cb_cpuinfo) |