Ignore:
Timestamp:
Jun 18, 2017, 10:06:41 PM (7 years ago)
Author:
alain
Message:

Introduce syscalls.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/devices/dev_fbf.c

    r14 r23  
    5757    uint32_t  impl = chdev->impl;
    5858
     59    // set chdev name
     60    strcpy( chdev->name, "fbf" );
    5961    // call driver init function
    6062    if( impl == IMPL_FBF_SCL )
     
    136138    error_t     error;
    137139    paddr_t     buf_paddr;
    138     bool_t      ident = CONFIG_KERNEL_IDENTITY;
    139140
    140141    thread_t * this = CURRENT_THREAD;              // pointer on client thread
    141142
    142143    // Get buffer physical address
    143     error = vmm_v2p_translate( ident , buffer , &buf_paddr );
     144    error = vmm_v2p_translate( CONFIG_KERNEL_IDENTITY_MAP , buffer , &buf_paddr );
    144145 
    145146    if( error )
Note: See TracChangeset for help on using the changeset viewer.