diff options
Diffstat (limited to 'src/cpu/intel')
-rw-r--r-- | src/cpu/intel/haswell/acpi.c | 8 | ||||
-rw-r--r-- | src/cpu/intel/model_2065x/acpi.c | 8 | ||||
-rw-r--r-- | src/cpu/intel/model_206ax/acpi.c | 8 |
3 files changed, 12 insertions, 12 deletions
diff --git a/src/cpu/intel/haswell/acpi.c b/src/cpu/intel/haswell/acpi.c index a53978d012..1e1c724dbe 100644 --- a/src/cpu/intel/haswell/acpi.c +++ b/src/cpu/intel/haswell/acpi.c @@ -337,9 +337,9 @@ void generate_cpu_entries(const struct device *device) for (cpuID = 1; cpuID <= numcpus; cpuID++) { for (coreID = 1; coreID <= cores_per_package; coreID++) { - /* Generate processor \_SB.CPUx */ - acpigen_write_processor( - (cpuID - 1) * cores_per_package+coreID - 1, 0, 0); + /* Generate Scope(\_SB) { Device(CPUx */ + acpigen_write_processor_device( + (cpuID - 1) * cores_per_package+coreID - 1); /* Generate P-state tables */ generate_P_state_entries( @@ -352,7 +352,7 @@ void generate_cpu_entries(const struct device *device) generate_T_state_entries( cpuID - 1, cores_per_package); - acpigen_pop_len(); + acpigen_write_processor_device_end(); } } diff --git a/src/cpu/intel/model_2065x/acpi.c b/src/cpu/intel/model_2065x/acpi.c index 0409b8adc1..834a3bbeee 100644 --- a/src/cpu/intel/model_2065x/acpi.c +++ b/src/cpu/intel/model_2065x/acpi.c @@ -215,9 +215,9 @@ void generate_cpu_entries(const struct device *device) for (cpuID = 1; cpuID <= numcpus; cpuID++) { for (coreID = 1; coreID <= cores_per_package; coreID++) { - /* Generate processor \_SB.CPUx */ - acpigen_write_processor( - (cpuID-1)*cores_per_package+coreID-1, 0, 0); + /* Generate Scope(\_SB) { Device(CPUx */ + acpigen_write_processor_device( + (cpuID-1)*cores_per_package+coreID-1); /* Generate P-state tables */ generate_P_state_entries( @@ -230,7 +230,7 @@ void generate_cpu_entries(const struct device *device) generate_T_state_entries( cpuID-1, cores_per_package); - acpigen_pop_len(); + acpigen_write_processor_device_end(); } } diff --git a/src/cpu/intel/model_206ax/acpi.c b/src/cpu/intel/model_206ax/acpi.c index a305c01e6f..d7c048d519 100644 --- a/src/cpu/intel/model_206ax/acpi.c +++ b/src/cpu/intel/model_206ax/acpi.c @@ -306,9 +306,9 @@ void generate_cpu_entries(const struct device *device) for (cpuID = 1; cpuID <= numcpus; cpuID++) { for (coreID = 1; coreID <= cores_per_package; coreID++) { - /* Generate processor \_SB.CPUx */ - acpigen_write_processor( - (cpuID-1)*cores_per_package+coreID-1, 0, 0); + /* Generate Scope(\_SB) { Device(CPU */ + acpigen_write_processor_device( + (cpuID-1)*cores_per_package+coreID-1); /* Generate P-state tables */ generate_P_state_entries( @@ -321,7 +321,7 @@ void generate_cpu_entries(const struct device *device) generate_T_state_entries( cpuID-1, cores_per_package); - acpigen_pop_len(); + acpigen_write_processor_device_end(); } } |