* The value for the TSC_AUX MSR and rdtscp/rdpid on the invoking CPU. * * Caller should prevent CPU migration. */
| 241 | * Caller should prevent CPU migration. |
| 242 | */ |
| 243 | u_int |
| 244 | cpu_auxmsr(void) |
| 245 | { |
| 246 | KASSERT((read_rflags() & PSL_I) == 0, ("context switch possible")); |
| 247 | return (PCPU_GET(cpuid)); |
| 248 | } |
| 249 | |
| 250 | /* |
| 251 | * Initialize CPU control registers |
no test coverage detected