1 /** 2 Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR> 3 This program and the accompanying materials 4 are licensed and made available under the terms and conditions of the BSD License 5 which accompanies this distribution. The full text of the license may be found at 6 http://opensource.org/licenses/bsd-license.php 7 8 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 9 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 10 11 12 13 Module Name: 14 15 PpmPolicy.h 16 17 Abstract: 18 19 Header file for the PpmPolicyInitDxe Driver. 20 21 --*/ 22 #include <PiDxe.h> 23 // 24 // Driver Produced Protocol Prototypes 25 // 26 #include <Protocol/PpmPlatformPolicy.h> 27 28 PPM_PLATFORM_POLICY_PROTOCOL mDxePlatformPpmPolicy; 29 30 // Function Definition 31 #define ICH_DEVICE_ENABLE 1 32 #define ICH_DEVICE_DISABLE 0 33 34 #define POWER_STATE_SWITCH_SMI 43 35 #define ENABLE_C_STATE_IO_REDIRECTION_SMI 70 36 #define DISABLE_C_STATE_IO_REDIRECTION_SMI 71 37 #define ENABLE_SMI_C_STATE_COORDINATION_SMI 72 38 #define DISABLE_SMI_C_STATE_COORDINATION_SMI 73 39 #define ENABLE_P_STATE_HARDWARE_COORDINATION_SMI 74 40 #define DISABLE_P_STATE_HARDWARE_COORDINATION_SMI 75 41 #define S3_RESTORE_MSR_SW_SMI 48 42 #define ENABLE_C6_RESIDENCY_SMI 76 43