diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2019-06-17 15:37:55 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-19 00:51:23 +0000 |
commit | 7e80ddc5177af46cc8defc2741f4e9590b97cbbb (patch) | |
tree | 811bd2fb95e3190c956bae2e8ff7dd0a2181fa8e /include | |
parent | 247b6099f910c3e1685b9185371177ac61a32617 (diff) | |
download | chrome-ec-7e80ddc5177af46cc8defc2741f4e9590b97cbbb.tar.gz |
minute-ia: load eip value from top of stack
For interrupt vectors (as opposed to exception handlers), the eip
value is on top of the stack (referentially the return address by C
calling convention). Use separate code for WDT vector.
BUG=b:129983997
BRANCH=none
TEST='crash watchdog' showing correct EIP, CS values
Change-Id: I7efb2c71aba63eefd89fc71af089bc14034b7d08
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1663188
Reviewed-by: Denis Brockus <dbrockus@chromium.org>
Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index a8ff3ea27b..9351502ed3 100644 --- a/include/config.h +++ b/include/config.h @@ -2632,6 +2632,9 @@ /* Define clock input to MFT module. */ #undef CONFIG_MFT_INPUT_LFCLK +/* Minute-IA watchdog timer vector number. */ +#define CONFIG_MIA_WDT_VEC 0xFF + /* Support MKBP event */ #undef CONFIG_MKBP_EVENT |