The idea is to use mmap function to map a memory-mapped components on FPGA, or a contiguous non-cacheable region of physical memory (not managed by the OS virtual memory) to the current software process's virtual memory space.