提交 53758fa2 编写于 作者: G Grant Likely 提交者: Stefan Roese

[PATCH 8_9] Add block_write hook to block_dev_desc_t

Preparation for future patches which support block device writing
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 f4852ebe
......@@ -45,6 +45,10 @@ typedef struct block_dev_desc {
unsigned long start,
lbaint_t blkcnt,
unsigned long *buffer);
unsigned long (*block_write)(int dev,
unsigned long start,
lbaint_t blkcnt,
const void *buffer);
}block_dev_desc_t;
/* Interface types: */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册