this is a example of how to use mmap with "/dev/mem" in user space.