System and method for saving and restoring a processor state without executing any instructions from a first instruction set
DCFirst Claim
Patent Images
1. A method of operating a processor having one or more registers and running a program comprising a first instruction and a next instruction from a first instruction set, said method comprising:
- executing said first instruction;
in response to said executing, (i) saving the register context of said registers without executing any instructions from said first instruction set; and
(ii) removing power from said processor after said saving;
returning power to said processor after said removing;
after said returning, restoring said saved register context without executing any instructions from said first instruction set; and
resuming said running of said program with 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
157 Claims
-
1. A method of operating a processor having one or more registers and running a program comprising a first instruction and a next instruction from a first instruction set, said method comprising:
-
executing said first instruction; in response to said executing, (i) saving the register context of said registers without executing any instructions from said first instruction set; and
(ii) removing power from said processor after said saving;returning power to said processor after said removing; after said returning, restoring said saved register context without executing any instructions from said first instruction set; and resuming said running of said program with said next instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34)
-
-
35. A computer system comprising:
-
a central processing unit (CPU) comprising a first memory accessible only to said CPU; and a second memory coupled to said CPU, said memory unit containing instructions that when executed implement a computer-implemented method of operating said processor, said method comprising; executing a first instruction of a first instruction set of a program to place said processor into a state; saving said state without executing any instructions from said first instruction set; removing power from said processor after said saving; returning power to said processor after said removing; after said returning, restoring said state without executing any instructions from said first instruction set; and resuming said running of said program with a next instruction of said first instruction set. - View Dependent Claims (36, 37, 38, 39, 40, 41)
-
-
42. A computer-readable medium embodying instructions that cause a computer to perform a method of operating a processor running a program comprising a first instruction and a next instruction from a first instruction set, said method comprising:
-
executing said first instruction to place said processor into a state; saving said state without executing any instructions from said first instruction set; removing power from said processor after said saving; returning power to said processor after said removing; after said returning, restoring said state without executing any instructions from said first instruction set; and resuming said running of said program with said next instruction. - View Dependent Claims (43, 44, 45, 46)
-
-
47. A method of operating a CPU including one or more registers and running a program comprising a first instruction from a first instruction set, said method comprising:
-
executing said first instruction; in response to said executing, (i) saving the state of said registers without executing any additional instructions from said first instruction set; and
(ii) initiating an action that may cause the state of said registers to become undefined; andrestoring said saved state of said registers without executing any additional instructions from said first instruction set. - View Dependent Claims (48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84)
-
-
85. A method of operating a CPU including one or more registers and running a program comprising a first instruction from a first instruction set, said method comprising:
-
executing said first instruction; in response to said executing, saving the state of said registers without executing any additional instructions from said first instruction set; and restoring said saved state of said registers without executing any additional instructions from said first instruction set if power to the CPU has been lost. - View Dependent Claims (86, 87, 88, 89, 90)
-
-
91. A method of operating a CPU including one or more registers and running a program comprising a first instruction from a first instruction set, said method comprising:
-
executing said first instruction; in response to said executing, (i) saving the state of said registers without executing any additional instructions from said first instruction set; and
(ii) stopping further execution of instructions; andrestoring said state of said registers without executing any additional instructions from said first instruction set. - View Dependent Claims (92, 93, 94, 95, 96)
-
-
97. A method of operating a processor and one or more system components, said processor having registers and running a program comprising a first instruction from a first instruction set, said method comprising:
-
executing said first instruction; in response to said executing, (i) saving the states of said registers and said system components, without executing any additional instructions from said first instruction set; and
(ii) initiating an action that may cause the state of said registers or the state of said system components to become undefined; andrestoring said saved state of said registers and said system components without executing any additional instructions from said first instruction set. - View Dependent Claims (98, 99, 100, 101, 102)
-
-
103. A CPU for executing instructions from a first instruction set, said CPU comprising:
-
one or more registers holding a state;
whereinsaid CPU is adapted, upon executing a first instruction from said first instruction set, (i) to save said state in a memory without executing any additional instructions from said first instruction set; and
(ii) to initiate an action that may cause the state of said registers to become undefined; andsaid CPU is adapted, in response to an event, to restore the saved state of said registers from said memory without executing any additional instructions from said first instruction set. - View Dependent Claims (104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141)
-
-
142. A method of operating a CPU running a program comprising a first instruction from a first instruction set and having one or more registers holding program counter information, said method comprising:
-
executing said first instruction; in response to said executing, (i) saving the program counter information without executing any additional instructions from said first instruction set; and
(ii) initiating an action that may cause said program counter information to become undefined; andrestoring said saved program counter information without executing any additional instructions from said first instruction set. - View Dependent Claims (143, 144, 145, 146, 147, 148, 149)
-
-
150. A CPU for executing instructions from a first instruction set, said CPU comprising:
-
one or more registers holding program counter information;
whereinsaid CPU is adapted, upon executing a first instruction from said first instruction set, (i) to save the program counter information without executing any additional instructions from said first instruction set; and
(ii) to initiate an action that may cause said program counter information to become undefined; andsaid CPU is adapted, in response to an event, to restore said saved program counter information without executing any additional instructions from said first instruction set. - View Dependent Claims (151, 152, 153, 154, 155, 156, 157)
-
Specification