MMIO constructor

MMIO(
  1. int base,
  2. int size
)

Maps the region of physical memory specified by the base physical address and size in bytes, using the default /dev/mem memory character device.

Neither base nor size need be aligned to a page boundary.

Implementation

MMIO(this.base, this.size)
    : path = '',
      _mmioHandle = _mmioOpen(base, size);