Changeset 89c57b6 in mainline for kernel/generic/src/main/kinit.c
- Timestamp:
- 2011-04-13T14:45:41Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 88634420
- Parents:
- cefb126 (diff), 17279ead (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
rcefb126 r89c57b6 129 129 * For each CPU, create its load balancing thread. 130 130 */ 131 size_t i;131 unsigned int i; 132 132 133 133 for (i = 0; i < config.cpu_count; i++) { … … 139 139 thread_ready(thread); 140 140 } else 141 printf("Unable to create kcpulb thread for cpu " PRIs "\n", i);141 printf("Unable to create kcpulb thread for cpu%u\n", i); 142 142 } 143 143 } … … 179 179 for (i = 0; i < init.cnt; i++) { 180 180 if (init.tasks[i].addr % FRAME_SIZE) { 181 printf("init[% " PRIs "].addr is not frame aligned\n", i);181 printf("init[%zu].addr is not frame aligned\n", i); 182 182 programs[i].task = NULL; 183 183 continue; … … 208 208 */ 209 209 cap_set(programs[i].task, CAP_CAP | CAP_MEM_MANAGER | 210 CAP_IO_MANAGER | CAP_ PREEMPT_CONTROL | CAP_IRQ_REG);210 CAP_IO_MANAGER | CAP_IRQ_REG); 211 211 212 212 if (!ipc_phone_0) … … 219 219 220 220 if (rd != RE_OK) 221 printf("Init binary % " PRIs "not used (error %d)\n", i, rd);221 printf("Init binary %zu not used (error %d)\n", i, rd); 222 222 } 223 223 }
Note:
See TracChangeset
for help on using the changeset viewer.