Changeset ea3fb2e in mainline for arch/ia32/src/interrupt.c


Ignore:
Timestamp:
2005-05-12T18:02:15Z (20 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f2ffad4
Parents:
c884ef1
Message:

Move fpu_owner pointer from cpu_arch_t to cpu_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/interrupt.c

    rc884ef1 rea3fb2e  
    8989{
    9090
    91         if (((CPU->arch).fpu_owner)!=NULL)
     91        if ((CPU->fpu_owner)!=NULL)
    9292        { 
    93                 fpu_lazy_context_save(&(((CPU->arch).fpu_owner)->saved_fpu_context));
    94                 ((CPU->arch).fpu_owner)->fpu_context_engaged=0; /* Enables migration */
     93                fpu_lazy_context_save(&((CPU->fpu_owner)->saved_fpu_context));
     94                (CPU->fpu_owner)->fpu_context_engaged=0; /* Enables migration */
    9595        }
    9696       
     
    9898        else {fpu_init();THREAD->fpu_context_exists=1;}
    9999
    100         (CPU->arch).fpu_owner=THREAD;
     100        CPU->fpu_owner=THREAD;
    101101
    102102        reset_TS_flag();
Note: See TracChangeset for help on using the changeset viewer.