From 4f421599f9bdb6f82820cbfb80b0bbcb6b9977c9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 12 Apr 2019 16:19:23 +0200 Subject: sys/linux: add simple io_uring descriptions We don't actually communicate with the uring yet, but this already finds a bunch of bugs. --- sys/linux/io_uring_arm.const | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sys/linux/io_uring_arm.const (limited to 'sys/linux/io_uring_arm.const') diff --git a/sys/linux/io_uring_arm.const b/sys/linux/io_uring_arm.const new file mode 100644 index 000000000..d6d14227d --- /dev/null +++ b/sys/linux/io_uring_arm.const @@ -0,0 +1,18 @@ +# AUTOGENERATED FILE +IORING_ENTER_GETEVENTS = 1 +IORING_ENTER_SQ_WAKEUP = 2 +IORING_OFF_CQ_RING = 134217728 +IORING_OFF_SQES = 268435456 +IORING_OFF_SQ_RING = 0 +IORING_REGISTER_BUFFERS = 0 +IORING_REGISTER_FILES = 2 +IORING_SETUP_IOPOLL = 1 +IORING_SETUP_SQPOLL = 2 +IORING_SETUP_SQ_AFF = 4 +IORING_UNREGISTER_BUFFERS = 1 +IORING_UNREGISTER_FILES = 3 +# __NR_io_uring_enter is not set +# __NR_io_uring_register is not set +# __NR_io_uring_setup is not set +__NR_mmap = 192 +__NR_mmap2 = 192 -- cgit mrf-deployment