/** * Map a portion of the device into memory and return a pointer which can be * used to read/write the device. * * @param len number of bytes to map * @return a pointer that can be used to access the device memory */ public Pointer mmap(long len) throws LastErrorException { return super.mmap(len, PROT_READ | PROT_WRITE, MAP_SHARED, 0); } }