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.


imported SEABIOS source tree
[palacios.git] / bios / seabios / src / usb-msc.h
1 #ifndef __USB_MSC_H
2 #define __USB_MSC_H
3
4 // usb-msc.c
5 struct disk_op_s;
6 int usb_cmd_data(struct disk_op_s *op, void *cdbcmd, u16 blocksize);
7 struct usb_interface_descriptor;
8 struct usb_pipe;
9 int usb_msc_init(struct usb_pipe *pipe
10                  , struct usb_interface_descriptor *iface, int imax);
11 int process_usb_op(struct disk_op_s *op);
12
13
14 /****************************************************************
15  * MSC flags
16  ****************************************************************/
17
18 #define US_SC_ATAPI_8020   0x02
19 #define US_SC_ATAPI_8070   0x05
20 #define US_SC_SCSI         0x06
21
22 #define US_PR_BULK         0x50
23
24 #define USB_MSC_TYPE_DISK  0x00
25 #define USB_MSC_TYPE_CDROM 0x05
26
27 #endif // ush-msc.h