Changes between Version 151 and Version 152 of library_stdio


Ignore:
Timestamp:
Apr 28, 2016, 6:13:37 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v151 v152  
    360360=== 15) '''void* giet_fat_mmap'''( void* vaddr , unsigned int  length , unsigned int  prot , unsigned int  flags , unsigned int  fd_id , unsigned int  offset ) ===
    361361This function has the same semantic as the UNIX <mmap()> function.
    362 It allocates as many small pages (4 Kbytes) as defined by the <length> argument, from the MMAP vseg of the calling vspace.
     362It allocates as many small pages (4 Kbytes) as required by the number of bytes defined by the <length> argument, from the MMAP vseg of the calling vspace.
    363363It maps all these pages directly to the file_cache as defined by the  <fd_id> and offset arguments.
    364364Both <length> and <offset> are bytes numbers.