Changeset 27ab6a7 in mainline for kernel/arch/ia32/src/fpu_context.c


Ignore:
Timestamp:
2006-09-09T09:33:29Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b0f294
Parents:
ab1ae2d9
Message:

Coding style fixes.
Remove unneeded sparc64 dummy functions.

File:
1 edited

Legend:

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

    rab1ae2d9 r27ab6a7  
    2727 */
    2828
    29  /** @addtogroup ia32   
     29/** @addtogroup ia32   
    3030 * @{
    3131 */
     
    4040typedef void (*fpu_context_function)(fpu_context_t *fctx);
    4141
    42 static fpu_context_function fpu_save,fpu_restore;
    43 
    44 
     42static fpu_context_function fpu_save, fpu_restore;
    4543
    4644static void fpu_context_f_save(fpu_context_t *fctx)
     
    8987void fpu_fsr(void)
    9088{
    91         fpu_save=fpu_context_f_save;
    92         fpu_restore=fpu_context_f_restore;
     89        fpu_save = fpu_context_f_save;
     90        fpu_restore = fpu_context_f_restore;
    9391}
    94 
    95 
    9692
    9793void fpu_context_save(fpu_context_t *fctx)
     
    105101}
    106102
    107 
    108 
    109103void fpu_init()
    110104{
    111         uint32_t help0=0,help1=0;
     105        uint32_t help0 = 0, help1 = 0;
    112106        __asm__ volatile (
    113107                "fninit;\n"
     
    117111                "mov %1,%0;\n"
    118112                "ldmxcsr %0;\n"
    119                 :"+m"(help0),"+r"(help1)
    120                 :"i"(0x1f80)
     113                : "+m" (help0), "+r" (help1)
     114                : "i" (0x1f80)
    121115        );
    122116}
    123117
    124  /** @}
     118/** @}
    125119 */
    126 
Note: See TracChangeset for help on using the changeset viewer.