System and method for enabling/disabling write-protection of a basic input output system
AssigneesHong Fu Jin Precision Industry (Shen Zhen) Co., Ltd., Hon Hai Precision Industry Co., Ltd.
InventorFei-Zhou Wang
Life of this patent
Estimating the term…
Abstract
A method for enabling/disabling write-protect of a basic input/output system (BIOS) includes: setting a parameter structure; configuring a pointer of a header file and a data structure of the header file in a program segment of the BIOS codes; configuring data blocks that are configured for enabling/disabling the write-protection of the BIOS for the data structure in the program segment; searching the pointer of the header file, and locating the data blocks; and processing codes in a data block that is corresponding to a command line sub-parameter of the parameter structure. A system for enabling/disabling write-protect of a basic input/output system (BIOS) is also disclosed.
Claims5
A system for enabling/disabling write-protection of a basic input/output system (BIOS) of a computer, the computer comprising a central I/O controller and a super I/O controller, the system comprising:
- a setting module configured for setting a parameter structure, configuring a pointer of a header file and a data structure of the header file in a particular segment of the BIOS codes, and configuring data blocks for the data structure in the particular segment, the data blocks used to set a general purpose input/output (GPIO) pin of the central I/O controller and a GPIO pin of the super I/O controller in a high level state or a low level state, to enable/disable the write-protection of the BIOS;
- a searching module configured for searching the pointer of the header file, locating the data blocks, and returning an offset address of a byte;
- an input/output module configured for inputting a command line sub-parameter of the parameter structure, and returning a message that indicates the write-protection of the BIOS is enabled or disabled;
- a processing module configured for processing codes in the data block that corresponds to the inputted command line sub-parameter;
- at least one storage device of the computer for storing the setting module, the searching module, the input/output module, and the processing module;
- and
- at least one processor of the computer for executing the setting module, the searching module, the input/output module, and the processing module.
A method for enabling/disabling write-protection of a basic input/output system (BIOS) of a computer, the computer comprising a central I/O controller and a super I/O controller, the method comprising the steps of:
- setting a parameter structure;
- configuring a pointer of a header file and a data structure of the header file in a particular program segment of the BIOS codes;
- configuring data blocks for the data structure in the particular program segment, the data blocks used to set a general purpose input/output (GPIO) pin of the central I/O controller and a GPIO pin of the super I/O controller in a high level state or a low level state, to enable/disable the write-protection of the BIOS;
- searching the pointer of the header file, and locating the data blocks;
- and
- processing codes in a data block that is corresponding to a command line sub-parameter of the parameter structure.
Dependencies are inferred from the claim text.