blob: 182baf7ecad8e9f11876ee8d16741d1a0ec7b522 [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>
12struct virtio_pmem_config {
Christopher Ferris25c18d42020-10-14 17:42:58 -070013 __le64 start;
14 __le64 size;
Christopher Ferrisb8a95e22019-10-02 18:29:20 -070015};
16#define VIRTIO_PMEM_REQ_TYPE_FLUSH 0
17struct virtio_pmem_resp {
18 __le32 ret;
19};
20struct virtio_pmem_req {
21 __le32 type;
Ben Cheng655a7c02013-10-16 16:09:24 -070022};
Ben Cheng655a7c02013-10-16 16:09:24 -070023#endif