MCPcopy Create free account
hub / github.com/F-Stack/f-stack / do_cpuid

Function do_cpuid

freebsd/i386/include/cpufunc.h:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111#ifdef _KERNEL
112static __inline void
113do_cpuid(u_int ax, u_int *p)
114{
115 __asm __volatile("cpuid"
116 : "=a" (p[0]), "=b" (p[1]), "=c" (p[2]), "=d" (p[3])
117 : "0" (ax));
118}
119
120static __inline void
121cpuid_count(u_int ax, u_int cx, u_int *p)

Callers 15

init_winchipFunction · 0.50
init_viaFunction · 0.50
init_transmetaFunction · 0.50
initializecpuFunction · 0.50
tmx86_get_longrun_statusFunction · 0.50
npxinit_bsp2Function · 0.50
xen_hvm_cpuid_baseFunction · 0.50
hypervisor_versionFunction · 0.50
tsc_freq_vmwareFunction · 0.50
tsc_freq_cpuidFunction · 0.50
tsc_freq_intelFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected