mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-27 18:25:05 +00:00
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 <aaboagye@google.com> Reviewed-on: https://chromium-review.googlesource.com/311365 Commit-Ready: Aseda Aboagye <aaboagye@chromium.org> Tested-by: Aseda Aboagye <aaboagye@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
82c405443f
commit
28cb6015a1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user