]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Ppi/UsbController.h
MdePkg/UefidebugLibConOut: Add new APIs
[mirror_edk2.git] / MdeModulePkg / Include / Ppi / UsbController.h
index 10e025df551fee6d101eece8d8ae39d442c46a95..39e378b71dfda026b0748c7b1397e76804370f2c 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
-  Define APIs to retrieve USB Host Controller Info such as controller type and \r
+  Define APIs to retrieve USB Host Controller Info such as controller type and\r
   I/O Port Base Address.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
 \r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions\r
@@ -49,6 +49,12 @@ typedef struct _PEI_USB_CONTROLLER_PPI PEI_USB_CONTROLLER_PPI;
 ///\r
 #define PEI_EHCI_CONTROLLER 0x03\r
 \r
+///\r
+/// This bit is used in the ControllerType return parameter of GetUsbController()\r
+/// to identify the USB Host Controller type as XHCI\r
+///\r
+#define PEI_XHCI_CONTROLLER 0x04\r
+\r
 /**\r
   Retrieve USB Host Controller Info such as controller type and I/O Base Address.\r
 \r
@@ -57,11 +63,11 @@ typedef struct _PEI_USB_CONTROLLER_PPI PEI_USB_CONTROLLER_PPI;
   @param[in]  ControllerId     The ID of the USB controller.\r
   @param[out] ControllerType   On output, returns the type of the USB controller.\r
   @param[out] BaseAddress      On output, returns the base address of UHCI's I/O ports\r
-                               if UHCI is enabled or the base address of EHCI's MMIO \r
+                               if UHCI is enabled or the base address of EHCI's MMIO\r
                                if EHCI is enabled.\r
 \r
   @retval EFI_SUCCESS             USB controller attributes were returned successfully.\r
-  @retval EFI_INVALID_PARAMETER   ControllerId is greater than the maximum number \r
+  @retval EFI_INVALID_PARAMETER   ControllerId is greater than the maximum number\r
                                   of USB controller supported by this platform.\r
 \r
 **/\r