Rev 90 | Rev 125 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 90 | Rev 94 | ||
---|---|---|---|
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(); |
- | |
135 | } |
134 | } |
136 | 135 | ||
137 | void cpu_print_report(cpu_t* m) |
136 | void cpu_print_report(cpu_t* m) |
138 | { |
137 | { |
139 | printf("cpu%d: (%s family=%d model=%d stepping=%d) %dMHz\n", |
138 | printf("cpu%d: (%s family=%d model=%d stepping=%d) %dMHz\n", |