Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / lib / libvirtio / virtio-9p.h
1 /******************************************************************************
2  * Copyright (c) 2011 IBM Corporation
3  * All rights reserved.
4  * This program and the accompanying materials
5  * are made available under the terms of the BSD License
6  * which accompanies this distribution, and is available at
7  * http://www.opensource.org/licenses/bsd-license.php
8  *
9  * Contributors:
10  *     IBM Corporation - initial implementation
11  *****************************************************************************/
12
13 #ifndef VIRTIO_9P_H_
14 #define VIRTIO_9P_H_
15
16 #include <stdint.h>
17
18 #include "virtio.h"
19
20 #if 0
21 typedef struct {
22     uint16_t tag_lenth;
23     char tag[0];
24 } virtio_9p_config_t;
25 #endif
26 int virtio_9p_init(struct virtio_device *dev, void *tx_buf, void *rx_buf,
27                    int buf_size);
28 void virtio_9p_shutdown(struct virtio_device *dev);
29 int virtio_9p_load(struct virtio_device *dev, const char *file_name, uint8_t *buffer);
30
31
32 #endif /* VIRTIO_9P_H_ */