/** @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
-of the BSD License which accompanies this distribution. The\r
-full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
-\r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
///\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
@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