From 07af98f3a5a54a8736109ed031d3177508943299 Mon Sep 17 00:00:00 2001 From: nodist Date: Wed, 23 Sep 2026 12:32:31 -0400 Subject: add task queues --- include/kpl/io.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'include/kpl/io.h') diff --git a/include/kpl/io.h b/include/kpl/io.h index 9a85d1f..514f2d4 100644 --- a/include/kpl/io.h +++ b/include/kpl/io.h @@ -5,16 +5,17 @@ #include "kpl/macro.h" -typedef enum : int32_t { - KPL_IO_QUEUE_POW_MIN = 4, - KPL_IO_QUEUE_POW_DEFAULT = 10, - KPL_IO_QUEUE_POW_MAX = 16 +typedef enum : int8_t { + KPL_CONFIG_IO_QUEUE_POW2_MIN = 4, + KPL_CONFIG_IO_QUEUE_POW2_DEFAULT = 10, + KPL_CONFIG_IO_QUEUE_POW2_MAX = 16 } kpl_io_queue_pow_options; typedef struct { - int32_t queue_pow; + int8_t queue_pow2; } kpl_config_io; typedef struct { - + kpl_config_io *config_io; + // TODO } kpl_io; -- cgit v1.2.3