5 Copyright (c) 2012 - 2014, Intel Corporation. All rights reserved
7 SPDX-License-Identifier: BSD-2-Clause-Patent
15 PCH Usb policy PPI produced by a platform driver specifying
16 various expected PCH Usb settings. This PPI is consumed by the
20 #ifndef _PCH_USB_POLICY_H_
21 #define _PCH_USB_POLICY_H_
24 // PCH Usb policy provided by platform for PEI phase
32 #include <Protocol/PchPlatformPolicy.h>
34 #define PCH_USB_POLICY_PPI_GUID \
36 0xc02b0573, 0x2b4e, 0x4a31, 0xa3, 0x1a, 0x94, 0x56, 0x7b, 0x50, 0x44, 0x2c \
39 extern EFI_GUID gPchUsbPolicyPpiGuid
;
41 typedef struct _PCH_USB_POLICY_PPI PCH_USB_POLICY_PPI
;
44 /// PPI revision number
45 /// Any backwards compatible changes to this PPI will result in an update in the revision number
46 /// Major changes will require publication of a new PPI
48 /// Revision 1: Original version
50 #define PCH_USB_POLICY_PPI_REVISION_1 1
53 /// Generic definitions for device enabling/disabling used by PCH code.
55 #define PCH_DEVICE_ENABLE 1
56 #define PCH_DEVICE_DISABLE 0
60 struct _PCH_USB_POLICY_PPI
{
62 PCH_USB_CONFIG
*UsbConfig
;
64 UINTN EhciMemBaseAddr
;
66 UINTN XhciMemBaseAddr
;