X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fide.h;h=d299827f031e632b70d0047b6d9252ea4a93364b;hp=8a68222a47d2e0ae88628230a8d7efd70a2ef9a1;hb=326a9425e1dc7a9f7afafe2951b55f35d9ff2422;hpb=639901d32ea8c5144ce9bb8f44bc6efa81a947a0 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); };