code: def _map_fb_memory(fbfid, fix_info):
          
          return mmap.mmap(
              fbfid,
              fix_info.smem_len,
              mmap.MAP_SHARED,
              mmap.PROT_READ | mmap.PROT_WRITE,
              offset=0
          )
docs: Map the framebuffer memory.