Method for redundant suspend to RAM
First Claim
1. A method of validating the contents of system memory, comprising:
- storing a substantial image of the contents of system memory to non-volatile memory;
reading the contents of system memory;
checking the contents of system memory for errors; and
restoring the image stored in non-volatile memory to system memory if a non-correctable error is found in the contents of system memory.
3 Assignments
0 Petitions
Accused Products
Abstract
A computer system supports suspend operations to save power. The suspend operation maintains power to the system memory to enable a quick recovery from the suspend mode. To insure the accuracy of the data in system memory, a copy of the data is backed up to non-volatile memory, such as a hard disk drive, prior to entering the suspend mode. In addition, a signature value representing blocks or pages of memory also is saved with the data. When normal operation resumes, data in system memory is validated by calculating a new signature for each data block or page, and comparing it with the save signature values. If the signatures match, the data is assumed to be valid. If the values do not match, a restore operation proceeds to load the back up copy to that block of system memory. The algorithm may be run immediately upon resuming operation, or may run in the background when the CPU is idle. In the event a transaction occurs prior to validation of a particular memory location, the access is interrupted and the data is validated or restored. In addition, the error checking and restoration operations may be used during normal system operations to insure the integrity of data in the system memory or other volatile memory components.
-
Citations
62 Claims
-
1. A method of validating the contents of system memory, comprising:
-
storing a substantial image of the contents of system memory to non-volatile memory;
reading the contents of system memory;
checking the contents of system memory for errors; and
restoring the image stored in non-volatile memory to system memory if a non-correctable error is found in the contents of system memory. - 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, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 49, 50, 51, 52, 53, 54, 55, 56, 57, 59, 60, 61, 62)
-
-
28. A method of placing a computer system into a suspend mode, and resuming normal operation, comprising the acts of:
-
reading a page of system memory;
calculating a signature for the page;
saving a substantial image of the page of system memory to non-volatile memory;
saving the signature;
entering a suspend state;
resuming normal operation;
reading the page of system memory and calculating a signature of the page of memory;
comparing the signature calculated after resuming normal operation with the signature saved prior to entering the suspended state;
restoring the substantial image of the page of system memory from non-volatile memory and writing to system memory if the signatures do not match.
-
-
39. A method of placing a computer system into a low power state, comprising the acts of:
-
determining if a page of system memory includes valid data;
storing a copy of any valid data into non-volatile memory;
calculating a signature value associated with the stored data, and saving that signature value in memory;
placing the computer into a suspend mode where the system memory remains powered;
resuming operation of the computer system; and
validating the contents of system memory by calculating a new signature value and comparing the new signature value with the saved signature value.
-
-
48. A computer system capable of entering a low power mode of operation, comprising:
-
a CPU;
a system memory that remains powered during the low power mode of operation;
a non-volatile memory device;
wherein the CPU calculates a signature value for data stored in said system memory prior to entering the low power mode, and stores the signature value; and
wherein the CPU copies the data stored in said system memory to non-volatile memory prior to entering the low power mode.
-
-
58. A method of restoring a computer system from a low power state, comprising the acts of:
-
configuring system memory as a plurality of memory pages;
storing said memory pages to non-volatile memory;
initiating entry into a low power state;
resuming normal operation from the low power state;
intercepting an access to a memory page that has not been restored from non-volatile memory; and
restoring the accessed memory page from non-volatile memory.
-
Specification