2 * This file is part of the coreboot project.
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; version 2 of the License.
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
14 #include <arch/acpigen.h>
15 #include <southbridge/intel/i82801gx/i82801gx.h>
17 static acpi_cstate_t cst_entries
[] = {
19 /* ACPI C1 / CPU C1 */
21 { ACPI_ADDRESS_SPACE_FIXED
, 1, 2, 1, 0, 0 }
24 /* ACPI C2 / CPU C2 */
26 { ACPI_ADDRESS_SPACE_IO
, 8, 0, 0, DEFAULT_PMBASE
+ LV2
, 0 }
29 /* ACPI C3 / CPU C2 */
31 { ACPI_ADDRESS_SPACE_IO
, 8, 0, 0, DEFAULT_PMBASE
+ LV3
, 0 }
35 int get_cst_entries(acpi_cstate_t
**entries
)
37 *entries
= cst_entries
;
38 return ARRAY_SIZE(cst_entries
);