-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
soc: arm: move z_clearfaults() in kernel_arch_init() #16169
soc: arm: move z_clearfaults() in kernel_arch_init() #16169
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks okay on NXP SoCs.
I can imagine a corner-case scenario where someone would want to check boot time exceptions, but this isn't happening in the current code base and has a small probability.
How about STM32 @erwango ? |
This is a private API, if we want to support that it needs to be promoted to public anyway |
In kernel_arch_init() we initialize the ARM core (interrupt setup, fault init, etc.) so we can also move z_clearfaults() in the same function and skip invoking it in the SoC init functions. Signed-off-by: Ioannis Glaropoulos <Ioannis.Glaropoulos@nordicsemi.no>
3757d06
to
a8d94b3
Compare
In kernel_arch_init() we initialize the ARM core (interrupt
setup, fault init, etc.) so we can also move z_clearfaults()
in the same function and skip invoking it in the SoC init
functions.
Signed-off-by: Ioannis Glaropoulos Ioannis.Glaropoulos@nordicsemi.no