Rev 534 | Rev 827 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 534 | Rev 546 | ||
---|---|---|---|
Line 28... | Line 28... | ||
28 | */ |
28 | */ |
29 | 29 | ||
30 | #include <fpu_context.h> |
30 | #include <fpu_context.h> |
31 | #include <arch.h> |
31 | #include <arch.h> |
32 | #include <arch/cp0.h> |
32 | #include <arch/cp0.h> |
- | 33 | #include <proc/thread.h> |
|
33 | 34 | ||
34 | void fpu_disable(void) |
35 | void fpu_disable(void) |
35 | { |
36 | { |
36 | #ifdef HAVE_FPU |
37 | #ifdef HAVE_FPU |
37 | cp0_status_write(cp0_status_read() & ~cp0_status_fpu_bit); |
38 | cp0_status_write(cp0_status_read() & ~cp0_status_fpu_bit); |