Skip to content
Snippets Groups Projects
Commit decaba6f authored by Shinya Kuribayashi's avatar Shinya Kuribayashi
Browse files

[MIPS] Cleanup CP0 Status initialization


Add setup_c0_status from Linux. For the moment we disable interrupts, set
CU0, mark the kernel mode, and clear ERL and EXL. This is good enough for
reset-time configuration and will work well across most processors.

Signed-off-by: default avatarShinya Kuribayashi <skuribay@ruby.dti.ne.jp>
parent d43d43ef
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment