Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
370
static __inline uint32_t
371
rdmsr32(u_int msr)
372
{
373
uint32_t low;
374
375
__asm __volatile(
"rdmsr"
:
"=a"
(low) :
"c"
(msr) :
"edx"
);
376
return (low);
377
}
378
379
static __inline uint64_t
380
rdpmc(u_int pmc)
Callers
1
lapic_read32
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected