Changeset 441c930 in rtems


Ignore:
Timestamp:
Jul 16, 2008, 9:47:04 PM (11 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, master
Children:
3d28361d
Parents:
5166513c
Message:

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

  • score/cpu/powerpc/rtems/powerpc/registers.h: added ppc_interrupt_get_disable_mask() inline function.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r5166513c r441c930  
     12008-07-16      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * score/cpu/powerpc/rtems/powerpc/registers.h:
     4        added ppc_interrupt_get_disable_mask() inline function.
     5
    162008-07-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • cpukit/score/cpu/powerpc/rtems/powerpc/registers.h

    r5166513c r441c930  
    346346}
    347347
     348static inline uint32_t ppc_interrupt_get_disable_mask()
     349{
     350uint32_t mask;
     351  asm volatile (
     352    "mfspr %0,272"
     353    : "=r" (mask)
     354  );
     355  return mask;
     356}
     357
    348358static inline uint32_t ppc_interrupt_disable()
    349359{
Note: See TracChangeset for help on using the changeset viewer.