X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fatapi.h;h=f32ed8daefc8091d96779f3873e9919cff51972b;hb=b96b5ff47cb29053f8d5b9618b54d335c7a7b22e;hp=7d68c902efc5e4fd2d65ed88d51f86f574af422e;hpb=0139d9a5b6beca02fa6c5a44947e1326e2edee24;p=palacios-OLD.git diff --git a/palacios/src/devices/atapi.h b/palacios/src/devices/atapi.h index 7d68c90..f32ed8d 100644 --- a/palacios/src/devices/atapi.h +++ b/palacios/src/devices/atapi.h @@ -148,7 +148,7 @@ static int atapi_update_data_buf(struct ide_internal * ide, struct ide_channel * case 0x28: // read(10) case 0xa8: // read(12) - // Update lba address to point to next block + // Update lba address to point to next block drive->current_lba++; // read the next block @@ -170,7 +170,7 @@ static int atapi_read10(struct guest_info * core, uint32_t lba = be_to_le_32(cmd->lba); uint16_t xfer_len = be_to_le_16(cmd->xfer_len); - PrintDebug("READ10: XferLen=%d\n", xfer_len); + PrintDebug("READ10: XferLen=%d ; LBA=%x \n", xfer_len, lba ); /* Check if cd is ready * if not: atapi_cmd_error(... ATAPI_SEN_NOT_RDY, ASC_MEDIA_NOT_PRESENT)