MMIO.advanced constructor

MMIO.advanced(
  1. int base,
  2. int size,
  3. String path
)

Map the region of physical memory specified by the base physical address and size in bytes, using the specified memory character device path.

This open function can be used with sandboxed memory character devices, e.g. /dev/gpiomem. Neither base nor size need be aligned to a page boundary.

Implementation

MMIO.advanced(this.base, this.size, this.path)
    : _mmioHandle = _mmioOpenAdvanced(base, size, path);