From 28cb6015a156fe9239784238912adc526e4fdf11 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Wed, 4 Nov 2015 14:29:42 -0800 Subject: [PATCH] common: port80: Add items to .bss.slow. BUG=chrome-os-partner:46056 BUG=chrome-os-partner:46063 BRANCH=None TEST=Enable CONFIG_REPLACE_LOADER_WITH_BSS_SLOW on GLaDOS. Build, flash, and verify AP and EC boot. Suspend/Resume and verify that port80 data is in the history. TEST='sysjump rw' suspend/resume nad verify that new port80 writes are present in the history. TEST=make -j buildall tests. CQ-DEPEND=CL:311209 Change-Id: Idebb3247b55465f1fbf35a33dff2f00968b8f4ce Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/311365 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Randall Spangler --- common/port80.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/port80.c b/common/port80.c index 0523fe35b1..fb2a8160bc 100644 --- a/common/port80.c +++ b/common/port80.c @@ -19,10 +19,10 @@ #define HISTORY_LEN 128 #define PORT80_POLL_PERIOD MSEC -static uint16_t history[HISTORY_LEN]; -static int writes; /* Number of port 80 writes so far */ +static uint16_t __bss_slow history[HISTORY_LEN]; +static int __bss_slow writes; /* Number of port 80 writes so far */ static int last_boot; /* Last code from previous boot */ -static int scroll; +static int __bss_slow scroll; static int print_in_int = 1; void port_80_write(int data)