User and Reference Guide

  • 2020
  • 10/23/2020
  • Public Content
Contents

Breaking on SMM Entry

Intercepting the SMM entry point to start debugging the SMM.
System Management Mode can only be entered through System Management Interrupt (SMI). To intercept SMI:
  1. Halt the target by clicking the
    suspend
    Suspend button in the main Eclipse* toolbar.
  2. In the Breakpoints view, set a platform break of type SmmEntry as described in Setting Platform Breaks.
  3. Resume the target by clicking the
    resume
    Resume button and wait till the SMI is hit.
If the SMM entry has not been intercepted, you can force SMI by writing to port 0xb2 on most platforms. Remember, the thread needs to be halted to execute the write operation on the IO Port. In the ISD shell, run the command below and repeat step 3:
threads[0].ioport.write(0xb2, 1, 1)
Once the debugger has stopped at the SMM Entry break, it will automatically restore the debug registers. Updated registers are highlighted in the Registers view.
Note
Software breakpoints cannot be set in SMM. Make sure you only set address breakpoints of type Hardware.

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