Changeset 04cb6957 in mainline


Ignore:
Timestamp:
2012-11-24T16:25:21Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8ff9484
Parents:
28f81d21
Message:

arm32: Minor fixes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/cpu/cpu.c

    r28f81d21 r04cb6957  
    4343#define IMP_DATA_START_OFFSET 0x40
    4444
    45 /** Implementators (vendor) names */
     45/** Implementors (vendor) names */
    4646static const char *imp_data[] = {
    4747        "?",                                     /* IMP_DATA_START_OFFSET */
     
    6161
    6262/** Length of the #imp_data array */
    63 static unsigned int imp_data_length = sizeof(imp_data) / sizeof(char *);
     63static const unsigned int imp_data_length = sizeof(imp_data) / sizeof(char *);
    6464
    6565/** Architecture names */
     
    7676
    7777/** Length of the #arch_data array */
    78 static unsigned int arch_data_length = sizeof(arch_data) / sizeof(char *);
     78static const unsigned int arch_data_length = sizeof(arch_data) / sizeof(char *);
    7979
    8080
    8181/** Retrieves processor identification from CP15 register 0.
    82  * 
     82 *
    8383 * @param cpu Structure for storing CPU identification.
    8484 */
     
    213213        }
    214214
    215         printf("cpu%d: vendor=%s, architecture=ARM%s, part number=%x, "
     215        printf("cpu%d: vendor=%s, architecture=ARMv%s, part number=%x, "
    216216            "variant=%x, revision=%x\n",
    217217            m->id, vendor, architecture, cpu_arch->prim_part_num,
Note: See TracChangeset for help on using the changeset viewer.