摘要 |
Methods, apparatus, and computer-readable media for relocating a program module executing within a PEI phase from a NVRAM to a RAM are provided. According to one method, a program module is executed from NVRAM prior to RAM being initialized in the PEI phase. While the program module is executing from the NVRAM, it is operative to store an in-memory entry point in a hand-off block. When the RAM is initialized and becomes available in the PEI phase, the in-memory entry point for the module is retrieved from the hand-off block. The RAM address of the in-memory entry point is then calculated, and the program module is executed from the RAM at the calculated in-memory entry point.
|