X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fide.h;h=d299827f031e632b70d0047b6d9252ea4a93364b;hb=b924c7f1850b7b4879677253e15db59b359a1b09;hp=8a68222a47d2e0ae88628230a8d7efd70a2ef9a1;hpb=d0886c953a9e5969ee0f54f11bb146bfe888bfe3;p=palacios.git diff --git a/palacios/include/devices/ide.h b/palacios/include/devices/ide.h index 8a68222..d299827 100644 --- a/palacios/include/devices/ide.h +++ b/palacios/include/devices/ide.h @@ -33,7 +33,6 @@ struct v3_ide_cd_ops { uint32_t (*get_capacity)(void * private_data); // Reads always operate on 2048 byte blocks int (*read)(uint8_t * buf, int block_count, uint64_t lba, void * private_data); - }; @@ -41,7 +40,7 @@ struct v3_ide_hd_ops { uint64_t (*get_capacity)(void * private_data); // Reads always operate on 2048 byte blocks int (*read)(uint8_t * buf, int sector_count, uint64_t lba, void * private_data); - + int (*write)(uint8_t * buf, int sector_count, uint64_t lba, void * private_data); };