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
offset: c_ulong
< Requested physical address (0 for SAREA)
size: c_ulong
< Requested physical size (bytes)
type_: drm_map_type
< Type of memory to map
flags: drm_map_flags
< Flags
handle: *mut c_void
< User-space: "Handle" to pass to mmap() < Kernel-space: kernel-virtual address
mtrr: c_int
< MTRR slot used
Trait Implementations
impl Debug for drm_map
[src]
impl Copy for drm_map
[src]
impl Clone for drm_map
[src]
fn clone(&self) -> Self
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more