Changeset 566 for trunk/kernel/syscalls/sys_mmap.c
- Timestamp:
- Oct 4, 2018, 11:50:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_mmap.c
r506 r566 156 156 // get inode pointer, mapper pointer and file attributes 157 157 vfs_inode_t * inode_ptr = hal_remote_lpt(XPTR(file_cxy , &file_ptr->inode )); 158 uint32_t file_attr = hal_remote_l w(XPTR(file_cxy , &file_ptr->attr ));158 uint32_t file_attr = hal_remote_l32 (XPTR(file_cxy , &file_ptr->attr )); 159 159 mapper_t * mapper_ptr = hal_remote_lpt(XPTR(file_cxy , &file_ptr->mapper)); 160 160 161 161 // get file size 162 uint32_t size = hal_remote_l w( XPTR( file_cxy , &inode_ptr->size ) );162 uint32_t size = hal_remote_l32( XPTR( file_cxy , &inode_ptr->size ) ); 163 163 164 164 // chek offset and length arguments
Note: See TracChangeset
for help on using the changeset viewer.