Nova Patents
IL227320A

Controlling generation of debug exceptions

Abstract

This record has no abstract on file.

Term

No projected expiry on record.

  1. Priority
  2. Filed
  3. Published
  4. Today

23 claims: 3 independent, 20 dependent

  1. 1
    227320/2 21 We claim:1. A data processing apparatus comprising: data processing circuitry for performing data processing operations in response to execution of program instructions;debug circuitry for performing debug operations;said data processing apparatus comprising a data store for storing a current debug exception mask value;said data processing circuitry being configured to set said current debug exception mask value to a first value in said data store in response to executing critical code and on termination of execution of said critical code to reset said current debug exception mask value to not store said first value;wherein said data processing circuitry is configured to allow a debug exception to be taken if said current debug exception mask value is not set to said first value and not to allow said debug exception to be taken if said current debug exception mask value is set to said first value, said data processing circuitry further configured to execute program instructions corresponding to a plurality of different software hierarchical levels, a higher software hierarchical level being a level with greater privileges than a lower software hierarchical level such that there are at least some data storage locations that can be accessed from said higher hierarchical level and cannot be accessed from said lower hierarchical level, and said current debug exception mask value indicating whether taking of a debug exception at a same hierarchical level as a level software is currently operating at is allowable.
  2. 18
    A method for controlling initiation of debug operations within a data processing apparatus, said method comprising the steps of:setting a current debug exception mask value to a first value in a data store within said data processing apparatus in response to said data processing apparatus executing critical code 227320/2 25 and on termination of execution of said critical code resetting said current debug exception mask value not to store said first value;allowing a debug exception to be taken if said current debug exception mask value is not set to said first value and not allowing said debug exception to be taken if said current debug exception mask value is set to said first value, wherein said data processing circuitry being configured to execute program instructions corresponding to a plurality of different software hierarchical levels, a higher software hierarchical level being a level with greater privileges than a lower software hierarchical level such that there are at least some data storage locations that can be accessed from said higher hierarchical level and cannot be accessed from said lower hierarchical level;said current debug exception mask value indicating whether taking of a debug exception at a same hierarchical level as a level software is currently operating at is allowable.
  3. 23
    A data processor comprising:processing means for performing data processing operations in response to execution of program instructions;debug means for performing debug operations;said processing means comprising a storage means for storing a debug exception mask value;said processing means for setting said debug exception mask value to a first value in said storage means, in response to executing critical code and on termination of execution of said critical code, for resetting said debug exception mask value not to store said first value;wherein said processing means is configured to allow a debug exception to be taken if said debug exception mask value is not set to said first value and not to allow said debug exception to be taken if said debug exception mask value is set to said first value. For the Applicant, Daniel Schneck Sanford T. Colb Co. C: 78964