System management mode enhancements
AssigneeAmerican Megatrends, Inc.
InventorMark Eric Wilson
Life of this patent
Estimating the term…
Abstract
Methods, systems, and computer program products are provided for making PEI phase implementation independent from DXE phase implementation in a computer system implementing the Extensible Firmware Interface standard. For example, one embodiment of the present invention uses a hand-off block to make SMBASE initialization in PEI independent form SMBASE initialization in DXE. In another embodiment of the present invention, PEI phase is entered in order to resume from an S3 standby state.
Claims20
A method for using a hand-off block (“HOB”) to make SMBASE initialization in PEI independent from SMBASE initialization in DXE, comprising:
- a. entering PEI phase;
- b. creating a copy of a default SMM handler;
- c. determining an initial BSP SMBASE and storing it in the HOB;
- d. determining a first SMBASE for a first processor using the initial BSP SMBASE;
- e. storing the first SMBASE in the HOB;
- f. storing in the HOB TSEG information that describes the TSEG region;
- g. storing in the HOB DXE information that describes the memory to be used during the DXE phase of SMM;
- h. storing the number of processors in the HOB;
- i. restoring the default SMM handler using the copy of the default SMM handler;
- and
- j. using information in the HOB to initialize SMM.
A system for using a hand-off block (“HOB”) to make SMBASE initialization in PEI independent from SMBASE initialization in DXE, comprising:
- a. means for entering PEI phase;
- b. means for creating a copy of a default SMM handler;
- c. means for determining an initial BSP SMBASE and storing it in the HOB;
- d. means for determining a first SMBASE for a first processor using the initial BSP SMBASE;
- e. means for storing the first SMBASE in the HOB;
- f. means for storing in the HOB TSEG information that describes the TSEG region;
- g. means for storing in the HOB DXE information that describes the memory to be used during the DXE phase of SMM;
- h. means for storing the number of processors in the HOB;
- i. means for restoring the default SMM handler using the copy of the default SMM handler;
- and
- j. means for using information in the HOB to initialize SMM.
A computer program product encoded in a computer readable medium for using a hand-off block (“HOB”) to make SMBASE initialization in PEI independent from SMBASE initialization in DXE, wherein the computer program product is encoded to perform the steps of:
- a. entering PEI phase;
- b. creating a copy of a default SMM handler;
- c. determining an initial BSP SMBASE and storing it in the HOB;
- d. determining a first SMBASE for a first processor using the initial BSP SMBASE;
- e. storing the first SMBASE in the HOB;
- f. storing in the HOB TSEG information that describes the TSEG region;
- g. storing in the HOB DXE information that describes the memory to be used during the DXE phase of SMM;
- h. storing the number of processors in the HOB;
- i. restoring the default SMM handler using the copy of the default SMM handler;
- and
- j. using information in the HOB to initialize SMM.
Dependencies are inferred from the claim text.