UpiPolicyPpi.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /** @file
  2. Silicon Policy PPI is used for specifying platform
  3. related Intel silicon information and policy setting.
  4. This PPI is consumed by the silicon PEI modules and carried
  5. over to silicon DXE modules.
  6. @copyright
  7. Copyright 2017 - 2021 Intel Corporation. <BR>
  8. SPDX-License-Identifier: BSD-2-Clause-Patent
  9. **/
  10. #ifndef _UPI_POLICY_PPI_H_
  11. #define _UPI_POLICY_PPI_H_
  12. #include <Upi/KtiHost.h>
  13. ///
  14. /// PPI revision information
  15. /// This PPI will be extended in a backwards compatible manner over time
  16. /// Added interfaces should be documented here with the revisions added
  17. /// Revision 1: Initial revision
  18. #define UPI_POLICY_PPI_REVISION 0x1
  19. typedef struct _UPI_POLICY_PPI UPI_POLICY_PPI;
  20. /**
  21. UPI Policy Structure
  22. **/
  23. struct _UPI_POLICY_PPI {
  24. /**
  25. This member specifies the revision of the UPI_POLICY_PPI. This field is used to
  26. indicate backwards compatible changes to the INTERFACE. Platform code that produces
  27. this INTERFACE must fill with the correct revision value for UPI code
  28. to correctly interpret the content of the INTERFACE fields.
  29. **/
  30. UINT32 Revision;
  31. KTI_HOST_IN Upi; ///< KTIRC input structure
  32. };
  33. #endif // _UPI_POLICY_PPI_H_