Skip to content

xtensa: add exception handler for all exception - #133

Merged
lgirdwood merged 1 commit into
thesofproject:masterfrom
xiulipan:xtensaexc
Jul 20, 2018
Merged

lgirdwood merged 1 commit into
thesofproject:masterfrom
xiulipan:xtensaexc

Conversation

@xiulipan

Copy link
Copy Markdown
Contributor

Make sure we did not miss any thing

Signed-off-by: Pan Xiuli <xiuli.pan@linux.intel.com>
@jajanusz

Copy link
Copy Markdown
Contributor

@xiulipan
Wouldn't it be better to have arrary with error codes instead of calling function for every one of them? -they use the same exception handler anyway

@lgirdwood

Copy link
Copy Markdown
Member

@jajanusz the error codes should all be in the EXCAUSE register anyway, but I dont see any harm in adding this now until if we are missing generation of stack dump for some exceptions. Ideally it would be nice if we could register 1 handler for all with 1 xtos call.

@lgirdwood
lgirdwood merged commit c322398 into thesofproject:master Jul 20, 2018
@xiulipan
xiulipan deleted the xtensaexc branch August 9, 2018 07:45
keqiaozhang pushed a commit to keqiaozhang/sof that referenced this pull request Nov 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants