diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2015-09-04 16:55:11 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-09-09 15:43:50 +1000 |
commit | a1db4ec5b9741eaf237481aff92ef2afa61bda48 (patch) | |
tree | cff0258a36cae19f80246297f1da8f94722feac0 /include | |
parent | 960bd711b2381f4a31048884955b9715d51ea6ea (diff) | |
download | skiboot-a1db4ec5b9741eaf237481aff92ef2afa61bda48.zip skiboot-a1db4ec5b9741eaf237481aff92ef2afa61bda48.tar.gz skiboot-a1db4ec5b9741eaf237481aff92ef2afa61bda48.tar.bz2 |
Move FSP specific abort() code to platform layer
Presently abort() call sets up HID0, triggers attention and finally
calls infinite for loop. FSP takes care of collecting required logs
and reboots the system. This sequence is specific to FSP machine
and it will not work on BMC based machine. Hence move FSP specific
code to hw/fsp/fsp-attn.c.
Note that this patch adds new parameter to abort call. Hence replaced
_abort() by abort() in exception.c so that we can capture file info
as well.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/fsp.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fsp.h b/include/fsp.h index 0291084..4e247cc 100644 --- a/include/fsp.h +++ b/include/fsp.h @@ -827,4 +827,7 @@ extern void fsp_dpo_init(void); /* Chiptod */ extern void fsp_chiptod_init(void); +/* Terminate immediate */ +extern void __attribute__((noreturn)) ibm_fsp_terminate(const char *msg); + #endif /* __FSP_H */ |