class VirtualAddressCursor

Defined at line 15 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

Helper that tracks a virtual address range for performing MMU operations. This can be used

directly, or by as part of a MappingCursor.

Public Methods

void VirtualAddressCursor (vaddr_t vaddr, size_t size)

Defined at line 17 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

bool SetVaddrRelativeOffset (vaddr_t vaddr_rel_offset, size_t vaddr_rel_max)

Sets offset used for |vaddr_rel| and returns true if the cursor lies within that offset and

some specified maximum. Should only be called before the cursor has started to be used.

Defined at line 22 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

void SkipEntry (size_t ps)

Update the cursor to skip over a not-present page table entry.

Defined at line 34 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

void Consume (size_t ps)

Defined at line 51 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

VirtualAddressCursor ProcessedRange ()

Returns a new cursor to the, possibly empty, virtual range that has already been processed by

this cursor. The returned cursor will always be a subset of the original cursors range.

Defined at line 59 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

vaddr_t vaddr ()

Defined at line 66 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

vaddr_t vaddr_rel ()

Defined at line 68 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h

size_t size ()

Defined at line 70 of file ../../zircon/kernel/vm/include/vm/mapping_cursor.h