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.
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.