Method and system for recovering program code in a computer system
First Claim
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.
3 Assignments
0 Petitions
Accused Products
Abstract
A method and computer system are provided for recovering program code in a memory device. A determination is made as to whether current program code stored in a memory device in the computer system is valid. The current program code may be current BIOS code for the computer system. If it is determined that the current program code is invalid, code stored in the memory device is executed to copy an image file from a storage device to a main memory in the computer system. The image file includes recovery program code for the memory device. The current program code in the memory device is then updated with the recovery program code from the main memory. Prior to updating the current program code, a flag is set indicating that the current program code needs to be updated. A boot of the computer system is then initiated from the image file and upon detecting the flag, the boot of the computer system is interrupted. While the current program code in the memory device is being updated with the recovery program code, status messages related to the ongoing update may be displayed on a video display device in the computer system.
18 Citations
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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11)
-
-
12. A computer system for recovering program code stored in a memory device, comprising:
-
a first memory device comprising current program code for initializing the computer system; a second memory device for storing an image file comprising recovery code and recovery program code for the first memory device; and a processor, functionally coupled to the first and second memory devices, the processor being responsive to computer-executable instructions contained in the first memory device and operative to; determine whether the current program code stored in the first memory device in the computer system is valid; set a flag in the image file in a storage device in the computer system separate from the first memory device and the second memory device, the flag indicating that the current program code is invalid; if it is determined that the current program code is invalid, copy the image file from the storage device in the computer system to the second memory device; initiate a boot of the computer system from the image file in the second memory device; detect whether the flag is set in response to initiating the boot of the computer system from the image file in the second memory device; interrupt the boot of the computer system upon detecting that the flag is set to update the current program code; from the second memory device, execute the recovery code contained in the image file to update the current program code in the first memory device with the recovery program code; and if it is determined that the current program is valid, initiate a boot of the computer system from the current program code. - View Dependent Claims (13, 14, 15, 16, 17, 18, 19, 20, 21)
-
Specification