US 7,322,029 B2 | ||
Method and system for recovering program code in a computer system | ||
Juan Diaz, Norcross, Ga. (US) | ||
Assigned to American Megatrends, Inc., Norcross, Ga. (US) | ||
Filed on May 08, 2003, as Appl. No. 10/434,025. | ||
Prior Publication US 2004/0225873 A1, Nov. 11, 2004 | ||
Int. Cl. G06F 9/44 (2006.01) |
U.S. Cl. 717—168 | 21 Claims |
1. A method of recovering program code in a computer system comprising:
determining that current program code stored in a memory device in the computer system is invalid;
setting a flag in an image file in a storage device separate from the memory device and a main memory in the computer system,
the flag indicating that the current program code is invalid;
executing copy code stored in the memory device to copy the image file from the storage device to the main memory in the computer
system, the image file comprising recovery program code for the memory device;
initiating a boot of the computer system from the image file in the main memory;
detecting whether the flag is set in response to initiating the boot of the computer system from the image file in the main
memory;
interrupting the boot of the computer system upon detecting that the flag is set to update the current program code; and
updating the current program code in the memory device with the recovery program code.
|