Rev 1616 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1616 | Rev 1875 | ||
---|---|---|---|
Line 2... | Line 2... | ||
2 | #include |
2 | #include |
3 | #include |
3 | #include |
4 | #include |
4 | #include |
5 | #include |
5 | #include |
- | 6 | #include |
|
6 | #include "usb.h" |
7 | #include "usb.h" |
7 | 8 | ||
Line 8... | Line 9... | ||
8 | int __stdcall srv_usb(ioctl_t *io); |
9 | int __stdcall srv_usb(ioctl_t *io); |
Line 37... | Line 38... | ||
37 | return 0; |
38 | return 0; |
38 | }; |
39 | }; |
39 | 40 | ||
40 | qh_slab.available = 256; |
41 | hcd_buffer_create(); |
Line -... | Line 42... | ||
- | 42 | ||
- | 43 | qh_slab.available = 256; |
|
41 | qh_slab.start = KernelAlloc(4096); |
44 | qh_slab.start = KernelAlloc(4096); |
42 | qh_slab.nextavail = (addr_t)qh_slab.start; |
45 | qh_slab.nextavail = (addr_t)qh_slab.start; |
43 | qh_slab.dma = GetPgAddr(qh_slab.start); |
46 | qh_slab.dma = GetPgAddr(qh_slab.start); |
44 | 47 |