~sircmpwn/hare unlisted

b349dadb1c9746791004ca7c7a0dba52aa4faecc — Drew DeVault 30 days ago 9511626
linux::io_uring: add MAX_ENTRIES constant

Signed-off-by: Drew DeVault <sir@cmpwn.com>
1 files changed, 3 insertions(+), 0 deletions(-)

M linux/io_uring/uring.ha
M linux/io_uring/uring.ha => linux/io_uring/uring.ha +3 -0
@@ 8,6 8,9 @@ export fn strerror(err: error) const str = {
	return errors::strerror(err);
};

// The maximum value for the first parameter of [[setup]].
export def MAX_ENTRIES: uint = 4096;

def CQE_BUFFER_SHIFT: uint = 16;
def OFF_SQ_RING: u64 = 0;
def OFF_CQ_RING: u64 = 0x8000000;