Unifying the Lunaix's Physical Memory Model (#28)
[lunaix-os.git] / lunaix-os / includes / lunaix / blkio.h
index 07b53ac4ce1ca6276b31e995659789a6ff6170ed..a869c8c2e1a0f759b52795b00246e60f6d428044 100644 (file)
@@ -12,6 +12,9 @@
 #define BLKIO_BUSY 0x4
 #define BLKIO_PENDING 0x8
 
+#define BLKIO_WAIT 0x1
+#define BLKIO_NOASYNC 0x2
+
 // Free on complete
 #define BLKIO_FOC 0x10
 
@@ -96,7 +99,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.