Ignore:
Timestamp:
2009-02-12T20:09:19Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
84266669
Parents:
7004747
Message:

simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/fpu_context.c

    r7004747 r6da1013f  
    4141void fpu_disable(void)
    4242{       
    43 #ifdef ARCH_HAS_FPU
     43#ifdef CONFIG_FPU
    4444        cp0_status_write(cp0_status_read() & ~cp0_status_fpu_bit);
    4545#endif
     
    4848void fpu_enable(void)
    4949{
    50 #ifdef ARCH_HAS_FPU
     50#ifdef CONFIG_FPU
    5151        cp0_status_write(cp0_status_read() | cp0_status_fpu_bit);
    5252#endif
Note: See TracChangeset for help on using the changeset viewer.