nios2: fatal: add _SysFatalErrorHandler and _Fault stub

ZEP-252 will handle implementation of the code here.

Change-Id: I3e9a6c7cdf2d5a3b0240317b772628fead528095
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2016-05-03 11:49:50 -07:00 committed by Benjamin Walsh
commit 7f7337a0fe
2 changed files with 65 additions and 3 deletions

View file

@ -70,6 +70,9 @@ struct __esf {
typedef struct __esf NANO_ESF;
extern const NANO_ESF _default_esf;
FUNC_NORETURN void _SysFatalErrorHandler(unsigned int reason,
const NANO_ESF *esf);
#endif /* _ASMLANGUAGE */
#ifdef __cplusplus