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

Function do_cpuid

freebsd/amd64/include/cpufunc.h:110–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 5

vmm_supports_1G_pagesFunction · 0.50
x86_emulate_cpuidFunction · 0.50
check_svm_featuresFunction · 0.50
init_viaFunction · 0.50
fpuinit_bsp2Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected