mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 19:30:46 +00:00
DM USB: introduce data structure and APIs for USB port mapper
Introduce the struct usb_dev which is used to abstract the physical USB devices. And APIs for external call are also provided. Change-Id: Ia25d52a6c670040da787f82b3bea34eee9f3d04d Signed-off-by: Wu, Xiaoguang <xiaoguang.wu@intel.com> Reviewed-by: Shuo Liu <shuo.a.liu@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -62,7 +62,7 @@ struct usb_devemu {
|
||||
#define USB_EMUL_SET(x) DATA_SET(usb_emu_set, x)
|
||||
|
||||
/*
|
||||
* USB device events to notify HCI when state changes
|
||||
* USB device events to notify HCD when state changes
|
||||
*/
|
||||
enum hci_usbev {
|
||||
USBDEV_ATTACH,
|
||||
|
Reference in New Issue
Block a user