摘要 |
Disclosed is data processing circuitry with debug circuitry, and a data store for storing a current debug exception mask value. The data processing circuitry sets the current debug exception mask value to a first value in the data store in response to executing critical code and on termination of execution of the critical code resets the current debug exception mask value to not store the first value. When the data processing circuitry receives a control signal from the debug circuitry indicating a debug exception is to be taken, the circuitry allows the exception to be taken if the current debug exception mask value is not set to the first value and does not allow the exception to be taken if the current debug exception mask value is set to the first value. The critical code may be instructions, that if interrupted may generate a software malfunction. |