forked from M-Labs/zynq-rs
Compare commits
23 Commits
e1b3312b8b
...
7a8df6e34f
Author | SHA1 | Date |
---|---|---|
Simon Renblad | 7a8df6e34f | |
Simon Renblad | f975183df5 | |
Simon Renblad | e05208ce70 | |
Simon Renblad | a0d807b55c | |
Simon Renblad | 09b1288872 | |
Simon Renblad | 916c72237b | |
Simon Renblad | 9a413c5a96 | |
Simon Renblad | b390222508 | |
Simon Renblad | 61f6355a73 | |
Simon Renblad | 0c5b0476ab | |
Simon Renblad | 0d2bbed9a0 | |
Simon Renblad | 00e625c802 | |
Simon Renblad | 42005a614e | |
Simon Renblad | c7a3197977 | |
Simon Renblad | ffb24e133b | |
Simon Renblad | f01a69df18 | |
Simon Renblad | fbf9dff15c | |
Simon Renblad | fd46cb9c8b | |
Simon Renblad | 259c0fe842 | |
Simon Renblad | e85263eff7 | |
Simon Renblad | 4736f7592b | |
Simon Renblad | e51af90ba4 | |
Simon Renblad | 2c70fdbeab |
|
@ -79,5 +79,5 @@ pub unsafe fn exit_irq() {
|
||||||
asm!("
|
asm!("
|
||||||
mrs r0, SPSR
|
mrs r0, SPSR
|
||||||
msr CPSR, r0
|
msr CPSR, r0
|
||||||
");
|
", out("r0") _);
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,6 @@ pub fn enable_fpu() {
|
||||||
vmrs r1, fpexc
|
vmrs r1, fpexc
|
||||||
orr r1, r1, (1<<30)
|
orr r1, r1, (1<<30)
|
||||||
vmsr fpexc, r1
|
vmsr fpexc, r1
|
||||||
");
|
", out("r1") _);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue