Ignore:
Timestamp:
Mar 12, 2018, 7:53:09 PM (3 years ago)
Author:
Joel Sherrill <joel@…>
Branches:
5, master
Children:
478dc89
Parents:
c0443b4
git-author:
Joel Sherrill <joel@…> (03/12/18 19:53:09)
git-committer:
Joel Sherrill <joel@…> (03/13/18 14:55:23)
Message:

Add PowerPC paravirtualization support

Cannot read or write MSR when executing in user mode. This
is used when RTEMS_PARAVIRT is defined.

Provide alternate methods to disable/enable interrupts

Closes #3306.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/powerpc/include/rtems/powerpc/registers.h

    rc0443b4 r0a7a30d  
    673673 * A one bit means that this bit should be cleared.
    674674 */
     675#if !defined(PPC_DISABLE_INLINE_ISR_DISABLE_ENABLE)
    675676extern char _PPC_INTERRUPT_DISABLE_MASK[];
    676677
     
    735736  );
    736737}
     738#else
     739uint32_t ppc_interrupt_get_disable_mask( void );
     740uint32_t ppc_interrupt_disable( void );
     741void ppc_interrupt_enable( uint32_t level );
     742void ppc_interrupt_flash( uint32_t level );
     743#endif /* PPC_DISABLE_INLINE_ISR_DISABLE_ENABLE */
    737744
    738745#define _CPU_ISR_Disable( _isr_cookie ) \
Note: See TracChangeset for help on using the changeset viewer.