Task processor
First Claim
1. A task control circuit connected via a signal line to a processor which executes a task, comprising:
- a state register that stores state data representing state of a task; and
a task switching circuit that controls state of a task, whereinthe task switching circuit, when a system call signal is received from the processor, reads out a parameter from an internal register of the processor by itself, performs a system call process based on the parameter, updates the state data, and writes back a return value resulting from the system call process in the internal register by itself.
4 Assignments
0 Petitions
Accused Products
Abstract
A task processor includes a CPU, a save circuit, and a task control circuit. A task control circuit is provided with a task selection circuit and state storage units associated with respective tasks. When executing a predetermined system call instruction, the CPU notifies the task control circuit accordingly. When informed of the execution of a system call instruction, the task control circuit selects a task to be subsequently executed in accordance with an output from the selection circuit. When an interrupt circuit receives a high-speed interrupt request signal, the task switching circuit controls the state transition of a task by executing an interrupt handling instruction designated by the interrupt circuit.
-
Citations
13 Claims
-
1. A task control circuit connected via a signal line to a processor which executes a task, comprising:
-
a state register that stores state data representing state of a task; and a task switching circuit that controls state of a task, wherein the task switching circuit, when a system call signal is received from the processor, reads out a parameter from an internal register of the processor by itself, performs a system call process based on the parameter, updates the state data, and writes back a return value resulting from the system call process in the internal register by itself. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. An auxiliary circuit which is connected to a processor via a signal line and undertakes a part of a processing from the processor, wherein
when the auxiliary circuit receives a system call signal from the processor, the auxiliary circuit reads out a parameter from an internal register of the processor by itself, performs a predetermined process, and writes back a return value resulting from the process in the internal register by itself, and after the return value is written back in the internal register, the auxiliary circuit reactivates the processor suspended after transmitting the system call signal.
-
12. A task processing system, comprising:
-
a processor which includes a register and performs a main-process; and an auxiliary circuit which is connected to the processor via a signal line and performs a sub-process, wherein the processor writes down a parameter in the register and transmits a system call signal to instruct the auxiliary circuit to perform the sub-process, the auxiliary circuit reads out the parameter from the register by itself, performs the sub-process and writes back a return value resulting from the sub-process in the register and after the return value is written back in the internal register, the auxiliary circuit reactivates the processor suspended after transmitting the system call signal, and the processor continues the main-process based on the return value after the reactivation. - View Dependent Claims (13)
-
Specification