1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-21 23:56:18 +04:00

Enable cp1 in user mode

This commit is contained in:
Jiajie Chen 2020-07-07 17:31:04 +08:00
parent 85528673f1
commit 968361cc3e

View File

@ -309,8 +309,8 @@ impl Thread {
}
#[cfg(target_arch = "mips")]
{
// UM
context.status = 1 << 4;
// UM | CP1
context.status = 1 << 4 | 1 << 29;
}
let thread = Thread {