DELTA 302372 163 226 SVN S{] QM HxK qb[/* * NB: MSR 0xc0010020, MSR_K8_UCODE_UPDATE, is not documented by AMD. * Coreboot, illumos and Linux source code was used to understand * its workings. */ static void amd_ucode_wrmsr(void *ucode_ptr) { uint32_t tmp[4]; wrmsr_safe(MSR_K8_UCODE_UPDATE, (uintptr_t)ucode_ptr); do_cpuid(0, tmp); } static int update_amd(int cpu, cpuctl_update_args_t *args, struct thread *td) { void *ptrZERO |smp_rendezvous(NULL, amd_ucode_wrmsr, NULL, ptr); ret = 0; fail: free(ptrENDREP DELTA 228658 0 33 SVN Q 2Namd10hENDREP DELTA 181430 14575 959 SVN : :1aix^uOK@ɧXփ6ZD詶ETa;iM?*~wgI7o&3D(M@pe_<c_iGh>a)Uaגe2$nSĔYgp !ĦoB.Ѱ8JctӰK e)\*vI--C]VҌ/bkTAۂd/L]S>]p TAsetxj|˧3_k7۷W J4.u