Home
last modified time | relevance | path

Searched refs:uinfop (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/intel/os/
H A Dmicrocode.c184 cpu_ucode_info_t *uinfop = CPU->cpu_m.mcpu_ucode_info; in ucode_write() local
196 ucode->us_read_rev(uinfop); in ucode_write()
197 uusp->new_rev = uinfop->cui_rev; in ucode_write()
198 if (uinfop->cui_rev >= uusp->expected_rev) in ucode_write()
216 ucode->us_read_rev(uinfop); in ucode_write()
217 uusp->new_rev = uinfop->cui_rev; in ucode_write()
335 cpu_ucode_info_t *uinfop; in ucode_read_rev() local
342 uinfop = cp->cpu_m.mcpu_ucode_info; in ucode_read_rev()
343 ASSERT3P(uinfop, !=, NULL); in ucode_read_rev()
345 ucode->us_read_rev(uinfop); in ucode_read_rev()
[all …]
H A Dmicrocode_intel.c110 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()
[all …]
H A Dmicrocode_amd.c220 ucode_match_amd(uint16_t eq_sig, cpu_ucode_info_t *uinfop, in ucode_match_amd() argument
255 if (uh->uh_patch_id <= uinfop->cui_rev && !ucode_force_update) in ucode_match_amd()
266 ucode_copy_amd(const ucode_file_amd_t *ucodefp, cpu_ucode_info_t *uinfop) in ucode_copy_amd() argument
268 ASSERT3P(uinfop->cui_pending_ucode, ==, NULL); in ucode_copy_amd()
270 uinfop->cui_pending_ucode = ucode_zalloc(sizeof (*ucodefp)); in ucode_copy_amd()
271 if (uinfop->cui_pending_ucode == NULL) in ucode_copy_amd()
273 memcpy(uinfop->cui_pending_ucode, ucodefp, sizeof (*ucodefp)); in ucode_copy_amd()
275 uinfop->cui_pending_size = sizeof (*ucodefp); in ucode_copy_amd()
276 uinfop->cui_pending_rev = ucodefp->uf_header.uh_patch_id; in ucode_copy_amd()
288 ucode_locate_amd(cpu_t *cp, cpu_ucode_info_t *uinfop) in ucode_locate_amd() argument
[all …]