Changeset 24c394b in mainline for kernel/arch/amd64/src/fpu_context.c


Ignore:
Timestamp:
2014-09-09T18:32:24Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
15b6715
Parents:
5301662
Message:

Use directly the fpu member of the fpu_context_t in the "m" constraint.

File:
1 edited

Legend:

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

    r5301662 r24c394b  
    4141        asm volatile (
    4242                "fxsave %[fctx]\n"
    43                 : [fctx] "=m" (*fctx)
     43                : [fctx] "=m" (fctx->fpu)
    4444        );
    4545}
     
    5050        asm volatile (
    5151                "fxrstor %[fctx]\n"
    52                 : [fctx] "=m" (*fctx)
     52                : [fctx] "=m" (fctx->fpu)
    5353        );
    5454}
Note: See TracChangeset for help on using the changeset viewer.