1/*
2 * Copyright (c) 2014 ETH Zurich.
3 * All rights reserved.
4 *
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, Universitaetsstrasse 6, CH-8092 Zurich. Attn: Systems Group.
8 */
9
10#ifndef VIRTIO_VIRTIO_PCI_H
11#define VIRTIO_VIRTIO_PCI_H
12
13#include <barrelfish/barrelfish.h>
14
15
16
17#define VIRTIO_PCI_VRING_ALIGNMENT 4096
18
19errval_t virtio_device_pci_alloc(struct virtio_device **dev);
20
21errval_t virtio_device_pci_free(struct virtio_device **dev);
22
23
24#endif // VIRTIO_VIRTIO_PCI_H
25