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_amd64.const | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 sys/linux/io_uring_amd64.const (limited to 'sys/linux/io_uring_amd64.const') diff --git a/sys/linux/io_uring_amd64.const b/sys/linux/io_uring_amd64.const new file mode 100644 index 000000000..bdd50ba3f --- /dev/null +++ b/sys/linux/io_uring_amd64.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 = 426 +__NR_io_uring_register = 427 +__NR_io_uring_setup = 425 +__NR_mmap = 9 +# __NR_mmap2 is not set -- cgit mrf-deployment