CommonHeader.h 959 B

1234567891011121314151617181920212223242526272829303132
  1. /**@file
  2. Common header file shared by all source files.
  3. This file includes package header files, library classes and protocol, PPI & GUID definitions.
  4. Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>
  5. SPDX-License-Identifier: BSD-2-Clause-Patent
  6. **/
  7. #ifndef __COMMON_HEADER_H_
  8. #define __COMMON_HEADER_H_
  9. #include <Base.h>
  10. #include <Library/TimerLib.h>
  11. #include <Library/BaseLib.h>
  12. #include <Library/IoLib.h>
  13. #include <Library/PcdLib.h>
  14. #include <Library/DebugLib.h>
  15. #define R_PCH_ACPI_SMI_EN 0x30
  16. #define B_PCH_ACPI_APMC_EN 0x00000020
  17. #define B_PCH_ACPI_EOS 0x00000002
  18. #define B_PCH_ACPI_GBL_SMI_EN 0x00000001
  19. #define R_PCH_ACPI_SMI_STS 0x34
  20. #define B_PCH_ACPI_APM_STS 0x00000020
  21. #endif