summaryrefslogtreecommitdiff
path: root/components/drivers/virtio/virtio_config/virtio-9p.h
blob: be870d9984bcb40b7cae9bae8865c22b7f2aeab2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
 * Copyright (c) 2006-2023, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2023-02-25     GuEe-GUI     the first version
 */

#ifndef __VIRTIO_9P_H__
#define __VIRTIO_9P_H__

#include <drivers/core/dm.h>

#define VIRTIO_9P_F_MOUNT_TAG   0

rt_packed(struct virtio_9p_config
{
    /* length of the tag name */
    rt_le16_t tag_len;
    /* non-NULL terminated tag name */
    rt_uint8_t tag[];
});

#endif /* __VIRTIO_9P_H__ */