Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


f21876c698e5fae4db3e6fb90fa97e030c9ca138
[palacios.git] / palacios / include / devices / atapi.h
1 #ifndef __ATAPI_H__
2 #define __ATAPI_H__
3
4 #ifdef __V3VEE__
5
6 #include <devices/ide.h>
7 #include <palacios/vm_dev.h>
8
9 int handle_atapi_packet_command(struct vm_device * dev, 
10                                 struct channel_t * channel, 
11                                 ushort_t val);
12
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);
17
18 void rd_ready_to_send_atapi(struct vm_device * dev, 
19                             struct channel_t * channel);
20
21 void rd_atapi_cmd_error(struct vm_device * dev, 
22                         struct channel_t * channel, 
23                         sense_t sense_key, asc_t asc);
24
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);
27
28 #endif // ! __V3VEE__
29
30
31 #endif