Rev 4012 | Rev 4154 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4012 | Rev 4014 | ||
---|---|---|---|
Line 95... | Line 95... | ||
95 | ipc_answer_0(callid, EINVAL); |
95 | ipc_answer_0(callid, EINVAL); |
96 | ipc_answer_0(rid, EINVAL); |
96 | ipc_answer_0(rid, EINVAL); |
97 | return; |
97 | return; |
98 | } |
98 | } |
99 | 99 | ||
100 | if (len > sizeof(task_id)) len = sizeof(task_id); |
100 | if (len > sizeof(task_id)) |
- | 101 | len = sizeof(task_id); |
|
101 | 102 | ||
102 | ipc_data_read_finalize(callid, &task_id, len); |
103 | ipc_data_read_finalize(callid, &task_id, len); |
103 | ipc_answer_0(rid, EOK); |
104 | ipc_answer_0(rid, EOK); |
104 | } |
105 | } |
105 | 106 | ||
Line 283... | Line 284... | ||
283 | DPRINTF("Entry point: 0x%lx\n", interp_info.entry); |
284 | DPRINTF("Entry point: 0x%lx\n", interp_info.entry); |
284 | close_console(); |
285 | close_console(); |
285 | 286 | ||
286 | ipc_answer_0(rid, EOK); |
287 | ipc_answer_0(rid, EOK); |
287 | elf_run(&interp_info, &pcb); |
288 | elf_run(&interp_info, &pcb); |
288 | - | ||
289 | } else { |
289 | } else { |
290 | /* Statically linked program */ |
290 | /* Statically linked program */ |
291 | close_console(); |
291 | close_console(); |
292 | ipc_answer_0(rid, EOK); |
292 | ipc_answer_0(rid, EOK); |
293 | elf_run(&prog_info, &pcb); |
293 | elf_run(&prog_info, &pcb); |
Line 317... | Line 317... | ||
317 | 317 | ||
318 | /* Accept the connection */ |
318 | /* Accept the connection */ |
319 | ipc_answer_0(iid, EOK); |
319 | ipc_answer_0(iid, EOK); |
320 | 320 | ||
321 | /* Ignore parameters, the connection is already open */ |
321 | /* Ignore parameters, the connection is already open */ |
- | 322 | (void) iid; |
|
322 | (void)iid; (void)icall; |
323 | (void) icall; |
323 | 324 | ||
324 | while (1) { |
325 | while (1) { |
325 | callid = async_get_call(&call); |
326 | callid = async_get_call(&call); |
326 | 327 | ||
327 | switch (IPC_GET_METHOD(call)) { |
328 | switch (IPC_GET_METHOD(call)) { |