blob: da0f764baceccc346547e7ab21917293ee86ba87 [file] [log] [blame]
Elliott Hughes180edef2023-11-02 00:08:05 +00001/*
2 * This file is auto-generated. Modifications will be lost.
3 *
4 * See https://android.googlesource.com/platform/bionic/+/master/libc/kernel/
5 * for more information.
6 */
Christopher Ferrisb8a95e22019-10-02 18:29:20 -07007#ifndef _UAPI_LINUX_VIRTIO_PMEM_H
8#define _UAPI_LINUX_VIRTIO_PMEM_H
9#include <linux/types.h>
10#include <linux/virtio_ids.h>
11#include <linux/virtio_config.h>
Christopher Ferrisb830ddf2024-03-28 11:48:08 -070012#define VIRTIO_PMEM_F_SHMEM_REGION 0
13#define VIRTIO_PMEM_SHMEM_REGION_ID 0
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070014struct virtio_pmem_config {
Christopher Ferris25c18d42020-10-14 17:42:58 -070015 __le64 start;
16 __le64 size;
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070017};
18#define VIRTIO_PMEM_REQ_TYPE_FLUSH 0
19struct virtio_pmem_resp {
20 __le32 ret;
21};
22struct virtio_pmem_req {
23 __le32 type;
Ben Cheng655a7c02013-10-16 16:09:24 -070024};
Ben Cheng655a7c02013-10-16 16:09:24 -070025#endif