METHOD FOR UPDATING BASIC INPUT/OUTPUT SYSTEM AND METHOD FOR REPAIRING THEREOF
First Claim
Patent Images
1. 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.
1 Assignment
0 Petitions
Accused Products
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.
31 Citations
16 Claims
-
1. 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. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. 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. - View Dependent Claims (12, 13, 14, 15, 16)
-
Specification