Ignore:
Timestamp:
2007-01-22T13:10:08Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0f3fc9b
Parents:
62c63fc
Message:

asm volatile → asm volatile

File:
1 edited

Legend:

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

    r62c63fc re7b7be3f  
    4040void fpu_context_save(fpu_context_t *fctx)
    4141{
    42         __asm__ volatile (
     42        asm volatile (
    4343                "std %%f0, %0\n"
    4444                "std %%f2, %1\n"
     
    6868         */
    6969       
    70         __asm__ volatile (
     70        asm volatile (
    7171                "std %%f32, %0\n"
    7272                "std %%f34, %1\n"
     
    9191        );
    9292       
    93         __asm__ volatile ("stx %%fsr, %0\n" : "=m" (fctx->fsr));
     93        asm volatile ("stx %%fsr, %0\n" : "=m" (fctx->fsr));
    9494}
    9595
    9696void fpu_context_restore(fpu_context_t *fctx)
    9797{
    98         __asm__ volatile (
     98        asm volatile (
    9999                "ldd %0, %%f0\n"
    100100                "ldd %1, %%f2\n"
     
    125125         */
    126126       
    127         __asm__ volatile (
     127        asm volatile (
    128128                "ldd %0, %%f32\n"
    129129                "ldd %1, %%f34\n"
     
    149149        );
    150150       
    151         __asm__ volatile ("ldx %0, %%fsr\n" : : "m" (fctx->fsr));
     151        asm volatile ("ldx %0, %%fsr\n" : : "m" (fctx->fsr));
    152152}
    153153
Note: See TracChangeset for help on using the changeset viewer.