diff options
author | Raja Das <rajadas2@in.ibm.com> | 2017-10-08 22:57:25 -0500 |
---|---|---|
committer | Jennifer A. Stofer <stofer@us.ibm.com> | 2018-01-18 13:32:44 -0500 |
commit | c68fb43ecf21c311d912b89dbc0f55d49ec78bc4 (patch) | |
tree | 309236837d97f0f7f936d1ad9dc7d4588f8a5e40 /src/sbefw/core/pk_app_cfg.h | |
parent | 26dd5796f9f694e9c75008fd7b6018c7de8ea44b (diff) | |
download | talos-sbe-c68fb43ecf21c311d912b89dbc0f55d49ec78bc4.tar.gz talos-sbe-c68fb43ecf21c311d912b89dbc0f55d49ec78bc4.zip |
PPE Registers to be saved-off in the interrupt context
Change-Id: I90b9b21957bb58ab7e1ed1802d8723dcf4b05b6f
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48094
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: Soma Bhanutej <soma.bhanu@in.ibm.com>
Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
Diffstat (limited to 'src/sbefw/core/pk_app_cfg.h')
-rw-r--r-- | src/sbefw/core/pk_app_cfg.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/sbefw/core/pk_app_cfg.h b/src/sbefw/core/pk_app_cfg.h index 1e5557de..875afd71 100644 --- a/src/sbefw/core/pk_app_cfg.h +++ b/src/sbefw/core/pk_app_cfg.h @@ -5,7 +5,8 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2017 */ +/* Contributors Listed Below - COPYRIGHT 2015,2018 */ +/* [+] International Business Machines Corp. */ /* */ /* */ /* Licensed under the Apache License, Version 2.0 (the "License"); */ @@ -135,6 +136,12 @@ #endif #define PPE42_MACHINE_CHECK_HANDLER SBE_MACHINE_CHECK_HANDLER +// Added default register-save handler to the interrupt +#ifdef PPE_CAPTURE_INTERRUPT_FFDC +#undef PPE_CAPTURE_INTERRUPT_FFDC +#endif +#define PPE_CAPTURE_INTERRUPT_FFDC SBE_INTERRUPT_REGISTER_SAVEOFF + // Set the trace buffer size #ifdef PK_TRACE_SZ #undef PK_TRACE_SZ |