From 7b69a258f6fedd507d4838457885c6331c106048 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Wed, 4 Nov 2015 14:05:14 -0800 Subject: [PATCH] common: acpi: Add items to .bss.slow. BUG=chrome-os-partner:46056 BUG=chrome-os-partner:46063 BRANCH=None TEST=Enabled CONFIG_REPLACE_LOADER_WITH_BSS_SLOW on GLaDOS; Build and flash; Verify that AP and EC boot. Verify that AC notifications are sent to the AP. Verify that I can set temperature thresholds. TEST='sysjump rw' and repeat above tests. TEST=make -j buildall tests CQ-DEPEND=CL:311209 Change-Id: If2a7b0ce08b37e30362ab77eee1317c8a86b90dd Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/311344 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Randall Spangler --- common/acpi.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/common/acpi.c b/common/acpi.c index e12c4e2d18..904c6fe055 100644 --- a/common/acpi.c +++ b/common/acpi.c @@ -20,14 +20,18 @@ #define CPRINTF(format, args...) cprintf(CC_LPC, format, ## args) #define CPRINTS(format, args...) cprints(CC_LPC, format, ## args) -static uint8_t acpi_cmd; /* Last received ACPI command */ -static uint8_t acpi_addr; /* First byte of data after ACPI command */ -static int acpi_data_count; /* Number of data writes after command */ -static uint8_t acpi_mem_test; /* Test byte in ACPI memory space */ +/* Last received ACPI command */ +static uint8_t __bss_slow acpi_cmd; +/* First byte of data after ACPI command */ +static uint8_t __bss_slow acpi_addr; +/* Number of data writes after command */ +static int __bss_slow acpi_data_count; +/* Test byte in ACPI memory space */ +static uint8_t __bss_slow acpi_mem_test; #ifdef CONFIG_TEMP_SENSOR -static int dptf_temp_sensor_id; /* last sensor ID written */ -static int dptf_temp_threshold; /* last threshold written */ +static int __bss_slow dptf_temp_sensor_id; /* last sensor ID written */ +static int __bss_slow dptf_temp_threshold; /* last threshold written */ #endif /*