Rev 1412 | Rev 1427 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1412 | Rev 1418 | ||
|---|---|---|---|
| Line 338... | Line 338... | ||
| 338 | return 0; |
338 | return 0; |
| 339 | } |
339 | } |
| 340 | 340 | ||
| 341 | memcpy(as_area, "Hello world.\n", 14); |
341 | memcpy(as_area, "Hello world.\n", 14); |
| 342 | 342 | ||
| 343 | retval = ipc_call_sync_2(PHONE_NS, IPC_M_AS_AREA_SEND, 0, (sysarg_t) as_area, |
343 | retval = ipc_call_sync_3(PHONE_NS, IPC_M_AS_AREA_SEND, (sysarg_t) as_area, 0, AS_AREA_READ, |
| 344 | NULL, NULL); |
344 | NULL, NULL, NULL); |
| 345 | if (retval) { |
345 | if (retval) { |
| 346 | printf("AS_AREA_SEND failed.\n"); |
346 | printf("AS_AREA_SEND failed.\n"); |
| 347 | return 0; |
347 | return 0; |
| 348 | } |
348 | } |
| 349 | printf("Done\n"); |
349 | printf("Done\n"); |
| Line 390... | Line 390... | ||
| 390 | // test_async_ipc(); |
390 | // test_async_ipc(); |
| 391 | // test_advanced_ipc(); |
391 | // test_advanced_ipc(); |
| 392 | // test_connection_ipc(); |
392 | // test_connection_ipc(); |
| 393 | // test_hangup(); |
393 | // test_hangup(); |
| 394 | // test_slam(); |
394 | // test_slam(); |
| 395 | // test_as_area_send(); |
395 | test_as_area_send(); |
| 396 | // test_pci(); |
396 | // test_pci(); |
| 397 | test_kbd(); |
397 | test_kbd(); |
| 398 | // test_fb(); |
398 | // test_fb(); |
| 399 | 399 | ||
| 400 | printf("Hello\nThis is Init\n\nBye."); |
400 | printf("Hello\nThis is Init\n\nBye."); |