Method for updating basic input/output system and method for repairing thereof
AssigneeASUSTeK COMPUTER INC.
InventorMing-Jen Lee
Life of this patent
Estimating the term…
Abstract
The invention relates to a method for updating a basic input/output system (BIOS) and method for repairing the BIOS. A part of a program code of the BIOS is stored in a backup memory block in advance. If the BIOS fails to update, the backup program code can be adopted to start up a computer system and then the BIOS will be repaired.
Claims16
A method for updating a basic input/output system (BIOS), the BIOS being stored in a non-volatile memory comprising a first region used to store a part of program code of the BIOS, and the method comprising:
- reading a descriptor table to obtain an address data in the descriptor table, wherein the address data is used to point to an address of the BIOS in the non-volatile memory and the address data points to an original address of the BIOS;
- copying the part of the program code in the first region to a backup memory block;
- changing the address data in the descriptor table so that the address data points to the backup memory block;
- clearing the first region;
- writing an updated program code in the first region;
- and
- restoring the address data in the descriptor table so that the address data points to the original address.
A method for repairing a basic input/output system (BIOS), suitable for a computer system, comprising:
- detecting whether the computer system is in a descriptor mode;
- reading a backup program code of the BIOS according to the descriptor mode;
- and
- using the backup program code to start up the computer system and repair the BIOS.
Dependencies are inferred from the claim text.