change log for rtems (2011-10-21)

Chris Johns chris at contemporary.net.au
Sat Oct 22 17:23:36 UTC 2011


On 21/10/11 8:11 PM, rtems-vc at rtems.org wrote:
> +#else /* ASM */
> +
> +	.macro	NIOS2_ASM_DISABLE_INTERRUPTS new_status, current_status
> +	movhi	\new_status, %hiadj(_Nios2_ISR_Status_mask)
> +	addi	\new_status, \new_status, %lo(_Nios2_ISR_Status_mask)
> +	and	\new_status, \current_status, \new_status
> +	ori	\new_status, \new_status, %lo(_Nios2_ISR_Status_bits)
> +	wrctl	status, \new_status
> +	.endm
> +
> +#endif /* ASM */

What is this for and do we use it ?

Chris



More information about the vc mailing list