Rev 2479 | Rev 2677 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2479 | Rev 2615 | ||
---|---|---|---|
Line 61... | Line 61... | ||
61 | void *mapping; |
61 | void *mapping; |
62 | 62 | ||
63 | printf("Kernel console output.\n"); |
63 | printf("Kernel console output.\n"); |
64 | 64 | ||
65 | mapping = as_get_mappable_page(PAGE_SIZE); |
65 | mapping = as_get_mappable_page(PAGE_SIZE); |
66 | res = ipc_call_sync_3(PHONE_NS, IPC_M_AS_AREA_RECV, |
66 | res = ipc_call_sync_3_0(PHONE_NS, IPC_M_AS_AREA_RECV, |
67 | (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_KLOG, |
67 | (sysarg_t) mapping, PAGE_SIZE, SERVICE_MEM_KLOG); |
68 | NULL, NULL, NULL); |
- | |
69 | if (res) { |
68 | if (res) { |
70 | printf("Failed to initialize klog memarea\n"); |
69 | printf("Failed to initialize klog memarea\n"); |
71 | _exit(1); |
70 | _exit(1); |
72 | } |
71 | } |
73 | klog = mapping; |
72 | klog = mapping; |