Create entire readable pages to handle the [start, end) range.
Note that both start and end must be multiple of the PAGE_SIZE, i.e.
they need to be the start indices of the pages.
The data passed will be placed at start, but might be shorter than the requested range,
prepend it with zeros if you don't wish to have it at the beginning of the page.
Create entire writeable pages to handle the [start, end) range.
Note that both start and end must be multiple of the PAGE_SIZE, i.e.
they need to be the start indices of the pages.
The data passed will be placed at start, but might be shorter than the requested range,
prepend it with zeros if you don't wish to have it at the beginning of the page.
This function can be useful when page map and initial memory data are provided separatelly. You can use setWriteablePages/setReadablePages to create empty pages and then setData to fill them