Lines Matching defs:uinfop
406 ucode_locate_amd(cpu_t *cp, cpu_ucode_info_t *uinfop, ucode_file_t *ufp)
428 else if (ucode_match_amd(eq_sig, uinfop, ucodefp, sizeof (*ucodefp))
453 if (ucode_match_amd(eq_sig, uinfop, ucodefp, count) == EM_OK)
513 ucode_locate_intel(cpu_t *cp, cpu_ucode_info_t *uinfop, ucode_file_t *ufp)
528 if (ucode_match_intel(cpi_sig, uinfop, ucodefp->uf_header,
538 uinfop->cui_platid);
640 rc = ucode_match_intel(cpi_sig, uinfop, ucodefp->uf_header,
648 ucode_match_amd(uint16_t eq_sig, cpu_ucode_info_t *uinfop,
682 if (uh->uh_patch_id <= uinfop->cui_rev && !ucode_force_update)
693 ucode_match_intel(int cpi_sig, cpu_ucode_info_t *uinfop,
700 uinfop->cui_platid, uhp->uh_proc_flags)) {
702 if (uinfop->cui_rev >= uhp->uh_rev && !ucode_force_update)
717 uinfop->cui_platid, uesp->ues_proc_flags)) {
719 if (uinfop->cui_rev >= uhp->uh_rev &&
736 cpu_ucode_info_t *uinfop = CPU->cpu_m.mcpu_ucode_info;
751 ucode->read_rev(uinfop);
752 uusp->new_rev = uinfop->cui_rev;
753 if (uinfop->cui_rev >= uusp->expected_rev)
762 ucode->read_rev(uinfop);
763 uusp->new_rev = uinfop->cui_rev;
770 ucode_load_amd(ucode_file_t *ufp, cpu_ucode_info_t *uinfop, cpu_t *cp)
791 ucode->read_rev(uinfop);
799 ucode->read_rev(uinfop);
800 uus.new_rev = uinfop->cui_rev;
808 ucode_load_intel(ucode_file_t *ufp, cpu_ucode_info_t *uinfop, cpu_t *cp)
848 ucode->read_rev(uinfop);
849 uus.new_rev = uinfop->cui_rev;
853 ucode->read_rev(uinfop);
885 ucode_read_rev_amd(cpu_ucode_info_t *uinfop)
887 uinfop->cui_rev = rdmsr(MSR_AMD_PATCHLEVEL);
891 ucode_read_rev_intel(cpu_ucode_info_t *uinfop)
902 uinfop->cui_rev = (rdmsr(MSR_INTC_UCODE_REV) >> INTC_UCODE_REV_SHIFT);
1150 cpu_ucode_info_t *uinfop;
1161 uinfop = cp->cpu_m.mcpu_ucode_info;
1162 ASSERT(uinfop);
1187 uinfop->cui_platid = 1 << ((rdmsr(MSR_INTC_PLATFORM_ID) >>
1191 ucode->read_rev(uinfop);
1206 if ((rc = ucode->locate(cp, uinfop, &ucodefile)) == EM_OK) {
1207 new_rev = ucode->load(&ucodefile, uinfop, cp);
1209 if (uinfop->cui_rev != new_rev)
1211 uinfop->cui_rev, new_rev);