Intel® System Debugger User Guide

ID 648476
Date 06/13/2024
Confidential
Document Table of Contents

Accessing the SMRAM State Save Map

When the processor initially enters SMM, it writes its state to the state save area of the SMRAM. The state save area on an Intel(R) 64 processor at [SMBASE + 8000H + 7FFFH] and extends to [SMBASE + 8000H + 7C00H]. The Intel(R) System Debugger allows you to access register values of a particular thread.

To display values of all registers associated with a particular thread, run the following code in the ISD shell:

threads[0].get_arch_registers()

You get a list of pairs (namely, tuples) representing a register name and its value.

For more information of the SMRAM State Save Map, refer to the Intel(R) 64 and IA-32 Architectures Software Developer Manuals.