_dsync();\r
\r
/* Consume two free CSAs. */\r
- pulLowerCSA = portCSA_TO_ADDRESS( _mfcr( $FCX ) );\r
+ pulLowerCSA = portCSA_TO_ADDRESS( __MFCR( $FCX ) );\r
if( NULL != pulLowerCSA )\r
{\r
/* The Lower Links to the Upper. */\r
\r
/* Clear the PSW.CDC to enable the use of an RFE without it generating an\r
exception because this code is not genuinely in an exception. */\r
- ulMFCR = _mfcr( $PSW );\r
+ ulMFCR = __MFCR( $PSW );\r
ulMFCR &= portRESTORE_PSW_MASK;\r
_dsync();\r
_mtcr( $PSW, ulMFCR );\r
enabled/disabled. */\r
_disable();\r
_dsync();\r
- xUpperCSA = _mfcr( $PCXI );\r
+ xUpperCSA = __MFCR( $PCXI );\r
pxUpperCSA = portCSA_TO_ADDRESS( xUpperCSA );\r
*pxCurrentTCB = pxUpperCSA[ 0 ];\r
vTaskSwitchContext();\r
{\r
/* Look up the current free CSA head. */\r
_dsync();\r
- pxFreeCSA = _mfcr( $FCX );\r
+ pxFreeCSA = __MFCR( $FCX );\r
\r
/* Join the current Free onto the Tail of what is being reclaimed. */\r
portCSA_TO_ADDRESS( pxTailCSA )[ 0 ] = pxFreeCSA;\r
enabled/disabled. */\r
_disable();\r
_dsync();\r
- xUpperCSA = _mfcr( $PCXI );\r
+ xUpperCSA = __MFCR( $PCXI );\r
pxUpperCSA = portCSA_TO_ADDRESS( xUpperCSA );\r
*pxCurrentTCB = pxUpperCSA[ 0 ];\r
vTaskSwitchContext();\r
enabled/disabled. */\r
_disable();\r
_dsync();\r
- xUpperCSA = _mfcr( $PCXI );\r
+ xUpperCSA = __MFCR( $PCXI );\r
pxUpperCSA = portCSA_TO_ADDRESS( xUpperCSA );\r
*pxCurrentTCB = pxUpperCSA[ 0 ];\r
vTaskSwitchContext();\r
uint32_t uxReturn = 0UL;\r
\r
_disable();\r
- uxReturn = _mfcr( $ICR );\r
+ uxReturn = __MFCR( $ICR );\r
_mtcr( $ICR, ( ( uxReturn & ~portCCPN_MASK ) | configMAX_SYSCALL_INTERRUPT_PRIORITY ) );\r
_isync();\r
_enable();\r
#define portDISABLE_INTERRUPTS() { \\r
uint32_t ulICR; \\r
_disable(); \\r
- ulICR = _mfcr( $ICR ); /* Get current ICR value. */ \\r
+ ulICR = __MFCR( $ICR ); /* Get current ICR value. */ \\r
ulICR &= ~portCCPN_MASK; /* Clear down mask bits. */ \\r
ulICR |= configMAX_SYSCALL_INTERRUPT_PRIORITY; /* Set mask bits to required priority mask. */ \\r
_mtcr( $ICR, ulICR ); /* Write back updated ICR. */ \\r
#define portENABLE_INTERRUPTS() { \\r
uint32_t ulICR; \\r
_disable(); \\r
- ulICR = _mfcr( $ICR ); /* Get current ICR value. */ \\r
+ ulICR = __MFCR( $ICR ); /* Get current ICR value. */ \\r
ulICR &= ~portCCPN_MASK; /* Clear down mask bits. */ \\r
_mtcr( $ICR, ulICR ); /* Write back updated ICR. */ \\r
_isync(); \\r
#define portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedMaskValue ) { \\r
uint32_t ulICR; \\r
_disable(); \\r
- ulICR = _mfcr( $ICR ); /* Get current ICR value. */ \\r
+ ulICR = __MFCR( $ICR ); /* Get current ICR value. */ \\r
ulICR &= ~portCCPN_MASK; /* Clear down mask bits. */ \\r
ulICR |= uxSavedMaskValue; /* Set mask bits to previously saved mask value. */ \\r
_mtcr( $ICR, ulICR ); /* Write back updated ICR. */ \\r