Remove 16bit wrappers from PMM code.
[seabios.git] / src / virtio-blk.h
index 3369ea4b5d8b73a04bcc7ad1317d54454e28b56c..7243704be7953711499864ff9d991e4805584491 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,6 +36,7 @@ struct virtio_blk_outhdr {
 #define VIRTIO_BLK_S_IOERR     1
 #define VIRTIO_BLK_S_UNSUPP    2
 
+struct disk_op_s;
 int process_virtio_op(struct disk_op_s *op);
 void virtio_blk_setup(void);