Struct drm_sys::drm_map [] [src]

#[repr(C)]
pub struct drm_map { pub offset: c_ulong, pub size: c_ulong, pub type_: drm_map_type, pub flags: drm_map_flags, pub handle: *mut c_void, pub mtrr: c_int, }

DRM_IOCTL_GET_MAP, DRM_IOCTL_ADD_MAP and DRM_IOCTL_RM_MAP ioctls argument type.

\sa drmAddMap().

Fields

< Requested physical address (0 for SAREA)

< Requested physical size (bytes)

< Type of memory to map

< Flags

< User-space: "Handle" to pass to mmap() < Kernel-space: kernel-virtual address

< MTRR slot used

Trait Implementations

impl Debug for drm_map
[src]

Formats the value using the given formatter.

impl Copy for drm_map
[src]

impl Clone for drm_map
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for drm_map
[src]

Returns the "default value" for a type. Read more