Changeset 8ecb3067 in mainline
- Timestamp:
- 2007-02-05T14:18:26Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 42193ad
- Parents:
- 828aa05
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/cpu/cpu.c
r828aa05 r8ecb3067 57 57 */ 58 58 void cpu_init(void) { 59 int i, j;59 unsigned int i, j; 60 60 61 61 #ifdef CONFIG_SMP … … 70 70 memsetb((uintptr_t) cpus, sizeof(cpu_t) * config.cpu_count, 0); 71 71 72 for (i =0; i < config.cpu_count; i++) {72 for (i = 0; i < config.cpu_count; i++) { 73 73 cpus[i].stack = (uint8_t *) frame_alloc(STACK_FRAMES, FRAME_KA | FRAME_ATOMIC); 74 74 … … 99 99 void cpu_list(void) 100 100 { 101 int i;101 unsigned int i; 102 102 103 103 for (i = 0; i < config.cpu_count; i++) {
Note:
See TracChangeset
for help on using the changeset viewer.