diff options
| author | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
|---|---|---|
| committer | Kacper <kacper@mail.openlinux.dev> | 2025-12-07 20:10:31 +0100 |
| commit | fc00c656c96528112d05cf0edf8631bd5eaea446 (patch) | |
| tree | a6e0e6c588191a8bd1c64afc3b7a258e3e66c236 /include/arch/x86_64/linux/virtio_fs.h | |
Add build system scaffolding and libc headers
Diffstat (limited to 'include/arch/x86_64/linux/virtio_fs.h')
| -rw-r--r-- | include/arch/x86_64/linux/virtio_fs.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/arch/x86_64/linux/virtio_fs.h b/include/arch/x86_64/linux/virtio_fs.h new file mode 100644 index 00000000..8d58fd7f --- /dev/null +++ b/include/arch/x86_64/linux/virtio_fs.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) + */ + +#ifndef _LINUX_VIRTIO_FS_H +#define _LINUX_VIRTIO_FS_H + +#include <linux/types.h> +#include <linux/virtio_ids.h> +#include <linux/virtio_config.h> +#include <linux/virtio_types.h> + +struct virtio_fs_config { + /* Filesystem name (UTF-8, not NUL-terminated, padded with NULs) */ + __u8 tag[36]; + + /* Number of request queues */ + __le32 num_request_queues; +} __attribute__((packed)); + +/* For the id field in virtio_pci_shm_cap */ +#define VIRTIO_FS_SHMCAP_ID_CACHE 0 + +#endif /* _LINUX_VIRTIO_FS_H */ |
