Changeset 767


Ignore:
Timestamp:
Jan 20, 2016, 10:12:04 AM (9 years ago)
Author:
alain
Message:

Bug fix in giet_fat_munmap()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_libs/stdio.c

    r766 r767  
    11341134                     unsigned int  length )
    11351135{
    1136     if ( length & 0xFFF )              giet_pthread_exit("error in giet_fat_mmap()");
    1137     if ( (unsigned int)vaddr & 0xFFF ) giet_pthread_exit("error in giet_fat_mmap()");
    1138 
    1139     return sys_call( SYSCALL_FAT_MMAP,
     1136    if ( length & 0xFFF )              giet_pthread_exit("error in giet_fat_munmap()");
     1137    if ( (unsigned int)vaddr & 0xFFF ) giet_pthread_exit("error in giet_fat_munmap()");
     1138
     1139    return sys_call( SYSCALL_FAT_MUNMAP,
    11401140                     (unsigned int)vaddr,
    11411141                     length>>12,
Note: See TracChangeset for help on using the changeset viewer.