User and Reference Guide

  • 2020
  • 10/23/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

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804