diff options
| author | Tobias Klauser <tklauser@distanz.ch> | 2020-06-25 18:33:18 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2020-06-26 16:41:30 +0200 |
| commit | 999d3ea4e03b435a062eca30e08cc65525822d04 (patch) | |
| tree | 90fc58b4e6b5ee8d328709e209a576790b1b6c72 /sys/linux/uffd_riscv64.const | |
| parent | a8829ad2746642ba151c28604c4e77744f8853f2 (diff) | |
sys/linux: add initial support for riscv64
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'sys/linux/uffd_riscv64.const')
| -rw-r--r-- | sys/linux/uffd_riscv64.const | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/linux/uffd_riscv64.const b/sys/linux/uffd_riscv64.const new file mode 100644 index 000000000..0a563ec0b --- /dev/null +++ b/sys/linux/uffd_riscv64.const @@ -0,0 +1,23 @@ +# AUTOGENERATED FILE +O_CLOEXEC = 524288 +O_NONBLOCK = 2048 +UFFDIO_API = 3222841919 +UFFDIO_COPY = 3223890435 +UFFDIO_COPY_MODE_DONTWAKE = 1 +UFFDIO_REGISTER = 3223366144 +UFFDIO_REGISTER_MODE_MISSING = 1 +UFFDIO_REGISTER_MODE_WP = 2 +UFFDIO_UNREGISTER = 2148575745 +UFFDIO_WAKE = 2148575746 +UFFDIO_ZEROPAGE = 3223366148 +UFFDIO_ZEROPAGE_MODE_DONTWAKE = 1 +UFFD_API = 170 +UFFD_FEATURE_EVENT_FORK = 2 +UFFD_FEATURE_EVENT_REMAP = 4 +UFFD_FEATURE_EVENT_REMOVE = 8 +UFFD_FEATURE_EVENT_UNMAP = 64 +UFFD_FEATURE_MISSING_HUGETLBFS = 16 +UFFD_FEATURE_MISSING_SHMEM = 32 +UFFD_FEATURE_PAGEFAULT_FLAG_WP = 1 +__NR_ioctl = 29 +__NR_userfaultfd = 282 |
