embedded - Enabling external aborts on an ARM CPU -
from cortex-r reference manual , probably not cortex-r specific asynchronous abort masking the nature of asynchronous aborts means can occur while processor handling different abort. if asynchronous abort generates new exception in such situation, r14_abt , spsr_abt values overwritten. if occurs before data pushed stack in memory, state information first abort lost. prevent happening, cpsr contains mask bit, a-bit, indicate asynchronous abort cannot accepted. when a-bit set, asynchronous abort occurs held pending processor until a-bit cleared, when exception taken. a-bit automatically set when abort, irq or fiq exceptions taken, , on reset. must clear a-bit in abort handler after state information has either been stacked memory, or no longer required. my question is, if have a bit masked since reset how can know if asynchronous abort pending? can pending external aborts cleared without unmasking a bit , taking exception? or more generally, there advice on clear...