grml...
[seabios.git] / src / virtio-blk.h
index 3369ea4b5d8b73a04bcc7ad1317d54454e28b56c..0825f0970aef6094d849941673b40327f401dafb 100644 (file)
@@ -16,6 +16,8 @@ struct virtio_blk_config
     u32 opt_io_size;
 } __attribute__((packed));
 
+#define VIRTIO_BLK_F_BLK_SIZE 6
+
 /* These two define direction. */
 #define VIRTIO_BLK_T_IN                0
 #define VIRTIO_BLK_T_OUT       1
@@ -34,7 +36,8 @@ struct virtio_blk_outhdr {
 #define VIRTIO_BLK_S_IOERR     1
 #define VIRTIO_BLK_S_UNSUPP    2
 
-int process_virtio_op(struct disk_op_s *op);
+struct disk_op_s;
+int process_virtio_blk_op(struct disk_op_s *op);
 void virtio_blk_setup(void);
 
 #endif /* _VIRTIO_BLK_H */