Lines Matching refs:fwhdr
562 pmcs_fw_event_hdr_t fwhdr;
576 if (mdb_vread(&fwhdr, sizeof (pmcs_fw_event_hdr_t),
585 swapp = (uint32_t *)&fwhdr;
592 if (fwhdr.fw_el_signature == PMCS_FWLOG_AAP1_SIG) {
594 } else if (fwhdr.fw_el_signature == PMCS_FWLOG_IOP_SIG) {
602 mdb_printf("Oldest entry: %d\n", fwhdr.fw_el_oldest_idx);
603 mdb_printf("Latest entry: %d\n", fwhdr.fw_el_latest_idx);
605 entry = mdb_alloc(fwhdr.fw_el_entry_size, UM_SLEEP);
608 log_size = fwhdr.fw_el_buf_size;
609 fwlogp += fwhdr.fw_el_entry_start_offset;
619 if (mdb_vread(entry, fwhdr.fw_el_entry_size,
620 (uintptr_t)fwlogp) != fwhdr.fw_el_entry_size) {
625 for (sidx = 0; sidx < (fwhdr.fw_el_entry_size /
642 fwlogp += fwhdr.fw_el_entry_size;
643 total_size -= fwhdr.fw_el_entry_size;
644 log_size -= fwhdr.fw_el_entry_size;
652 mdb_free(entry, fwhdr.fw_el_entry_size);