Changeset 228b135 in mainline
- Timestamp:
- 2006-11-28T10:55:43Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d4b5542
- Parents:
- 22f851e
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/Makefile
r22f851e r228b135 178 178 generic/src/mm/backend_phys.c \ 179 179 generic/src/mm/slab.c \ 180 generic/src/mm/rd.c \ 180 181 generic/src/lib/func.c \ 181 182 generic/src/lib/memstr.c \ -
kernel/generic/src/main/kinit.c
r22f851e r228b135 62 62 #include <console/kconsole.h> 63 63 #include <security/cap.h> 64 #include <mm/rd.h> 64 65 65 66 #ifdef CONFIG_SMP … … 159 160 #else /* CONFIG_TEST */ 160 161 161 task_t *utask;162 162 count_t i; 163 163 for (i = 0; i < init.cnt; i++) { 164 164 /* 165 * Run user tasks .165 * Run user tasks, load RAM disk images. 166 166 */ 167 167 168 if (init.tasks[i].addr % FRAME_SIZE) 169 panic("init[%d].addr is not frame aligned", i); 170 171 utask = task_run_program((void *) init.tasks[i].addr, "USPACE"); 168 if (init.tasks[i].addr % FRAME_SIZE) { 169 printf("init[%d].addr is not frame aligned", i); 170 continue; 171 } 172 173 task_t *utask = task_run_program((void *) init.tasks[i].addr, "USPACE"); 172 174 if (utask) { 173 175 /* … … 178 180 if (!ipc_phone_0) 179 181 ipc_phone_0 = &utask->answerbox; 180 } else 181 printf("Init task %zd not started.\n", i); 182 } else { 183 bool rd = init_rd((void *) init.tasks[i].addr); 184 185 if (!rd) 186 printf("Init binary %zd not used.\n", i); 187 } 182 188 } 183 189 -
kernel/generic/src/main/main.c
r22f851e r228b135 235 235 printf("init[%zd].addr=%.*p, init[%zd].size=%zd\n", i, sizeof(uintptr_t) * 2, init.tasks[i].addr, i, init.tasks[i].size); 236 236 } else 237 printf("No init tasks found\n");237 printf("No init binaries found\n"); 238 238 239 239 ipc_init(); -
uspace/Makefile
r22f851e r228b135 43 43 tetris \ 44 44 ipcc \ 45 klog 45 klog \ 46 rd 46 47 47 48 ifeq ($(ARCH), amd64) -
uspace/libc/include/ipc/services.h
r22f851e r228b135 42 42 #define SERVICE_VIDEO 3 43 43 #define SERVICE_CONSOLE 4 44 #define SERVICE_RD 5 44 45 45 46 /* Memory area to be received from NS */
Note:
See TracChangeset
for help on using the changeset viewer.