# US 2008/0307208 A1 · Application specific processor having multiple contexts

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0307208 A1
- Document ID: US20080307208A1
- Status: Published application
- Kind: A1
- Application number: 11/810,821
- Filed: 2007-06-07
- Published: 2008-12-11
- Earliest claimed: 2007-06-07
- Assignees: Fujitsu Limited
- Inventors: Michael James; Scott Richmond
- Web page: https://patentgrep.com/patent/US20080307208A1

## CPC

- G06F 9/30076: {to perform miscellaneous control operations, e.g. NOP}
- G06F 9/462: {with multiple register sets}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An application specific processor executes multiple dedicated applications in a system having a main control processor for controlling the operation of the system. The application specific processor includes a first context for executing a corresponding first application and a second context for executing a corresponding second application. An instruction memory outputs instructions for executing the first and second applications, and a context switch instruction for switching from one context to the other context. Context is switched in response to the context switch instruction while executing the first or second application.

## Claims

### Claim 1

An application specific processor for executing multiple dedicated applications in a system having a main control processor for controlling the operation of the system, the application specific processor comprising:
a first context for executing a corresponding first application;
a second context for executing a corresponding second application; and
an instruction memory for outputting instructions for executing the first and second applications, and a context switch instruction for switching from one of the first and second contexts to the other of the first and second contexts;
wherein the one of the first and second contexts is switched to the other of the first and second contexts responsive to the context switch instruction output by the instruction memory while executing the first or second application.

### Claim 2 (depends on 1)

The application specific process as defined in claim 1, wherein the context switch instruction is output during a loop operation encountered while executing the first or second application.

### Claim 3 (depends on 1)

The application specific process as defined in claim 1, wherein the context switch instruction is output during times of inactivity or while waiting for an event to occur during the operation of the first or second application.

### Claim 4 (depends on 1)

The application specific processor as defined in claim 1, wherein the first context includes a first memory storing variables associated with the first application, and the second context includes a second memory storing variables associated the second application.

### Claim 5 (depends on 4)

The application specific processor as defined in claim 4, wherein the first and second memories are provided on a shared memory device.

### Claim 6 (depends on 5)

The application specific processor as defined in claim 5, where the shared memory device is a RAM.

### Claim 7 (depends on 4)

The application specific processor as defined in claim 4, wherein the first context further includes a first program counter for tracking instructions associated with the first application, and the second context includes a second program counter for tracking instructions associated with the second application.

### Claim 8 (depends on 7)

The application specific processor as defined in claim 7, wherein the first context further includes a first set of registers for configuration and control associated with the first application, and the second context includes a second set of registers for configuration and control associated with the second application.

### Claim 9 (depends on 6)

The application specific processor as defined in claim 6, further comprising:
at least one subsequent context for executing corresponding subsequent applications;
wherein the instruction memory outputs instructions for executing the first, second and at least one subsequent applications, and the context switch instruction enables switching from one of the first, second and at least one subsequent context to any of the other of the first, second and at least one subsequent context responsive to the context switch instruction output by the instruction memory while executing the first, second or at least one subsequent context.

### Claim 10 (depends on 9)

The application specific process as defined in claim 9, wherein the context switch instruction is output during a loop operation encountered while executing the first, second or at least one subsequent context.

### Claim 11 (depends on 1)

The application specific process as defined in claim 1, wherein the context switch instruction is output during times of inactivity or while waiting for an event to occur during the operation of the first or second application.

### Claim 12

A method for operating multiple applications using a single application specific processor in a system having a main control processor for controlling the operation of the system, comprising:
executing a first application using a corresponding first context in the application specific processor;
switching to a second context in the application specific processor responsive to an encounter of a first loop operation containing a first context switch instruction during the execution of the first application; and
executing the second application using the second context;
wherein the first context switch instruction and instructions for executing the first and second applications are output by a shared instruction memory in the application specific processor.

### Claim 13 (depends on 12)

The method as defined in claim 12, further comprising switching to a next context from the second context responsive to an encounter of a second loop operation containing a second context switch instruction during the execution of the second application.

### Claim 14 (depends on 13)

The method as defined in claim 13, wherein the next context is the first context.

### Claim 15 (depends on 13)

The method as defined in claim 13, wherein the next context is a third context for executing a corresponding third application.

### Claim 16 (depends on 13)

The method as defined in claim 13, wherein second context switch instruction is output by the shared instruction memory.

### Claim 17 (depends on 12)

The method as defined in claim 12, wherein the first application is executed using stored first variables associated with the first instructions, and the second application is executed using stored second variables associated with the second application

### Claim 18 (depends on 17)

The method as defined in claim 17, wherein the first and second variables are stored in a common memory.

### Claim 19

An application specific processor for executing multiple dedicated applications in a disk storage system including a hard disk controller having a main control processor for controlling the disk storage system and transmission of data to and from a host device, the application specific processor comprising:
a first context for executing a corresponding first application;
a second context for executing a corresponding second application; and
an instruction memory for outputting instructions for executing the first and second applications, and a context switch instruction for switching from one of the first and second contexts to the other of the first and second contexts;
wherein the one of the first and second contexts is switched to the other of the first and second contexts responsive to an encounter of a loop operation containing the context switch instruction while executing the first or second application.

### Claim 20 (depends on 19)

The application specific processor as defined in claim 19, wherein the first context transmits data to the host device through a first and second transmission ports, and the second context receives data to or from the host device through the first and second transmission ports.

### Claim 21 (depends on 19)

The application specific processor as defined in claim 19, wherein the buffer management application and the second application is a disk formatting application.

### Claim 22 (depends on 19)

The application specific processor as defined in claim 19, further comprising:
at least one subsequent context for executing corresponding subsequent applications;
wherein the instruction memory outputs instructions for executing the first, second and at least one subsequent applications, and the context switch instruction enables switching from one of the first, second and at least one subsequent context to any of the other of the first, second and at least one subsequent context responsive to an encounter of a loop operation containing the context switch instruction while executing the first, second or at least one subsequent context.
