1178476Sjb/*
2178476Sjb * Copyright (c) 2014 ETH Zurich.
3178476Sjb * All rights reserved.
4178476Sjb *
5178476Sjb * This file is distributed under the terms in the attached LICENSE file.
6178476Sjb * If you do not find this file, copies can be found by writing to:
7178476Sjb * ETH Zurich D-INFK, Universitaetsstrasse 6, CH-8092 Zurich. Attn: Systems Group.
8178476Sjb */
9178476Sjb
10178476Sjb#ifndef VIRTIO_VIRTIO_PCI_H
11178476Sjb#define VIRTIO_VIRTIO_PCI_H
12178476Sjb
13178476Sjb#include <barrelfish/barrelfish.h>
14178476Sjb
15178476Sjb
16178476Sjb
17178476Sjb#define VIRTIO_PCI_VRING_ALIGNMENT 4096
18178476Sjb
19178476Sjberrval_t virtio_device_pci_alloc(struct virtio_device **dev);
20178476Sjb
21178476Sjberrval_t virtio_device_pci_free(struct virtio_device **dev);
22178476Sjb
23178476Sjb
24178476Sjb#endif // VIRTIO_VIRTIO_PCI_H
25178476Sjb