X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fide.h;h=4dce5888ba7d9ab3384561e8c03126c662042332;hp=d70ac4b6b2bf57469c40f0709d7847ded804a672;hb=a3843aa9457ed5a02159fd5a83620426b0a0f3fe;hpb=59b6853965a3cd4b17d0466c3650feed594cd89e diff --git a/palacios/include/devices/ide.h b/palacios/include/devices/ide.h index d70ac4b..4dce588 100644 --- a/palacios/include/devices/ide.h +++ b/palacios/include/devices/ide.h @@ -29,7 +29,7 @@ typedef enum {IDE_DISK, IDE_CDROM, IDE_NONE} v3_ide_dev_type_t; 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 lba, void * private_data); + int (*read)(uint8_t * buf, int count, int lba, void * private_data); };