Lines Matching defs:section
149 struct cper_sec_crashdump_fatal *section;
152 section = (struct cper_sec_crashdump_fatal *)((uint8_t *)hdr +
159 section->body.reg_ctx_type = CPER_CTX_TYPE_CRASH;
160 section->body.reg_arr_size = sizeof(reg_data);
161 section->body.data = reg_data;
176 struct cper_sec_nonstd_err *section;
181 section = (struct cper_sec_nonstd_err *)((uint8_t *)hdr +
190 section->hdr.valid_bits.err_info_cnt = 1;
191 section->hdr.valid_bits.err_context_cnt = 1;
193 section->info.error_type = RUNTIME;
194 section->info.ms_chk_bits.err_type_valid = 1;
195 section->ctx.reg_ctx_type = CPER_CTX_TYPE_CRASH;
196 section->ctx.reg_arr_size = sizeof(section->ctx.reg_dump);
198 memcpy(section->ctx.reg_dump, reg_dump, reg_count * sizeof(uint32_t));
210 struct cper_sec_nonstd_err *section;
214 section = (struct cper_sec_nonstd_err *)((uint8_t *)hdr +
221 section->hdr.valid_bits.err_info_cnt = 1;
222 section->hdr.valid_bits.err_context_cnt = 1;
224 section->info.error_type = RUNTIME;
225 section->info.valid_bits.ms_chk = 1;
226 section->info.ms_chk_bits.err_type_valid = 1;
227 section->info.ms_chk_bits.err_type = 1;
228 section->info.ms_chk_bits.pcc = 1;
229 section->ctx.reg_ctx_type = CPER_CTX_TYPE_CRASH;
230 section->ctx.reg_arr_size = sizeof(section->ctx.reg_dump);
236 section->ctx.reg_dump[CPER_ACA_REG_CTL_LO] = 0x1;
237 section->ctx.reg_dump[CPER_ACA_REG_CTL_HI] = 0x0;
238 section->ctx.reg_dump[CPER_ACA_REG_STATUS_LO] = 0x137;
239 section->ctx.reg_dump[CPER_ACA_REG_STATUS_HI] = 0xB0000000;
240 section->ctx.reg_dump[CPER_ACA_REG_ADDR_LO] = 0x0;
241 section->ctx.reg_dump[CPER_ACA_REG_ADDR_HI] = 0x0;
242 section->ctx.reg_dump[CPER_ACA_REG_MISC0_LO] = 0x0;
243 section->ctx.reg_dump[CPER_ACA_REG_MISC0_HI] = 0x0;
244 section->ctx.reg_dump[CPER_ACA_REG_CONFIG_LO] = 0x2;
245 section->ctx.reg_dump[CPER_ACA_REG_CONFIG_HI] = 0x1ff;
246 section->ctx.reg_dump[CPER_ACA_REG_IPID_LO] = (socket_id / 4) & 0x01;
247 section->ctx.reg_dump[CPER_ACA_REG_IPID_HI] = 0x096 | (((socket_id % 4) & 0x3) << 12);
248 section->ctx.reg_dump[CPER_ACA_REG_SYND_LO] = 0x0;
249 section->ctx.reg_dump[CPER_ACA_REG_SYND_HI] = 0x0;