Changeset 04cb6957 in mainline
- Timestamp:
- 2012-11-24T16:25:21Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8ff9484
- Parents:
- 28f81d21
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/cpu/cpu.c
r28f81d21 r04cb6957 43 43 #define IMP_DATA_START_OFFSET 0x40 44 44 45 /** Implement ators (vendor) names */45 /** Implementors (vendor) names */ 46 46 static const char *imp_data[] = { 47 47 "?", /* IMP_DATA_START_OFFSET */ … … 61 61 62 62 /** Length of the #imp_data array */ 63 static unsigned int imp_data_length = sizeof(imp_data) / sizeof(char *);63 static const unsigned int imp_data_length = sizeof(imp_data) / sizeof(char *); 64 64 65 65 /** Architecture names */ … … 76 76 77 77 /** Length of the #arch_data array */ 78 static unsigned int arch_data_length = sizeof(arch_data) / sizeof(char *);78 static const unsigned int arch_data_length = sizeof(arch_data) / sizeof(char *); 79 79 80 80 81 81 /** Retrieves processor identification from CP15 register 0. 82 * 82 * 83 83 * @param cpu Structure for storing CPU identification. 84 84 */ … … 213 213 } 214 214 215 printf("cpu%d: vendor=%s, architecture=ARM %s, part number=%x, "215 printf("cpu%d: vendor=%s, architecture=ARMv%s, part number=%x, " 216 216 "variant=%x, revision=%x\n", 217 217 m->id, vendor, architecture, cpu_arch->prim_part_num,
Note:
See TracChangeset
for help on using the changeset viewer.