1 /** @file 2 Header file for QNC Smm Power Management driver 3 4 Copyright (c) 2013-2015 Intel Corporation. 5 6 This program and the accompanying materials 7 are licensed and made available under the terms and conditions of the BSD License 8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php 10 11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 13 14 **/ 15 16 #ifndef _SMM_POWER_MANAGEMENT_H_ 17 #define _SMM_POWER_MANAGEMENT_H_ 18 19 #include <PiSmm.h> 20 #include <IntelQNCDxe.h> 21 22 #include <Protocol/AcpiTable.h> 23 #include <Protocol/SmmCpu.h> 24 #include <Protocol/SmmSwDispatch2.h> 25 #include <Protocol/GlobalNvsArea.h> 26 #include <Protocol/AcpiSystemDescriptionTable.h> 27 #include <Protocol/FirmwareVolume2.h> 28 #include <Protocol/MpService.h> 29 30 #include <Library/DebugLib.h> 31 #include <Library/PcdLib.h> 32 #include <Library/IoLib.h> 33 #include <Library/PciLib.h> 34 #include <Library/BaseLib.h> 35 #include <Library/BaseMemoryLib.h> 36 #include <Library/SmmServicesTableLib.h> 37 #include <Library/UefiBootServicesTableLib.h> 38 #include <Library/S3BootScriptLib.h> 39 #include <Library/MemoryAllocationLib.h> 40 41 #include <IndustryStandard/Acpi.h> 42 43 #include <AcpiCpuData.h> 44 45 #include "Ppm.h" 46 47 // 48 // Module global variable 49 // 50 extern EFI_SMM_CPU_PROTOCOL *mSmmCpu; 51 extern EFI_GLOBAL_NVS_AREA *mGlobalNvsAreaPtr; 52 extern EFI_MP_SERVICES_PROTOCOL *mMpService; 53 54 // 55 // Function prototypes 56 // 57 58 #endif 59