Elliott Hughes | 180edef | 2023-11-02 00:08:05 +0000 | [diff] [blame] | 1 | /* |
| 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 Ferris | b8a95e2 | 2019-10-02 18:29:20 -0700 | [diff] [blame] | 7 | #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> |
| 12 | struct virtio_pmem_config { |
Christopher Ferris | 25c18d4 | 2020-10-14 17:42:58 -0700 | [diff] [blame] | 13 | __le64 start; |
| 14 | __le64 size; |
Christopher Ferris | b8a95e2 | 2019-10-02 18:29:20 -0700 | [diff] [blame] | 15 | }; |
| 16 | #define VIRTIO_PMEM_REQ_TYPE_FLUSH 0 |
| 17 | struct virtio_pmem_resp { |
| 18 | __le32 ret; |
| 19 | }; |
| 20 | struct virtio_pmem_req { |
| 21 | __le32 type; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 22 | }; |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #endif |