mmap() and munmap()

2 posts / 0 new
Last post
billyfish's picture
Last seen: 2 years 11 months ago
Joined: 2012-01-23 20:45
mmap() and munmap()


As part of the process of porting the up to date version of libgit2, I need to implement mmap () and umap () and was wondering if anyone has done any work on porting these to OS4 or any tips. More details are here.



hypex's picture
Last seen: 4 weeks 3 hours ago
Joined: 2011-09-09 16:20
Re: mmap() and munmap()

I got stuck on this when fixing the UBoot mkimage command to work on OS4 years ago. You will somehow need to flush the memory cache to disk. But I recall OS4 was meant to have some sort of support for files that were modified by wriitng to virtual memory. This is a much smaller project but if it helps in anyway the source I modified is here.

Log in or register to post comments