mmap() and munmap()

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

Hi

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.

cheers

billy

hypex
hypex's picture
Offline
Last seen: 1 month 2 weeks 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.

http://os4depot.net/?function=showfile&file=utility/archive/uboot_mkimage.lha

Log in or register to post comments