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

Function rdmsr

freebsd/amd64/include/cpufunc.h:322–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

320}
321
322static __inline uint64_t
323rdmsr(u_int msr)
324{
325 uint32_t low, high;
326
327 __asm __volatile("rdmsr" : "=a" (low), "=d" (high) : "c" (msr));
328 return (low | ((uint64_t)high << 32));
329}
330
331static __inline uint32_t
332rdmsr32(u_int msr)

Callers 15

vmm_host_state_initFunction · 0.50
svm_msr_initFunction · 0.50
svm_disableFunction · 0.50
svm_enableFunction · 0.50
svm_availableFunction · 0.50
svm_dr_enter_guestFunction · 0.50
ept_initFunction · 0.50
vmx_revisionFunction · 0.50
vmx_set_ctlregFunction · 0.50
vmx_msr_initFunction · 0.50
vmx_msr_guest_exitFunction · 0.50
vmx_enableFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected