[][src]Enum kernel::virtio::VIRTIO_MMIO

pub enum VIRTIO_MMIO {
    MAGIC_VALUE,
    VERSION,
    DEVICE_ID,
    VENDOR_ID,
    DEVICE_FEATURES,
    DRIVER_FEATURES,
    GUEST_PAGE_SIZE,
    QUEUE_SEL,
    QUEUE_NUM_MAX,
    QUEUE_NUM,
    QUEUE_ALIGN,
    QUEUE_PFN,
    QUEUE_READY,
    QUEUE_NOTIFY,
    INTERRUPT_STATUS,
    INTERRUPT_ACK,
    STATUS,
}

VIRTIO MMIO address offset

Variants

MAGIC_VALUE
VERSION
DEVICE_ID
VENDOR_ID
DEVICE_FEATURES
DRIVER_FEATURES
GUEST_PAGE_SIZE
QUEUE_SEL
QUEUE_NUM_MAX
QUEUE_NUM
QUEUE_ALIGN
QUEUE_PFN
QUEUE_READY
QUEUE_NOTIFY
INTERRUPT_STATUS
INTERRUPT_ACK
STATUS

Implementations

impl VIRTIO_MMIO[src]

pub const fn val(self) -> usize[src]

Get address of MMIO from enum

pub const fn ptr(self) -> *mut u32[src]

Get pointer to MMIO register from enum