uncouple the USB core and xhci

This commit is contained in:
xj 2024-06-18 18:32:11 -07:00
parent eee6a74ff0
commit 3d5e8ed6fc
1 changed files with 32 additions and 0 deletions

View File

@ -552,4 +552,36 @@ uint16_t xhci_usbh_get_frame_number(void){
}
int xhci_usbh_roothub_control(struct usbh_bus *usb, struct usb_setup_packet *setup, uint8_t *buf){
return 0;
}
int xhci_usbh_ep_pipe_reconfigure(struct usbh_bus *usb, usbh_pipe_t pipe, uint8_t dev_addr, uint8_t ep_mps, uint8_t mult){
return 0;
}
int xhci_usbh_pipe_alloc(usbh_pipe_t *pipe, const struct usbh_endpoint_cfg *ep_cfg){
return 0;
}
int xhci_usbh_pipe_free(usbh_pipe_t pipe){
return 0;
}
int xhci_usbh_submit_urb(struct usbh_urb *urb){
return 0;
}
int xhci_usbh_kill_urb(struct usbh_urb *urb){
return 0;
}
void XHCI_USBH_IRQHandler(void *param){
}