Lines Matching refs:uinfop
110 ucode_match_intel(int cpi_sig, cpu_ucode_info_t *uinfop, in ucode_match_intel() argument
117 uinfop->cui_platid, uhp->uh_proc_flags)) { in ucode_match_intel()
119 if (uinfop->cui_rev >= uhp->uh_rev && !ucode_force_update) in ucode_match_intel()
132 uinfop->cui_platid, uesp->ues_proc_flags)) { in ucode_match_intel()
134 if (uinfop->cui_rev >= uhp->uh_rev && in ucode_match_intel()
151 ucode_copy_intel(const ucode_file_intel_t *ucodefp, cpu_ucode_info_t *uinfop) in ucode_copy_intel() argument
155 ASSERT3P(uinfop->cui_pending_ucode, ==, NULL); in ucode_copy_intel()
163 uinfop->cui_pending_ucode = ucode_zalloc(sz); in ucode_copy_intel()
164 if (uinfop->cui_pending_ucode == NULL) in ucode_copy_intel()
166 memcpy(uinfop->cui_pending_ucode, ucodefp->uf_body, sz); in ucode_copy_intel()
168 uinfop->cui_pending_size = sz; in ucode_copy_intel()
169 uinfop->cui_pending_rev = ucodefp->uf_header->uh_rev; in ucode_copy_intel()
175 ucode_locate_intel(cpu_t *cp, cpu_ucode_info_t *uinfop) in ucode_locate_intel() argument
188 if (ucode_match_intel(cpi_sig, uinfop, ucodefp->uf_header, in ucode_locate_intel()
190 return (ucode_copy_intel(ucodefp, uinfop)); in ucode_locate_intel()
198 uinfop->cui_platid); in ucode_locate_intel()
300 rc = ucode_match_intel(cpi_sig, uinfop, ucodefp->uf_header, in ucode_locate_intel()
303 return (ucode_copy_intel(ucodefp, uinfop)); in ucode_locate_intel()
310 ucode_read_rev_intel(cpu_ucode_info_t *uinfop) in ucode_read_rev_intel() argument
321 uinfop->cui_rev = (rdmsr(MSR_INTC_UCODE_REV) >> INTC_UCODE_REV_SHIFT); in ucode_read_rev_intel()
328 uinfop->cui_platid = 1 << ((rdmsr(MSR_INTC_PLATFORM_ID) >> in ucode_read_rev_intel()
334 ucode_load_intel(cpu_ucode_info_t *uinfop) in ucode_load_intel() argument
336 VERIFY3P(uinfop->cui_pending_ucode, !=, NULL); in ucode_load_intel()
345 wrmsr(MSR_INTC_UCODE_WRITE, (uintptr_t)uinfop->cui_pending_ucode); in ucode_load_intel()