Rev 4338 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4338 | Rev 4348 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | char *family_str; |
53 | char *family_str; |
54 | char vendor[2 * sizeof(uint64_t) + 1]; |
54 | char vendor[2 * sizeof(uint64_t) + 1]; |
55 | 55 | ||
56 | *((uint64_t *) &vendor[0 * sizeof(uint64_t)]) = CPU->arch.cpuid0; |
56 | *((uint64_t *) &vendor[0 * sizeof(uint64_t)]) = CPU->arch.cpuid0; |
57 | *((uint64_t *) &vendor[1 * sizeof(uint64_t)]) = CPU->arch.cpuid1; |
57 | *((uint64_t *) &vendor[1 * sizeof(uint64_t)]) = CPU->arch.cpuid1; |
58 | vendor[sizeof(vendor) - 1] = '\0'; |
58 | vendor[sizeof(vendor) - 1] = 0; |
59 | 59 | ||
60 | switch(m->arch.cpuid3.family) { |
60 | switch(m->arch.cpuid3.family) { |
61 | case FAMILY_ITANIUM: |
61 | case FAMILY_ITANIUM: |
62 | family_str = "Itanium"; |
62 | family_str = "Itanium"; |
63 | break; |
63 | break; |