1
0
mirror of https://github.com/rcore-os/rCore.git synced 2024-11-22 08:06:17 +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")] #[cfg(target_arch = "mips")]
{ {
// UM // UM | CP1
context.status = 1 << 4; context.status = 1 << 4 | 1 << 29;
} }
let thread = Thread { let thread = Thread {