Changeset 367 for trunk/kernel/mm
- Timestamp:
- Aug 14, 2017, 11:39:03 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/mapper.c
r334 r367 218 218 219 219 // launch I/O operation to load page from file system 220 error = vfs_mapper_move_page( page , true ); // to mapper 220 error = vfs_mapper_move_page( page, 221 true ); // to mapper 221 222 222 223 if( error ) … … 448 449 449 450 // get page base address 450 uint8_t * base = (uint8_t *)GET_PTR( XPTR( local_cxy , page ) ); 451 xptr_t base_xp = ppm_page2base( XPTR( local_cxy , page ) ); 452 uint8_t * base_ptr = (uint8_t *)GET_PTR( base_xp ); 451 453 452 454 // compute source and destination pointers … … 454 456 { 455 457 dst_ptr = buffer_ptr + done; 456 src_ptr = base + page_offset;458 src_ptr = base_ptr + page_offset; 457 459 } 458 460 else 459 461 { 460 462 src_ptr = buffer_ptr + done; 461 dst_ptr = base + page_offset;463 dst_ptr = base_ptr + page_offset; 462 464 463 465 page_do_dirty( page );
Note: See TracChangeset
for help on using the changeset viewer.