Subversion Repositories HelenOS

Rev

Rev 2787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2787 Rev 4377
Line 46... Line 46...
46
static struct data_t imp_data[] = {
46
static struct data_t imp_data[] = {
47
    { "Invalid", "Invalid" },   /* 0x00 */
47
    { "Invalid", "Invalid" },   /* 0x00 */
48
    { "MIPS", "R2000" },        /* 0x01 */
48
    { "MIPS", "R2000" },        /* 0x01 */
49
    { "MIPS", "R3000" },        /* 0x02 */
49
    { "MIPS", "R3000" },        /* 0x02 */
50
    { "MIPS", "R6000" },        /* 0x03 */
50
    { "MIPS", "R6000" },        /* 0x03 */
51
    { "MIPS", " R4000/R4400" },     /* 0x04 */
51
    { "MIPS", "R4000/R4400" },  /* 0x04 */
52
    { "LSI Logic", "R3000" },   /* 0x05 */
52
    { "LSI Logic", "R3000" },   /* 0x05 */
53
    { "MIPS", "R6000A" },       /* 0x06 */
53
    { "MIPS", "R6000A" },       /* 0x06 */
54
    { "IDT", "3051/3052" },     /* 0x07 */
54
    { "IDT", "3051/3052" },     /* 0x07 */
55
    { "Invalid", "Invalid" },   /* 0x08 */
55
    { "Invalid", "Invalid" },   /* 0x08 */
56
    { "MIPS", "R10000/T5" },    /* 0x09 */
56
    { "MIPS", "R10000/T5" },    /* 0x09 */
Line 121... Line 121...
121
            return;
121
            return;
122
        }
122
        }
123
        data = &imp_data[m->arch.imp_num];
123
        data = &imp_data[m->arch.imp_num];
124
    }
124
    }
125
 
125
 
126
    printf("cpu%d: %s %s (rev=%d.%d, imp=%d)\n",
126
    printf("cpu%u: %s %s (rev=%d.%d, imp=%d)\n",
127
        m->id, data->vendor, data->model, m->arch.rev_num >> 4,
127
        m->id, data->vendor, data->model, m->arch.rev_num >> 4,
128
        m->arch.rev_num & 0xf, m->arch.imp_num);
128
        m->arch.rev_num & 0x0f, m->arch.imp_num);
129
}
129
}
130
 
130
 
131
/** @}
131
/** @}
132
 */
132
 */