Method for intel platform detection of parameters in flash rom
AssigneeInspur Electronic Information Industry Co., Ltd.
InventorZhangping GUO
Life of this patent
Estimating the term…
Abstract
A method for Intel platform detection of parameters in a flash ROM, relating to the technical field of servers: before OPMENU and OPTYPE registers are locked in a PEI state, storing the data in an SFDP table in a HOB, and then storing the data in a memory of an EfiACPIMemoryNVS type in a DXE stage; the data can be acquired by means of invoking driving on the application layer; the acquisition of various flash ROM parameters is more convenient, facilitating checking whether the parameters are the same as those written in the program; product performance and product stability are increased, and the occurrence of bugs is reduced.
Claims3
A method for acquiring a parameter in a Flash Rom in an Intel platform, comprising:
- 1) saving, at a PEI stage in booting and before an OPMENU register and an OPTYPE registers are locked, values of the OPMENU register and the OPTYPE register;
- 2) filling a command 0x5A for reading a SFDP table into the OPMENU register and the OPTYPE register;
- 3) storing data of the SFDP table in a built HOB;
- 4) storing, at a DXE stage, data in the HOB into an applied EfiACPIMemoryNVS memory;
- and
- 5) reading, by calling a driver in a system, the data from the EfiACPIMemoryNVS memory.
Dependencies are inferred from the claim text.