ReactOS 0.4.15-dev-8339-g4028de8
virtio_system_ops Struct Reference

#include <virtio_pci.h>

Collaboration diagram for virtio_system_ops:

Public Attributes

u8(* vdev_read_byte )(ULONG_PTR ulRegister)
u16(* vdev_read_word )(ULONG_PTR ulRegister)
u32(* vdev_read_dword )(ULONG_PTR ulRegister)
void(* vdev_write_byte )(ULONG_PTR ulRegister, u8 bValue)
void(* vdev_write_word )(ULONG_PTR ulRegister, u16 wValue)
void(* vdev_write_dword )(ULONG_PTR ulRegister, u32 ulValue)
void *(* mem_alloc_contiguous_pages )(void *context, size_t size)
void(* mem_free_contiguous_pages )(void *context, void *virt)
ULONGLONG(* mem_get_physical_address )(void *context, void *virt)
void *(* mem_alloc_nonpaged_block )(void *context, size_t size)
void(* mem_free_nonpaged_block )(void *context, void *addr)
int(* pci_read_config_byte )(void *context, int where, u8 *bVal)
int(* pci_read_config_word )(void *context, int where, u16 *wVal)
int(* pci_read_config_dword )(void *context, int where, u32 *dwVal)
size_t(* pci_get_resource_len )(void *context, int bar)
void *(* pci_map_address_range )(void *context, int bar, size_t offset, size_t maxlen)
u16(* vdev_get_msix_vector )(void *context, int queue)
void(* vdev_sleep )(void *context, unsigned int msecs)

Detailed Description

Definition at line 168 of file virtio_pci.h.

Member Data Documentation

◆ mem_alloc_contiguous_pages

void *(* virtio_system_ops::mem_alloc_contiguous_pages) (void *context, size_t size)

Definition at line 178 of file virtio_pci.h.

◆ mem_alloc_nonpaged_block

void *(* virtio_system_ops::mem_alloc_nonpaged_block) (void *context, size_t size)

Definition at line 181 of file virtio_pci.h.

◆ mem_free_contiguous_pages

void(* virtio_system_ops::mem_free_contiguous_pages) (void *context, void *virt)

Definition at line 179 of file virtio_pci.h.

◆ mem_free_nonpaged_block

void(* virtio_system_ops::mem_free_nonpaged_block) (void *context, void *addr)

Definition at line 182 of file virtio_pci.h.

◆ mem_get_physical_address

ULONGLONG(* virtio_system_ops::mem_get_physical_address) (void *context, void *virt)

Definition at line 180 of file virtio_pci.h.

◆ pci_get_resource_len

size_t(* virtio_system_ops::pci_get_resource_len) (void *context, int bar)

Definition at line 190 of file virtio_pci.h.

◆ pci_map_address_range

void *(* virtio_system_ops::pci_map_address_range) (void *context, int bar, size_t offset, size_t maxlen)

Definition at line 191 of file virtio_pci.h.

◆ pci_read_config_byte

int(* virtio_system_ops::pci_read_config_byte) (void *context, int where, u8 *bVal)

Definition at line 185 of file virtio_pci.h.

◆ pci_read_config_dword

int(* virtio_system_ops::pci_read_config_dword) (void *context, int where, u32 *dwVal)

Definition at line 187 of file virtio_pci.h.

◆ pci_read_config_word

int(* virtio_system_ops::pci_read_config_word) (void *context, int where, u16 *wVal)

Definition at line 186 of file virtio_pci.h.

◆ vdev_get_msix_vector

u16(* virtio_system_ops::vdev_get_msix_vector) (void *context, int queue)

Definition at line 194 of file virtio_pci.h.

◆ vdev_read_byte

u8(* virtio_system_ops::vdev_read_byte) (ULONG_PTR ulRegister)

Definition at line 170 of file virtio_pci.h.

◆ vdev_read_dword

u32(* virtio_system_ops::vdev_read_dword) (ULONG_PTR ulRegister)

Definition at line 172 of file virtio_pci.h.

◆ vdev_read_word

u16(* virtio_system_ops::vdev_read_word) (ULONG_PTR ulRegister)

Definition at line 171 of file virtio_pci.h.

◆ vdev_sleep

void(* virtio_system_ops::vdev_sleep) (void *context, unsigned int msecs)

Definition at line 195 of file virtio_pci.h.

◆ vdev_write_byte

void(* virtio_system_ops::vdev_write_byte) (ULONG_PTR ulRegister, u8 bValue)

Definition at line 173 of file virtio_pci.h.

◆ vdev_write_dword

void(* virtio_system_ops::vdev_write_dword) (ULONG_PTR ulRegister, u32 ulValue)

Definition at line 175 of file virtio_pci.h.

◆ vdev_write_word

void(* virtio_system_ops::vdev_write_word) (ULONG_PTR ulRegister, u16 wValue)

Definition at line 174 of file virtio_pci.h.

The documentation for this struct was generated from the following file: