Subversion Repositories HelenOS

Rev

Rev 2131 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2131 Rev 2292
Line 60... Line 60...
60
    int res;
60
    int res;
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, sysinfo_value("klog.fcolor"));
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(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);
68
                  NULL, NULL, NULL);
69
    if (res) {
69
    if (res) {
70
        printf("Failed to initialize klog memarea\n");
70
        printf("Failed to initialize klog memarea\n");