refactor: organize all arch related files together.
[lunaix-os.git] / lunaix-os / includes / lunaix / blkio.h
index 07b53ac4ce1ca6276b31e995659789a6ff6170ed..a189a4de8f70735273be3f15aeec889a1c184b7c 100644 (file)
@@ -12,6 +12,8 @@
 #define BLKIO_BUSY 0x4
 #define BLKIO_PENDING 0x8
 
+#define BLKIO_WAIT 0x1
+
 // Free on complete
 #define BLKIO_FOC 0x10
 
@@ -96,7 +98,7 @@ blkio_free_req(struct blkio_req* req);
  * @param req
  */
 void
-blkio_commit(struct blkio_context* ctx, struct blkio_req* req);
+blkio_commit(struct blkio_context* ctx, struct blkio_req* req, int options);
 
 /**
  * @brief Schedule an IO request to be handled.