Changeset 6da1013f in mainline for kernel/arch/mips32/src/fpu_context.c
- Timestamp:
- 2009-02-12T20:09:19Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 84266669
- Parents:
- 7004747
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/fpu_context.c
r7004747 r6da1013f 41 41 void fpu_disable(void) 42 42 { 43 #ifdef ARCH_HAS_FPU43 #ifdef CONFIG_FPU 44 44 cp0_status_write(cp0_status_read() & ~cp0_status_fpu_bit); 45 45 #endif … … 48 48 void fpu_enable(void) 49 49 { 50 #ifdef ARCH_HAS_FPU50 #ifdef CONFIG_FPU 51 51 cp0_status_write(cp0_status_read() | cp0_status_fpu_bit); 52 52 #endif
Note:
See TracChangeset
for help on using the changeset viewer.