ReactOS 0.4.16-dev-320-g3bd9ddc
|
Go to the source code of this file.
Macros | |
#define | ioread8(vdev, addr) vdev->system->vdev_read_byte((ULONG_PTR)(addr)) |
#define | ioread16(vdev, addr) vdev->system->vdev_read_word((ULONG_PTR)(addr)) |
#define | ioread32(vdev, addr) vdev->system->vdev_read_dword((ULONG_PTR)(addr)) |
#define | iowrite8(vdev, val, addr) vdev->system->vdev_write_byte((ULONG_PTR)(addr), val) |
#define | iowrite16(vdev, val, addr) vdev->system->vdev_write_word((ULONG_PTR)(addr), val) |
#define | iowrite32(vdev, val, addr) vdev->system->vdev_write_dword((ULONG_PTR)(addr), val) |
#define | iowrite64_twopart(vdev, val, lo_addr, hi_addr) |
#define | mem_alloc_contiguous_pages(vdev, size) vdev->system->mem_alloc_contiguous_pages(vdev->DeviceContext, size) |
#define | mem_free_contiguous_pages(vdev, virt) vdev->system->mem_free_contiguous_pages(vdev->DeviceContext, virt) |
#define | mem_get_physical_address(vdev, virt) vdev->system->mem_get_physical_address(vdev->DeviceContext, virt) |
#define | mem_alloc_nonpaged_block(vdev, size) vdev->system->mem_alloc_nonpaged_block(vdev->DeviceContext, size) |
#define | mem_free_nonpaged_block(vdev, addr) vdev->system->mem_free_nonpaged_block(vdev->DeviceContext, addr) |
#define | pci_read_config_byte(vdev, where, bVal) vdev->system->pci_read_config_byte(vdev->DeviceContext, where, bVal) |
#define | pci_read_config_word(vdev, where, wVal) vdev->system->pci_read_config_word(vdev->DeviceContext, where, wVal) |
#define | pci_read_config_dword(vdev, where, dwVal) vdev->system->pci_read_config_dword(vdev->DeviceContext, where, dwVal) |
#define | pci_get_resource_len(vdev, bar) vdev->system->pci_get_resource_len(vdev->DeviceContext, bar) |
#define | pci_map_address_range(vdev, bar, offset, maxlen) vdev->system->pci_map_address_range(vdev->DeviceContext, bar, offset, maxlen) |
#define | vdev_get_msix_vector(vdev, queue) vdev->system->vdev_get_msix_vector(vdev->DeviceContext, queue) |
#define | vdev_sleep(vdev, msecs) vdev->system->vdev_sleep(vdev->DeviceContext, msecs) |
Functions | |
void | vp_notify (struct virtqueue *vq) |
NTSTATUS | vio_legacy_initialize (VirtIODevice *vdev) |
NTSTATUS | vio_modern_initialize (VirtIODevice *vdev) |
Definition at line 40 of file virtio_pci_common.h.
Definition at line 42 of file virtio_pci_common.h.
Definition at line 38 of file virtio_pci_common.h.
Definition at line 46 of file virtio_pci_common.h.
Definition at line 48 of file virtio_pci_common.h.
Definition at line 50 of file virtio_pci_common.h.
Definition at line 44 of file virtio_pci_common.h.
#define mem_alloc_contiguous_pages | ( | vdev, | |
size | |||
) | vdev->system->mem_alloc_contiguous_pages(vdev->DeviceContext, size) |
Definition at line 54 of file virtio_pci_common.h.
#define mem_alloc_nonpaged_block | ( | vdev, | |
size | |||
) | vdev->system->mem_alloc_nonpaged_block(vdev->DeviceContext, size) |
Definition at line 60 of file virtio_pci_common.h.
#define mem_free_contiguous_pages | ( | vdev, | |
virt | |||
) | vdev->system->mem_free_contiguous_pages(vdev->DeviceContext, virt) |
Definition at line 56 of file virtio_pci_common.h.
#define mem_free_nonpaged_block | ( | vdev, | |
addr | |||
) | vdev->system->mem_free_nonpaged_block(vdev->DeviceContext, addr) |
Definition at line 62 of file virtio_pci_common.h.
#define mem_get_physical_address | ( | vdev, | |
virt | |||
) | vdev->system->mem_get_physical_address(vdev->DeviceContext, virt) |
Definition at line 58 of file virtio_pci_common.h.
#define pci_get_resource_len | ( | vdev, | |
bar | |||
) | vdev->system->pci_get_resource_len(vdev->DeviceContext, bar) |
Definition at line 72 of file virtio_pci_common.h.
#define pci_map_address_range | ( | vdev, | |
bar, | |||
offset, | |||
maxlen | |||
) | vdev->system->pci_map_address_range(vdev->DeviceContext, bar, offset, maxlen) |
Definition at line 74 of file virtio_pci_common.h.
#define pci_read_config_byte | ( | vdev, | |
where, | |||
bVal | |||
) | vdev->system->pci_read_config_byte(vdev->DeviceContext, where, bVal) |
Definition at line 65 of file virtio_pci_common.h.
#define pci_read_config_dword | ( | vdev, | |
where, | |||
dwVal | |||
) | vdev->system->pci_read_config_dword(vdev->DeviceContext, where, dwVal) |
Definition at line 69 of file virtio_pci_common.h.
#define pci_read_config_word | ( | vdev, | |
where, | |||
wVal | |||
) | vdev->system->pci_read_config_word(vdev->DeviceContext, where, wVal) |
Definition at line 67 of file virtio_pci_common.h.
#define vdev_get_msix_vector | ( | vdev, | |
queue | |||
) | vdev->system->vdev_get_msix_vector(vdev->DeviceContext, queue) |
Definition at line 77 of file virtio_pci_common.h.
#define vdev_sleep | ( | vdev, | |
msecs | |||
) | vdev->system->vdev_sleep(vdev->DeviceContext, msecs) |
Definition at line 79 of file virtio_pci_common.h.
NTSTATUS vio_legacy_initialize | ( | VirtIODevice * | vdev | ) |
Definition at line 269 of file VirtIOPCILegacy.c.
Referenced by virtio_device_initialize().
NTSTATUS vio_modern_initialize | ( | VirtIODevice * | vdev | ) |
Definition at line 516 of file VirtIOPCIModern.c.
Referenced by virtio_device_initialize().
Definition at line 393 of file VirtIOPCICommon.c.
Referenced by vio_legacy_setup_vq(), and vio_modern_setup_vq().