Changes between Version 151 and Version 152 of library_stdio
- Timestamp:
- Apr 28, 2016, 6:13:37 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v151 v152 360 360 === 15) '''void* giet_fat_mmap'''( void* vaddr , unsigned int length , unsigned int prot , unsigned int flags , unsigned int fd_id , unsigned int offset ) === 361 361 This 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.362 It 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. 363 363 It maps all these pages directly to the file_cache as defined by the <fd_id> and offset arguments. 364 364 Both <length> and <offset> are bytes numbers.