Turnstone Operating System
Loading...
Searching...
No Matches
virtio.64.c File Reference

Virtio driver for 64-bit systems. More...

#include <driver/virtio.h>
#include <memory.h>
#include <memory/frame.h>
#include <memory/paging.h>
#include <acpi.h>
#include <acpi/aml.h>
#include <logging.h>
#include <time/timer.h>
#include <ports.h>
#include <apic.h>

Functions

 MODULE ("turnstone.kernel.hw.virtio")
 
int8_t virtio_init_legacy (virtio_dev_t *vdev, virtio_select_features_f select_features, virtio_create_queues_f create_queues)
 
int8_t virtio_init_modern (virtio_dev_t *vdev, virtio_select_features_f select_features, virtio_create_queues_f create_queues)
 
int8_t virtio_create_queue (virtio_dev_t *vdev, uint16_t queue_no, uint64_t queue_item_size, boolean_t write, boolean_t iter_rw, virtio_queue_item_builder_f item_builder, interrupt_irq modern, interrupt_irq legacy)
 
virtio_dev_tvirtio_get_device (const pci_dev_t *pci_dev)
 
int8_t virtio_init_dev (virtio_dev_t *vdev, virtio_select_features_f select_features, virtio_create_queues_f create_queues)
 

Detailed Description

Virtio driver for 64-bit systems.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.