aboutsummaryrefslogtreecommitdiff
path: root/include/kpl/io.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kpl/io.h')
-rw-r--r--include/kpl/io.h13
1 files changed, 7 insertions, 6 deletions
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;