Patent US5428779A successfully refreshed from Google Patents.
← Back to Patent Explorer
US5428779A Expired / Lapsed US ⏱️ 0.0 years remaining

System and method for supporting context switching within a multiprocessor system having functional blocks that generate state programs with coded register load instructions

Assignee: Samsung Electronics Co Ltd
•
Filing: 1992-11-09
•
Granted: 1995-06-27
•
Expires: 2012-11-09
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A context switching system for saving, restoring or swapping tasks, and is adapted for use in a multitasking processor coupled to an external or system memory. The processor includes one or more functional blocks to perform the tasks. The functional blocks comprise registers that store state data that, at a particular instant, represents the context of the system. The system comprises a controller that receives a save or switch command and generates a context save instruction in response thereto. The controller is configured to pass the context save instruction to the functional blocks. The functional blocks generate a state program. The state program comprises one or more register load instructions and the state data representing the context of the system so that context can be restored at a later time. The state program is stored in an external or system memory. Saving context as state programs permits the system to quickly switch from one context to another without losing important information.

Inventors

  • 👤 Jean D. Allegrucci
  • 👤 Derek J. Lentz
  • 👤 Glenn C. Poole

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 11:19
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/46; G06F9/461; G06F9/463

Claims Analysis

Total Claims: 6
Claim 1
Independent Claim 207 words
A method for saving, restoring and switching tasks, in a context switching system adapted for use in a multitasking processor coupled to a memory and having one or more functional blocks to perform the tasks, the functional blocks having registers, wherein the registers store state data that, at a particular instant, represents the context of the system, comprising the steps of: (1) receiving, in a control means, one of a save command, switch command and an interrupt signal, and generating a context save instruction in response thereto; (2) passing said context save instruction to one or more of the functional blocks, said passing performed by the control means; (3) receiving said context save instruction at the one or more functional blocks; (4) generating a state program, said state program comprising one or more register load instructions and the state data representing the context of the system so that context can be restored at a later time, said generating step performed by the one or more functional blocks; (5) temporarily storing said state program in a context queue, said storing step performed by the one or more functional blocks; and (6) transferring said state program from said context queue to a context data buffer area in the memory.
Claim 2
Independent Claim 207 words
A method for saving, restoring and switching tasks, in a context switching system adapted for use in a multitasking processor coupled to a memory and having one or more functional blocks to perform the tasks, the functional blocks having registers, wherein the registers store state data that, at a particular instant, represents the context of the system, comprising the steps of: (1) receiving, in a control means, one of a save command, switch command and an interrupt signal, and generating a context save instruction in response thereto; (2) passing said context save instruction to one or more of the functional blocks, said passing performed by the control means; (3) receiving said context save instruction at the one or more functional blocks; (4) generating a state program, said state program comprising one or more register load instructions and the state data representing the context of the system so that context can be restored at a later time, said generating step performed by the one or more functional blocks; (5) temporarily storing said state program in a context queue, said storing step performed by the one or more functional blocks; and (6) transferring said state program from said context queue to a context data buffer area in the memory.
Claim 3
Dependent Claim 43 words
The method according to claim 1, wherein in step 5 the control means performs the step of: providing a context area base pointer to specify a base address for said context data buffer where said state program is to be stored in memory.
Claim 4
Dependent Claim 53 words
The method according to claim 1, further comprising the step of: serially passing said context save instruction from one functional block to the next; and wherein the state data of a particular functional block is first forwarded to said context queue before said context save instruction is passed to the next functional block.
Claim 5
Independent Claim 147 words
A method for restoring a state program in a context switching system adapted for use in a multitasking processor coupled to a memory and having one or more functional blocks to perform the tasks, the functional blocks having registers, wherein the registers store state data that, at a particular instant, represents the context of the system, comprising the steps of: receiving a restore instruction; fetching, in response to said restore instruction, a state program from a context data buffer in the memory by using a context restore base pointer that specifies the address in the memory of said predetermined context data buffer, the state program comprising state blocks having register load instructions and state data to be stored in functional block registers specified by the register load instructions; and executing the register load instructions of the state program to restore the functional blocks to a predetermined context.
Claim 6
Independent Claim 147 words
A method for restoring a state program in a context switching system adapted for use in a multitasking processor coupled to a memory and having one or more functional blocks to perform the tasks, the functional blocks having registers, wherein the registers store state data that, at a particular instant, represents the context of the system, comprising the steps of: receiving a restore instruction; fetching, in response to said restore instruction, a state program from a context data buffer in the memory by using a context restore base pointer that specifies the address in the memory of said predetermined context data buffer, the state program comprising state blocks having register load instructions and state data to be stored in functional block registers specified by the register load instructions; and executing the register load instructions of the state program to restore the functional blocks to a predetermined context.

References Cited (Backward Citations)

US3614742A Cited
US4067058A Cited
US4445173A Cited
US4562538A Cited
US4658351A Cited
US5008812A Cited
US5127098A Cited
US5142677A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1998-06-26 1998-12-26 1999-06-27 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2002-06-26 2002-12-26 2003-06-27 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2006-06-26 2006-12-26 2007-06-27 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag