6 #include <devices/ide.h>
7 #include <palacios/vm_dev.h>
9 int handle_atapi_packet_command(struct vm_device * dev,
10 struct channel_t * channel,
13 void rd_init_send_atapi_command(struct vm_device * dev,
14 struct channel_t * channel,
15 Bit8u command, int req_length,
16 int alloc_length, bool lazy);
18 void rd_ready_to_send_atapi(struct vm_device * dev,
19 struct channel_t * channel);
21 void rd_atapi_cmd_error(struct vm_device * dev,
22 struct channel_t * channel,
23 sense_t sense_key, asc_t asc);
25 void rd_atapi_cmd_nop(struct vm_device * dev, struct channel_t * channel);
26 void rd_identify_ATAPI_drive(struct vm_device * dev, struct channel_t * channel);