X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Finclude%2Fdevices%2Fide.h;h=d70ac4b6b2bf57469c40f0709d7847ded804a672;hp=a5b6ea01b3114ca4649da774b7adde0fa18e4781;hb=074d44443cd1dc65660b2859503ad9f72bce625a;hpb=5e83847991f155d6aabffc2b71f5a9224a5fbd59 diff --git a/palacios/include/devices/ide.h b/palacios/include/devices/ide.h index a5b6ea0..d70ac4b 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_block)(uchar_t * buf, int offset, void * private_data); + int (*read)(uint8_t * buf, int lba, void * private_data); };