User and Reference Guide

  • 2021.1
  • 12/04/2020
  • Public Content
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® 64 processor at [SMBASE + 8000H + 7FFFH] and extends to [SMBASE + 8000H + 7C00H]. The Intel® 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:
for cont in intel.sysdbg.threads[0].children(): id = cont.getID() if "SMM" in id: list = cont.registers.list() break for reg in list: print(reg.name, hex(reg.get()[1]))
You get a list of pairs (namely, tuples) representing a register name and its hexadecimal value.
For more information of the SMRAM State Save Map, refer to the Intel® 64 and IA-32 Architectures Software Developer Manuals.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.