Rev 3153 | Rev 4345 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3153 | Rev 3560 | ||
---|---|---|---|
Line 77... | Line 77... | ||
77 | klog = (char *) as_get_mappable_page(KLOG_SIZE); |
77 | klog = (char *) as_get_mappable_page(KLOG_SIZE); |
78 | if (klog == NULL) { |
78 | if (klog == NULL) { |
79 | printf(NAME ": Error allocating memory area\n"); |
79 | printf(NAME ": Error allocating memory area\n"); |
80 | return -1; |
80 | return -1; |
81 | } |
81 | } |
- | 82 | ||
- | 83 | printf("got area at 0x%08lx, length %lx byes\n", klog, KLOG_SIZE); |
|
82 | 84 | ||
83 | int res = ipc_share_in_start_1_0(PHONE_NS, (void *) klog, KLOG_SIZE, |
85 | int res = ipc_share_in_start_1_0(PHONE_NS, (void *) klog, KLOG_SIZE, |
84 | SERVICE_MEM_KLOG); |
86 | SERVICE_MEM_KLOG); |
85 | if (res != EOK) { |
87 | if (res != EOK) { |
86 | printf(NAME ": Error initializing memory area\n"); |
88 | printf(NAME ": Error initializing memory area\n"); |