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 whether current program code stored in a memory device in the computer system is valid;
if it is determined that the current program code is invalid, executing code stored in the memory device to copy an update file from a storage device to a main memory in the computer system, the update file comprising recovery program code for the memory device; and
executing the update file from the main memory to update 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.
56 Citations
24 Claims
-
1. A method of recovering program code in a computer system comprising:
-
determining whether current program code stored in a memory device in the computer system is valid;
if it is determined that the current program code is invalid, executing code stored in the memory device to copy an update file from a storage device to a main memory in the computer system, the update file comprising recovery program code for the memory device; and
executing the update file from the main memory to update 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, 13)
-
-
14. 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;
if it is determined that the current program code is invalid, copy the image file from a storage device in the computer system to the second memory device;
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 (15, 16, 17, 18, 19, 20, 21, 22, 23, 24)
-
Specification