Ignore:
Timestamp:
2009-02-12T20:09:19Z (16 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/include/context_offset.h

    r7004747 r6da1013f  
    115115        sw $gp,OFFSET_GP(\ctx)
    116116
    117 #ifndef KERNEL         
     117#ifndef KERNEL
    118118        sw $k1,OFFSET_TLS(\ctx)
    119119
    120 # ifdef CONFIG_MIPS_FPU
     120#ifdef CONFIG_FPU
    121121        mfc1 $t0,$20
    122122        sw $t0, OFFSET_F20(\ctx)
     
    151151        mfc1 $t0,$30
    152152        sw $t0, OFFSET_F30(\ctx)
    153 # endif /* CONFIG_MIPS_FPU */   
     153#endif /* CONFIG_FPU */
    154154#endif /* KERNEL */
    155155
     
    173173        lw $k1,OFFSET_TLS(\ctx)
    174174
    175 # ifdef CONFIG_MIPS_FPU
     175#ifdef CONFIG_FPU
    176176        lw $t0, OFFSET_F20(\ctx)
    177177        mtc1 $t0,$20
     
    206206        lw $t0, OFFSET_F30(\ctx)
    207207        mtc1 $t0,$30
    208 # endif /* CONFIG_MIPS_FPU */
    209        
     208#endif /* CONFIG_FPU */
    210209#endif /* KERNEL */
     210
    211211        lw $ra,OFFSET_PC(\ctx)
    212212        lw $sp,OFFSET_SP(\ctx)
Note: See TracChangeset for help on using the changeset viewer.