| 320 | } |
| 321 | |
| 322 | static __inline uint64_t |
| 323 | rdmsr(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 | |
| 331 | static __inline uint32_t |
| 332 | rdmsr32(u_int msr) |
no outgoing calls
no test coverage detected