RTEMS
5.0.0
|
PowerPC Paravirtualization Definitions. More...
Go to the source code of this file.
Macros | |
#define | PPC_DISABLE_INLINE_ISR_DISABLE_ENABLE |
#define | PPC_DISABLE_MSR_ACCESS |
PowerPC Paravirtualization Definitions.
This include file contains definitions pertaining to paravirtualization of the PowerPC port.
#define PPC_DISABLE_INLINE_ISR_DISABLE_ENABLE |
In a paravirtualized environment, RTEMS executes in user space and cannot disable/enable external exceptions (e.g. interrupts). The BSP which acts as an adapter to the hosting environment will provide the interrupt enable/disable methods.
#define PPC_DISABLE_MSR_ACCESS |
In a paravirtualized environment, RTEMS executes in user space and cannot access the MSR.
Try to have as little impact as possible with this define. Leave the msr in the thread context because that would impact the definition of offsets for assembly code.