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

Function rdmsr32

freebsd/i386/include/cpufunc.h:370–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

368}
369
370static __inline uint32_t
371rdmsr32(u_int msr)
372{
373 uint32_t low;
374
375 __asm __volatile("rdmsr" : "=a" (low) : "c" (msr) : "edx");
376 return (low);
377}
378
379static __inline uint64_t
380rdpmc(u_int pmc)

Callers 1

lapic_read32Function · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected