Restoring processor context in response to processor power-up
DCFirst Claim
Patent Images
1. A method comprising:
- executing, with a processor, a first instruction in an instruction set;
subsequent to said executing and before executing a next instruction in said instruction set following said first instruction, and in response to detecting a command to remove a clock input from said processor, saving context information from said processor'"'"'s internal memory to a second memory and then removing power from said processor;
in response to returning power to said processor, restoring said saved context information from said second memory to said internal memory before executing said next instruction; and
subsequent to said restoring, executing said next instruction.
7 Assignments
Litigations
0 Petitions
Accused Products
Abstract
A CPU (1) automatically preserves the CPU context in a computer memory (5) that remains powered-up when the CPU is powered down in sleep mode. By means of the preserved CPU context, the CPU is able to instantly and transparently resume program execution at the instruction of the program that was asserted for execution when the CPU was powered down. The CPU is permitted to power down frequently, even during execution of a program, and results in reduced average overall power consumption.
-
Citations
18 Claims
-
1. A method comprising:
-
executing, with a processor, a first instruction in an instruction set; subsequent to said executing and before executing a next instruction in said instruction set following said first instruction, and in response to detecting a command to remove a clock input from said processor, saving context information from said processor'"'"'s internal memory to a second memory and then removing power from said processor; in response to returning power to said processor, restoring said saved context information from said second memory to said internal memory before executing said next instruction; and subsequent to said restoring, executing said next instruction. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A computer-readable storage device having stored thereon, computer-executable instructions that, responsive to execution by a computing device, cause the computing device to perform operations comprising:
-
subsequent to a processor executing a first instruction in an instruction set and before said processor executes a next instruction in said instruction set following said first instruction, and in response to detecting a command to remove a clock input from said processor, saving context information from said processor'"'"'s internal memory to a second memory and then removing power from said processor; in response to a triggering event, returning power to said processor and restoring said saved context information from said second memory to said internal memory before said next instruction is executed; and subsequent to said restoring, executing said next instruction. - View Dependent Claims (8, 9, 10, 11, 12)
-
-
13. A computer system comprising:
-
a processor operable for executing a first instruction and a second instruction in an instruction set, wherein said first instruction and said second instruction are consecutive; and a memory coupled to said processor, wherein said memory is configured to remain powered if said processor is powered down; wherein after executing said first instruction and before executing said second instruction, and in response to detecting a command to remove a clock input from said processor, said processor is operable for saving context information from said processor'"'"'s internal memory to said memory; wherein if said processor is powered down after said context information is saved to said memory, then said saved context information is restored from said memory to said internal memory in response to powering up said processor and before said second instruction is executed, wherein said processor is then operable for executing said second instruction. - View Dependent Claims (14, 15, 16, 17)
-
-
18. An apparatus comprising:
-
means for executing a first instruction in an instruction set; means for detecting a command to remove a clock input from said means for executing; means for saving context information associated with said means for executing, said context information saved after said first instruction is executed and before a next instruction in said instruction set is executed, in response to detecting said command; and means for restoring said context information to said means for executing if power is removed from said means for executing after said first instruction is executed and if power is then returned to said means for executing before said next instruction is executed, wherein said next instruction is executable after said context information is restored.
-
Specification