Changeset 765 for soft


Ignore:
Timestamp:
Jan 19, 2016, 4:20:25 PM (8 years ago)
Author:
alain
Message:

Introduce the giet_fat_munmap() system call.

File:
1 edited

Legend:

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

    r759 r765  
    11301130}
    11311131
     1132///////////////////////////////////////////
     1133int giet_fat_munmap( void*         vaddr,
     1134                     unsigned int  length )
     1135{
     1136    if ( length & 0xFFF )        giet_pthread_exit("error in giet_fat_mmap()");
     1137    if ( vaddr  & 0xFFF )        giet_pthread_exit("error in giet_fat_mmap()");
     1138
     1139    return sys_call( SYSCALL_FAT_MMAP,
     1140                     (unsigned int)vaddr,
     1141                     length>>12,
     1142                     0, 0 );
     1143}
    11321144
    11331145//////////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset for help on using the changeset viewer.