Changeset 626 for trunk/kernel/syscalls/sys_mmap.c
- Timestamp:
- Apr 29, 2019, 7:25:09 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/syscalls/sys_mmap.c
r625 r626 77 77 78 78 // copy attributes from user space to kernel space 79 hal_copy_from_uspace( &k_attr , attr , sizeof(mmap_attr_t) ); 79 hal_copy_from_uspace( local_cxy, 80 &k_attr, 81 attr, 82 sizeof(mmap_attr_t) ); 80 83 81 84 // get addr, fdid, offset, and length attributes … … 305 308 306 309 // copy vseg base address to user space 307 hal_copy_to_uspace( &attr->addr , &vseg->min , sizeof(intptr_t) ); 308 310 hal_copy_to_uspace( local_cxy, 311 &vseg->min, 312 &attr->addr, 313 sizeof(intptr_t) ); 309 314 hal_fence(); 310 315
Note: See TracChangeset
for help on using the changeset viewer.