memobj_get_phys_layout()
Determine the physical addresses of a memory object
Synopsis:
#include <memobj/physmem.h>
const struct memobj_phys_segment * memobj_get_phys_layout(struct memobj *obj)
Arguments:
- obj
- A handle to a memory object.
Library:
libmemobjDescription:
The memobj_get_phys_layou()) function determines the physical addresses of a memory object. It may only be called while an object is locked.
Returns:
A pointer to a linked list of memory segments. If the object is physically contiguous, the next pointer is NULL and nbytes is the full size of the object.
Page updated:
