Missed this file in the previous check-in, r3248.
[coreboot.git] / src / include / usbdebug_direct.h
1 #ifndef USBDEBUG_DIRECT_H
2 #define USBDEBUG_DIRECT_H
3
4 struct ehci_debug_info {
5         void *ehci_caps;
6         void *ehci_regs;
7         void *ehci_debug;
8         unsigned devnum;
9         unsigned endpoint_out;
10         unsigned endpoint_in;
11 };
12 extern int dbgp_bulk_write_x(struct ehci_debug_info *dbg_info, const char *bytes, int size);
13 extern int dbgp_bulk_read_x(struct ehci_debug_info *dbg_info, void *data, int size);
14 extern void set_ehci_base(unsigned ehci_base);
15 extern void set_ehci_debug(unsigned ehci_deug);
16 extern unsigned get_ehci_debug(void);
17 #endif