Changeset 8ff0bd2 in mainline for uspace/drv/bus/usb/uhci/hc.h
- Timestamp:
- 2011-09-04T11:30:58Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 03bc76a
- Parents:
- d2c67e7 (diff), deac215e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.h
rd2c67e7 r8ff0bd2 84 84 /** SOF modification to match external timers */ 85 85 uint8_t sofmod; 86 } regs_t;86 } uhci_regs_t; 87 87 88 88 #define UHCI_FRAME_LIST_COUNT 1024 … … 100 100 101 101 /** Addresses of I/O registers */ 102 regs_t *registers;102 uhci_regs_t *registers; 103 103 104 104 /** Frame List contains 1024 link pointers */ … … 116 116 /** Pointer table to the above lists, helps during scheduling */ 117 117 transfer_list_t *transfers[2][4]; 118 119 /** Code to be executed in kernel interrupt handler */120 irq_code_t interrupt_code;121 122 /** Commands that form interrupt code */123 irq_cmd_t interrupt_commands[UHCI_NEEDED_IRQ_COMMANDS];124 125 118 /** Fibril periodically checking status register*/ 126 119 fid_t interrupt_emulator; 127 128 120 /** Indicator of hw interrupts availability */ 129 121 bool hw_interrupts; … … 132 124 unsigned hw_failures; 133 125 } hc_t; 134 126 size_t hc_irq_cmd_count(void); 127 int hc_get_irq_commands( 128 irq_cmd_t cmds[], size_t cmd_size, uintptr_t regs, size_t reg_size); 135 129 int hc_init(hc_t *instance, void *regs, size_t reg_size, bool interupts); 136 137 130 int hc_schedule(hc_t *instance, usb_transfer_batch_t *batch); 138 139 131 void hc_interrupt(hc_t *instance, uint16_t status); 140 132
Note:
See TracChangeset
for help on using the changeset viewer.