# US 2008/0270779 A1 · System management mode enhancements

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2008/0270779 A1
- Document ID: US20080270779A1
- Status: Published application
- Kind: A1
- Application number: 11/789,732
- Filed: 2007-04-25
- Published: 2008-10-30
- Earliest claimed: 2007-04-25
- Assignees: American Megatrends, Inc.
- Inventors: Mark Eric Wilson
- Web page: https://patentgrep.com/patent/US20080270779A1

## CPC

- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 9/4418: {Suspend and resume; Hibernate and awake}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## 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.

## Claims

### Claim 1

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.

### Claim 2 (depends on 1)

The method of claim 1, wherein entering PEI phase comprises entering PEI phase in order to resume from an S3 standby state.

### Claim 3 (depends on 1)

The method of claim 1, wherein entering PEI phase comprises entering PEI phase from at least one of a cold boot, warm boot, CPU-only reset, or power-on state.

### Claim 4 (depends on 1)

The method of claim 1, further comprising the steps of:
a. determining a second SMBASE for a second processor using the initial BSP SMBASE; and
b. storing the second SMBASE in the HOB.

### Claim 5 (depends on 2)

The method of claim 2, further comprising the steps of:
a. determining a second SMBASE for a second processor using the initial BSP SMBASE; and
b. storing the second SMBASE in the HOB.

### Claim 6 (depends on 3)

The method of claim 3, further comprising the steps of:
a. determining a second SMBASE for a second processor using the initial BSP SMBASE; and
b. storing the second SMBASE in the HOB.

### Claim 7 (depends on 4)

The method of claim 4, further comprising the step of selecting a processor to execute one or more SMM drivers using the BSP.

### Claim 8 (depends on 5)

The method of claim 5, further comprising the step of selecting a processor to execute one or more SMM drivers using the BSP.

### Claim 9 (depends on 6)

The method of claim 6, further comprising the step of selecting a processor to execute one or more SMM drivers using the BSP.

### Claim 10 (depends on 1)

The method of claim 1, wherein the HOB comprises a plurality of HOBs.

### Claim 11 (depends on 2)

The method of claim 2, wherein the HOB comprises a plurality of HOBs.

### Claim 12 (depends on 3)

The method of claim 3, wherein the HOB comprises a plurality of HOBs.

### Claim 13 (depends on 4)

The method of claim 4, wherein the HOB comprises a plurality of HOBs.

### Claim 14 (depends on 5)

The method of claim 5, wherein the HOB comprises a plurality of HOBs.

### Claim 15 (depends on 6)

The method of claim 6, wherein the HOB comprises a plurality of HOBs.

### Claim 16 (depends on 7)

The method of claim 7, wherein the HOB comprises a plurality of HOBs.

### Claim 17 (depends on 8)

The method of claim 8, wherein the HOB comprises a plurality of HOBs.

### Claim 18 (depends on 9)

The method of claim 9, wherein the HOB comprises a plurality of HOBs.

### Claim 19

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.

### Claim 20

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.
