Rev 75 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 75 | Rev 90 | ||
---|---|---|---|
Line 129... | Line 129... | ||
129 | cpuid(1, &info); |
129 | cpuid(1, &info); |
130 | CPU->arch.family = (info.cpuid_eax>>8)&0xf; |
130 | CPU->arch.family = (info.cpuid_eax>>8)&0xf; |
131 | CPU->arch.model = (info.cpuid_eax>>4)&0xf; |
131 | CPU->arch.model = (info.cpuid_eax>>4)&0xf; |
132 | CPU->arch.stepping = (info.cpuid_eax>>0)&0xf; |
132 | CPU->arch.stepping = (info.cpuid_eax>>0)&0xf; |
133 | } |
133 | } |
- | 134 | set_TS_flag(); |
|
134 | } |
135 | } |
135 | 136 | ||
136 | void cpu_print_report(cpu_t* m) |
137 | void cpu_print_report(cpu_t* m) |
137 | { |
138 | { |
138 | printf("cpu%d: (%s family=%d model=%d stepping=%d) %dMHz\n", |
139 | printf("cpu%d: (%s family=%d model=%d stepping=%d) %dMHz\n", |