summaryrefslogtreecommitdiff
path: root/ReferenceCode/Haswell/Ppi/CpuPlatformPolicy/CpuPlatformPolicy.c
diff options
context:
space:
mode:
Diffstat (limited to 'ReferenceCode/Haswell/Ppi/CpuPlatformPolicy/CpuPlatformPolicy.c')
-rw-r--r--ReferenceCode/Haswell/Ppi/CpuPlatformPolicy/CpuPlatformPolicy.c43
1 files changed, 43 insertions, 0 deletions
diff --git a/ReferenceCode/Haswell/Ppi/CpuPlatformPolicy/CpuPlatformPolicy.c b/ReferenceCode/Haswell/Ppi/CpuPlatformPolicy/CpuPlatformPolicy.c
new file mode 100644
index 0000000..61cf0be
--- /dev/null
+++ b/ReferenceCode/Haswell/Ppi/CpuPlatformPolicy/CpuPlatformPolicy.c
@@ -0,0 +1,43 @@
+/** @file
+ CPU policy PPI produced by a platform driver specifying various
+ expected CPU settings. This protocol is consumed by the CPU PEI modules.
+
+@copyright
+ Copyright (c) 2009 - 2012 Intel Corporation. All rights reserved
+ This software and associated documentation (if any) is furnished
+ under a license and may only be used or copied in accordance
+ with the terms of the license. Except as permitted by such
+ license, no part of this software or documentation may be
+ reproduced, stored in a retrieval system, or transmitted in any
+ form or by any means without the express written consent of
+ Intel Corporation.
+
+ This file contains a 'Sample Driver' and is licensed as such
+ under the terms of your license agreement with Intel or your
+ vendor. This file may be modified by the user, subject to
+ the additional terms of the license agreement
+**/
+
+///
+/// Statements that include other files
+///
+///
+/// External include files do NOT need to be explicitly specified in real EDKII
+/// environment
+///
+#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000)
+
+#include "EdkIIGluePeim.h"
+#endif
+
+#include "CpuPlatformPolicy.h"
+
+///
+/// Protocol GUID definition
+///
+EFI_GUID gPeiCpuPlatformPolicyPpiGuid = PEI_CPU_PLATFORM_POLICY_PPI_GUID;
+
+///
+/// Protocol description
+///
+EFI_GUID_STRING(&gPeiCpuPlatformPolicyPpiGuid, "CpuPlatformPolicy PPI", "Intel(R) PEI Phase CPU Platform Policy PPI");