add framework for mmap2 syscall unit to vary by arch