PchPolicy.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /** @file
  2. Interface definition details between Pch and platform drivers during DXE phase.
  3. Copyright (c) 2019 - 2020 Intel Corporation. All rights reserved. <BR>
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _PCH_POLICY_H_
  7. #define _PCH_POLICY_H_
  8. #include <ConfigBlock.h>
  9. #include <Private/PchConfigHob.h>
  10. #include <Library/HobLib.h>
  11. extern EFI_GUID gPchPolicyProtocolGuid;
  12. #define PCH_POLICY_PROTOCOL_REVISION 1
  13. /**
  14. PCH DXE Policy
  15. The PCH_POLICY_PROTOCOL producer drvier is recommended to
  16. set all the PCH_POLICY_PROTOCOL size buffer zero before init any member parameter,
  17. this clear step can make sure no random value for those unknown new version parameters.
  18. Make sure to update the Revision if any change to the protocol, including the existing
  19. internal structure definations.\n
  20. Note: Here revision will be bumped up when adding/removing any config block under this structure.\n
  21. <b>Revision 1</b>:
  22. - Initial version.
  23. **/
  24. typedef struct {
  25. CONFIG_BLOCK_TABLE_HEADER TableHeader;
  26. /*
  27. Individual Config Block Structures are added here in memory as part of AddConfigBlock()
  28. */
  29. } PCH_POLICY_PROTOCOL;
  30. #endif