Fill info with the pointer and sizes of the memory in mem that can be
accessed according to flags.
This function can return FALSE for various reasons:
- the memory backed by mem is not accessible with the given flags.
- the memory was already mapped with a different mapping.
info and its contents remain valid for as long as mem is valid and
until Memory.unmap is called.
Fill info with the pointer and sizes of the memory in mem that can be accessed according to flags.
This function can return FALSE for various reasons: - the memory backed by mem is not accessible with the given flags. - the memory was already mapped with a different mapping.
info and its contents remain valid for as long as mem is valid and until Memory.unmap is called.
For each Memory.map call, a corresponding Memory.unmap call should be done.