Ignore:
Timestamp:
Aug 14, 2017, 11:39:03 AM (4 years ago)
Author:
alain
Message:

Change Time unit from cycle to TICK (in millisecond).
Fix several bugs in VFS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/kernel/libk/elf.c

    r337 r367  
    238238        }
    239239
    240     elf_dmsg("\n[INFO] %s : file <%s> open\n", __FUNCTION__ , pathname );
     240    elf_dmsg("\n[INFO] %s : open file <%s>\n", __FUNCTION__ , pathname );
    241241
    242242        // load header in local buffer
     
    288288        }
    289289
     290        elf_dmsg("\n[INFO] %s : segments array allocated for %s\n", __FUNCTION__ , pathname );
     291
    290292        // load seg descriptors array to local buffer
    291         error = vfs_user_move( true,       // to_buffer
    292                                file_xp,
    293                                segs_base,
    294                                segs_size );
     293        error = vfs_kernel_move( true,                  // to_buffer
     294                                 file_xp,
     295                                 XPTR( local_cxy , segs_base ),
     296                                 segs_size );
    295297
    296298        if( error )
Note: See TracChangeset for help on using the changeset viewer.