Annotation of qemu/roms/SLOF/lib/libvirtio/virtio-9p.h, revision 1.1.1.1

1.1       root        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: typedef struct {
                     21:     uint16_t tag_lenth;
                     22:     char tag[0];
                     23: } virtio_9p_config_t;
                     24: 
                     25: int virtio_9p_init(struct virtio_device *dev, void *tx_buf, void *rx_buf,
                     26:                   int buf_size);
                     27: void virtio_9p_shutdown(struct virtio_device *dev);
                     28: int virtio_9p_load(struct virtio_device *dev, const char *file_name, uint8_t *buffer);
                     29: 
                     30: 
                     31: #endif /* VIRTIO_9P_H_ */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.