Changeset 84239b1 in mainline for kernel/arch/mips32/src/cpu/cpu.c
- Timestamp:
- 2018-03-11T19:39:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f3d47c97
- Parents:
- 850fd32
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/cpu/cpu.c
r850fd32 r84239b1 109 109 if (m->arch.imp_num & 0x80) { 110 110 /* Count records */ 111 for (i = 0; imp_data80[i].vendor; i++); 111 i = 0; 112 while (imp_data80[i].vendor) 113 i++; 112 114 if ((m->arch.imp_num & 0x7f) >= i) { 113 115 printf("imp=%d\n", m->arch.imp_num); … … 116 118 data = &imp_data80[m->arch.imp_num & 0x7f]; 117 119 } else { 118 for (i = 0; imp_data[i].vendor; i++); 120 i = 0; 121 while (imp_data[i].vendor) 122 i++; 119 123 if (m->arch.imp_num >= i) { 120 124 printf("imp=%d\n", m->arch.imp_num);
Note:
See TracChangeset
for help on using the changeset viewer.