blob: acaa5bae32f6d21cf1223b480fb9515bfb6674ab [file] [log] [blame]
Marc Jones738347e2010-09-13 19:24:38 +00001/*
2 * This file is part of the coreboot project.
3 *
4 * Copyright (C) 2010 Advanced Micro Devices, Inc.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; version 2 of the License.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
Marc Jones738347e2010-09-13 19:24:38 +000014 */
15
16/* This file defines the processor and performance state capability
17 * for each core in the system. It is included into the DSDT for each
18 * core. It assumes that each core of the system has the same performance
19 * characteristics.
20*/
21/*
Elyes HAOUAS6d19a202018-11-22 11:15:29 +010022#include <arch/acpi.h>
23DefinitionBlock ("DSDT.AML", "DSDT", 0x01, OEM_ID, ACPI_TABLE_CREATOR, 0x00010001)
Marc Jones738347e2010-09-13 19:24:38 +000024 {
Elyes HAOUAS36fcc852019-10-24 15:22:32 +020025 Scope (\_PR) {
26 Device (CPU0) {
27 Name (_HID, "ACPI0007")
28 Name (_UID, 0)
Marc Jones738347e2010-09-13 19:24:38 +000029 #include "cpstate.asl"
30 }
Elyes HAOUAS36fcc852019-10-24 15:22:32 +020031 Device (CPU1) {
32 Name (_HID, "ACPI0007")
33 Name (_UID, 1)
Marc Jones738347e2010-09-13 19:24:38 +000034 #include "cpstate.asl"
35 }
Elyes HAOUAS36fcc852019-10-24 15:22:32 +020036 Device (CPU2) {
37 Name (_HID, "ACPI0007")
38 Name (_UID, 2)
Marc Jones738347e2010-09-13 19:24:38 +000039 #include "cpstate.asl"
40 }
Elyes HAOUAS36fcc852019-10-24 15:22:32 +020041 Device (CPU3) {
42 Name (_HID, "ACPI0007")
43 Name (_UID, 3)
Marc Jones738347e2010-09-13 19:24:38 +000044 #include "cpstate.asl"
45 }
46 }
47*/
48 /* P-state support: The maximum number of P-states supported by the */
49 /* CPUs we'll use is 6. */
50 /* Get from AMI BIOS. */
51 Name(_PSS, Package(){
52 Package ()
53 {
54 0x00000AF0,
55 0x0000BF81,
56 0x00000002,
57 0x00000002,
58 0x00000000,
59 0x00000000
60 },
61
62 Package ()
63 {
64 0x00000578,
65 0x000076F2,
66 0x00000002,
67 0x00000002,
68 0x00000001,
69 0x00000001
70 }
71 })
72
73 Name(_PCT, Package(){
74 ResourceTemplate(){Register(FFixedHW, 0, 0, 0)},
75 ResourceTemplate(){Register(FFixedHW, 0, 0, 0)}
76 })
77
78 Method(_PPC, 0){
79 Return(0)
80 }