Ignore:
Timestamp:
Jun 2, 2014, 2:31:51 PM (6 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
4.11, master
Children:
1d799ad
Parents:
98f2d5c
git-author:
Christian Mauderer <Christian.Mauderer@…> (06/02/14 14:31:51)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/03/14 06:35:47)
Message:

score/sparc: Add support for paravirtualization

Guest systems in paravirtualization environments run usually in user
mode. Thus it is not possible to directly access the PSR and TBR
registers. Use functions instead of inline assembler to access these
registers if RTEMS_PARAVIRT is defined.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/sparc/rtems/score/cpu.h

    r98f2d5c r8df1f408  
    11931193  void _CPU_SMP_Finalize_initialization( uint32_t cpu_count );
    11941194
    1195   #if defined(__leon__)
     1195  #if defined(__leon__) && !defined(RTEMS_PARAVIRT)
    11961196    static inline uint32_t _CPU_SMP_Get_current_processor( void )
    11971197    {
Note: See TracChangeset for help on using the changeset viewer.