pages = Conversions.bytesToPages(bytes.toInt());
pages = Conversions.bytesToPages(bytes);
  VMResource(byte space_, String vmName, VM_Address vmStart, VM_Extent bytes, byte status_) {    space = space_;    start = vmStart;    pages = Conversions.bytesToPages(bytes.toInt());    end = start.add(bytes);    name = vmName;    index = count++;    resources[index] = this;    status = status_;    VM_Interface.setHeapRange(index, start, end);    if (end.GT(VM_Interface.MAXIMUM_MAPPABLE)) {      Log.write("\nError creating VMResrouce "); Log.write(vmName);      Log.write(" with range "); Log.write(start);      Log.write(" to "); Log.writeln(end);      Log.write("Exceeds the maximum mappable address for this OS of "); Log.writeln(VM_Interface.MAXIMUM_MAPPABLE);      VM_Interface._assert(false);    }  }