Data processing system having dynamic thread control
AssigneeFreescale Semiconductor, Inc.
InventorsJonathan J. Gamoneda, Jehoda Refaeli, Jeffrey W. Scott
Life of this patent
Estimating the term…
Abstract
A method for managing thread execution in a processing system is provided. The method includes setting a first watchpoint, and generating a first watchpoint trigger corresponding to the first watchpoint. In response to the first watchpoint trigger, execution of a first thread is controlled in accordance with a value stored in a first control register. Controlling the first thread may further include disabling execution of the first thread. The disabling execution of the first thread may occur within the first watchpoint region.
Claims20
A method for managing thread execution in a processing system, the method comprising:
- setting a first watchpoint;
- generating a first watchpoint trigger corresponding to the first watchpoint;
- and
- in response to the first watchpoint trigger, controlling execution of a first thread in accordance with a value stored in a first control register.
A method for managing thread execution in a processing system, the method comprising:
- enabling a first watchpoint region, the first watchpoint region beginning at a first watchpoint and ending at a second watchpoint;
- generating a first watchpoint trigger corresponding to a first address of executing code matching the first watchpoint;
- and
- in response to the first watchpoint trigger, controlling execution of a first thread based on a value stored in a first control register.
A processing system, comprising:
- a processor capable of executing code;
- a memory coupled to the processor, the memory storing executable code;
- a control unit coupled to the processor, the control unit including a control register, and in response to a watchpoint trigger, the control unit controls execution of one or more threads based on a value stored in the control register;
- and
- a debug unit coupled to the control unit, the debug unit generating the watchpoint trigger based on code execution entering a first watchpoint region of the memory.
Dependencies are inferred from the claim text.