Lines Matching refs:regs
153 u_int regs[4]; in hyperv_identify_features() local
159 do_cpuid(CPUID_LEAF_HV_MAXLEAF, regs); in hyperv_identify_features()
160 maxleaf = regs[0]; in hyperv_identify_features()
164 do_cpuid(CPUID_LEAF_HV_INTERFACE, regs); in hyperv_identify_features()
165 if (regs[0] != CPUID_HV_IFACE_HYPERV) in hyperv_identify_features()
168 do_cpuid(CPUID_LEAF_HV_FEATURES, regs); in hyperv_identify_features()
169 if ((regs[0] & CPUID_HV_MSR_HYPERCALL) == 0) { in hyperv_identify_features()
176 hyperv_features = regs[0]; in hyperv_identify_features()
177 hyperv_pm_features = regs[2]; in hyperv_identify_features()
178 hyperv_features3 = regs[3]; in hyperv_identify_features()
179 do_cpuid(CPUID_LEAF_HV_IDENTITY, regs); in hyperv_identify_features()
180 hyperv_ver_major = regs[1] >> 16; in hyperv_identify_features()
182 regs[1] & 0xffff, regs[0], regs[2]); in hyperv_identify_features()
221 do_cpuid(CPUID_LEAF_HV_RECOMMENDS, regs); in hyperv_identify_features()
222 hyperv_recommends = regs[0]; in hyperv_identify_features()
224 printf(" Recommends: %08x %08x\n", regs[0], regs[1]); in hyperv_identify_features()
226 do_cpuid(CPUID_LEAF_HV_LIMITS, regs); in hyperv_identify_features()
228 printf(" Limits: Vcpu:%d Lcpu:%d Int:%d\n", regs[0], regs[1], in hyperv_identify_features()
229 regs[2]); in hyperv_identify_features()
233 do_cpuid(CPUID_LEAF_HV_HWFEATURES, regs); in hyperv_identify_features()
235 printf(" HW Features: %08x, AMD: %08x\n", regs[0], in hyperv_identify_features()
236 regs[3]); in hyperv_identify_features()