Processor state restoration and method for resume
First Claim
Patent Images
1. A system comprising:
- at least one processor on a platform;
a chipset coupled to the at least one processor, the chipset to identify when the at least one processor is to be put into a low power state or raised from a low power state to a normal state;
a volatile memory store coupled to the at least one processor to store machine context associated with the at least one processor in a portion of the volatile memory, wherein the portion of volatile memory is reserved for firmware use and inaccessible to an operating system on the platform;
a system management interrupt handler operating on the at least one processor on the platform to save machine context in the volatile memory store, in response to a request to put at least one processor into a low power state, and to restore machine context in response to a request to raise at least one processor from a low power state to a normal state.
1 Assignment
0 Petitions
Accused Products
Abstract
In some embodiments, the invention involves efficiently boot and resume a machine from a low power state. In at least one embodiment, the present invention saves the processor state(s) in a buffer that allows fast access upon a resume from sleep mode. When a sleep (S3 mode) is initiated in a platform, processor state context is saved in a system reserved buffer that does not allow access to the operating system. The firmware (EFI) has access to the buffer and upon a resume, the processor context(s) are restored from a fast buffer. Other embodiments are described and claimed.
19 Citations
15 Claims
-
1. A system comprising:
-
at least one processor on a platform;
a chipset coupled to the at least one processor, the chipset to identify when the at least one processor is to be put into a low power state or raised from a low power state to a normal state;
a volatile memory store coupled to the at least one processor to store machine context associated with the at least one processor in a portion of the volatile memory, wherein the portion of volatile memory is reserved for firmware use and inaccessible to an operating system on the platform;
a system management interrupt handler operating on the at least one processor on the platform to save machine context in the volatile memory store, in response to a request to put at least one processor into a low power state, and to restore machine context in response to a request to raise at least one processor from a low power state to a normal state. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A method comprising:
-
determining whether a processor is to transition from a higher power state to a lower power state;
if the processor is to transition from a higher power state to a lower power state then;
saving processor context in a volatile memory store coupled to the processor, and transitioning the processor to the lower power state;
determining when a processor is to transition from a higher power state to a lower power state; and
if the processor is to transition from a lower power state to a higher power state then;
restoring processor context from the volatile memory store, and transitioning the processor to the higher power state. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A machine readable medium having instructions that when executed cause a processor on a platform to:
-
save processor context in a volatile memory store coupled to the processor in response to a request to transition the processor to a lower power mode;
restore processor context from a volatile memory store coupled to the processor in response to a request to transition the processor to a higher power mode; and
transition the processor to the requested power state. - View Dependent Claims (12, 13, 14, 15)
-
Specification