Home | History | Annotate | Download | only in PchSmmLib
      1 /**@file
      2   Common header file shared by all source files.
      3 
      4   This file includes package header files, library classes and protocol, PPI & GUID definitions.
      5 
      6   Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
      7 
      8   This program and the accompanying materials are licensed and made available under
     10   the terms and conditions of the BSD License that accompanies this distribution.
     12   The full text of the license may be found at
     14   http://opensource.org/licenses/bsd-license.php.
     16 
     18   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     20   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     22 
     24 **/
     26 
     27 #ifndef __COMMON_HEADER_H_
     28 #define __COMMON_HEADER_H_
     29 
     30 
     31 #include <Base.h>
     32 
     33 #include <Library/TimerLib.h>
     34 #include <Library/BaseLib.h>
     35 #include <Library/IoLib.h>
     36 #include <Library/PcdLib.h>
     37 #include <Library/DebugLib.h>
     38 
     39 #define R_PCH_ACPI_SMI_EN       0x30
     40 #define B_PCH_ACPI_APMC_EN      0x00000020
     41 #define B_PCH_ACPI_EOS          0x00000002
     42 #define B_PCH_ACPI_GBL_SMI_EN   0x00000001
     43 #define R_PCH_ACPI_SMI_STS      0x34
     44 #define B_PCH_ACPI_APM_STS      0x00000020
     45 
     46 #endif
     47