X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Framdisk.c;h=cb92ca9a8fc28e875f29b1c130e6a3a777d70ce1;hb=af7fc8afd1fe80621923faa0c065c0ae89f768ac;hp=14d1dc9005ca8e8853714cbdc049b5e44358b458;hpb=d0bda4e5d34f10733c8c78c786962bea81a97f14;p=palacios.git diff --git a/palacios/src/devices/ramdisk.c b/palacios/src/devices/ramdisk.c index 14d1dc9..cb92ca9 100644 --- a/palacios/src/devices/ramdisk.c +++ b/palacios/src/devices/ramdisk.c @@ -1924,11 +1924,11 @@ int handle_atapi_packet_command(struct vm_device * dev, struct channel_t * chann } case 0x42: // read sub-channel { - //bool msf = get_packet_field(channel,1, 1, 1); - bool sub_q = get_packet_field(channel,2, 6, 1); - //uint8_t data_format = get_packet_byte(channel,3); - //uint8_t track_number = get_packet_byte(channel,6); - uint16_t alloc_length = get_packet_word(channel,7); + //bool msf = get_packet_field(channel, 1, 1, 1); + bool sub_q = get_packet_field(channel, 2, 6, 1); + //uint8_t data_format = get_packet_byte(channel, 3); + //uint8_t track_number = get_packet_byte(channel, 6); + uint16_t alloc_length = get_packet_word(channel, 7); /*