Changeset 23 for trunk/kernel/devices/dev_fbf.c
- Timestamp:
- Jun 18, 2017, 10:06:41 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/devices/dev_fbf.c
r14 r23 57 57 uint32_t impl = chdev->impl; 58 58 59 // set chdev name 60 strcpy( chdev->name, "fbf" ); 59 61 // call driver init function 60 62 if( impl == IMPL_FBF_SCL ) … … 136 138 error_t error; 137 139 paddr_t buf_paddr; 138 bool_t ident = CONFIG_KERNEL_IDENTITY;139 140 140 141 thread_t * this = CURRENT_THREAD; // pointer on client thread 141 142 142 143 // 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 ); 144 145 145 146 if( error )
Note: See TracChangeset
for help on using the changeset viewer.