Subversion Repositories HelenOS-historic

Rev

Rev 1731 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1731 Rev 1762
Line 54... Line 54...
54
    CPU->arch.revision = info.revision;
54
    CPU->arch.revision = info.revision;
55
}
55
}
56
 
56
 
57
void cpu_print_report(cpu_t *m)
57
void cpu_print_report(cpu_t *m)
58
{
58
{
-
 
59
    char *name;
-
 
60
   
-
 
61
    switch (m->arch.version) {
-
 
62
        case 8:
-
 
63
            name = " (PowerPC 750)";
-
 
64
            break;
-
 
65
        case 9:
-
 
66
            name = " (PowerPC 604e)";
-
 
67
            break;
-
 
68
        case 0x81:
-
 
69
            name = " (PowerPC 8260)";
-
 
70
            break;
-
 
71
        case 0x8081:
-
 
72
            name = " (PowerPC 826xA)";
-
 
73
            break;
-
 
74
        default:
-
 
75
            name = "";
-
 
76
    }
-
 
77
   
59
    printf("cpu%d: version=%d, revision=%d\n", m->id, m->arch.version, m->arch.revision);
78
    printf("cpu%d: version=%d%s, revision=%d\n", m->id, m->arch.version, name, m->arch.revision);
60
}
79
}
61
 
80
 
62
/** @}
81
/** @}
63
 */
82
 */