Skip to content
Commit 19d4caaa authored by Alexey Brodkin's avatar Alexey Brodkin Committed by Ioannis Glaropoulos
Browse files

arch: arc: Implement z_arch_system_halt()



"brk" is a break-point instruction which among other things
halts ARC core. As compared to pure halt (which is "flag 1" for ARC)
it is much more convenient as it might be executed from either
secure mode or normal mode (with SecureShield enabled), while "flag"
instruction will raise privilege violation exception if SecureShield
is enabled and we're in "normal" mode.

Signed-off-by: default avatarAlexey Brodkin <abrodkin@synopsys.com>
parent 11d6385e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment