mirror of
https://github.com/rcore-os/rCore.git
synced 2024-11-25 17:33:28 +04:00
Enable cp1 in user mode
This commit is contained in:
parent
85528673f1
commit
968361cc3e
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user