The information was useful the program works fine, but i need to know more about the parameters of mmap, where can i see more information?
 

 
2007/2/17, Nikolaos Trikoupis <trikoupi@gmail.com>:
After searching the code I found:


PROT_READ | PROT_WRITE,
               MAP_SHARED,
               fd,
#ifdef __ARM_EABI__
addr / MAP_SIZE
#else
addr & ~MAP_MASK
#endif
);
    if (map == (void*)-1 ) {
        perror("mmap()");

which seems to solve the problem.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users