Changeset 3d28361d in rtems


Ignore:
Timestamp:
Jul 16, 2008, 9:52:04 PM (11 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
d60239f
Parents:
441c930
Message:

2008-07-16 Till Straumann <strauman@…>

  • score/cpu/powerpc/rtems/new-exceptions/cpu.h: use ppc_interrupt_get_disable_mask() to determine which bits to set/clear from _CPU_ISR_Set_level().
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r441c930 r3d28361d  
     12008-07-16      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * score/cpu/powerpc/rtems/new-exceptions/cpu.h:
     4        use ppc_interrupt_get_disable_mask() to determine
     5        which bits to set/clear from _CPU_ISR_Set_level().
     6
    172008-07-16      Till Straumann <strauman@slac.stanford.edu>
    28
  • cpukit/score/cpu/powerpc/rtems/new-exceptions/cpu.h

    r441c930 r3d28361d  
    286286  _CPU_MSR_GET(msr);
    287287  if (!(level & CPU_MODES_INTERRUPT_MASK)) {
    288     msr |= MSR_EE;
     288    msr |= ppc_interrupt_get_disable_mask();
    289289  }
    290290  else {
    291     msr &= ~MSR_EE;
     291    msr &= ~ppc_interrupt_get_disable_mask();
    292292  }
    293293  _CPU_MSR_SET(msr);
Note: See TracChangeset for help on using the changeset viewer.