X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Framdisk.c;h=d2a14ce3c31a5de0b361c3596f54bd0f5212a57e;hp=7ad7f9b8a07a40e44b7f26a947e9ef790c03110b;hb=5e83847991f155d6aabffc2b71f5a9224a5fbd59;hpb=6fe0528310bec884ed00c8d97b45d18120a32e3f diff --git a/palacios/src/devices/ramdisk.c b/palacios/src/devices/ramdisk.c index 7ad7f9b..d2a14ce 100644 --- a/palacios/src/devices/ramdisk.c +++ b/palacios/src/devices/ramdisk.c @@ -2239,14 +2239,7 @@ void rd_identify_ATAPI_drive(struct vm_device * dev, struct channel_t * channel) drive->id_drive[i] = 0; } - // now convert the id_drive array (native 256 word format) to - // the controller buffer (512 bytes) - Bit16u temp16; - for (i = 0; i <= 255; i++) { - temp16 = drive->id_drive[i]; - controller->buffer[i * 2] = temp16 & 0x00ff; - controller->buffer[i * 2 + 1] = temp16 >> 8; - } + return; }