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