summaryrefslogtreecommitdiffstats
path: root/redir.h
diff options
context:
space:
mode:
Diffstat (limited to 'redir.h')
-rw-r--r--redir.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/redir.h b/redir.h
index 8c54158..5cb93d2 100644
--- a/redir.h
+++ b/redir.h
@@ -1,5 +1,6 @@
#include "RedirectionConstants.h"
#include <stdint.h>
+#include <stdbool.h>
enum redir_state {
REDIR_NONE = 0,
@@ -33,6 +34,7 @@ struct redir {
/* ide-redirection */
unsigned char filename[256];
+ unsigned int lba_size;
void *mmap_buf;
ssize_t mmap_size;
unsigned int tx_bufsize;
@@ -140,4 +142,5 @@ int redir_data(struct redir *r);
ssize_t redir_write(struct redir *r, const char *buf, size_t count);
int ider_handle_command(struct redir *r, unsigned int seqno,
- unsigned char device, unsigned char *cdb);
+ unsigned char device, bool use_dma,
+ unsigned char *cdb);