From 3d5e8ed6fcb56f43d388c32d9d9a1cea42b50d71 Mon Sep 17 00:00:00 2001 From: xj Date: Tue, 18 Jun 2024 18:32:11 -0700 Subject: [PATCH] uncouple the USB core and xhci --- .../usb/components/port/xhci/usb_hc_xhci.c | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.c b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.c index e23726388..563fc6692 100644 --- a/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.c +++ b/Ubiquitous/XiZi_AIoT/services/drivers/usb/components/port/xhci/usb_hc_xhci.c @@ -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){ + +} \ No newline at end of file