Commit 53758fa2 authored by Grant Likely's avatar Grant Likely Committed by Stefan Roese
Browse files

[PATCH 8_9] Add block_write hook to block_dev_desc_t



Preparation for future patches which support block device writing
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 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% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment