What is SMM?

Quick note explaining SMM for BIOS/UEFI and embedded firmware readers.

2 min read
Đọc bằng English 日本語
BIOS Terms cover

SMM (System Management Mode) is a privileged CPU mode used by firmware for special platform-management tasks.

Why it matters

  • Explains the core language used in BIOS/UEFI source and logs.
  • Helps identify where a concept appears in the boot flow.
  • Serves as a bridge between specification terms and real firmware debugging.

Practical example

Example: when reading a boot log, search for SMM-related messages and note which phase produced them before jumping into source code.

Quick checklist

Quick takeaway

SMM is a small concept, but it often becomes important when reading logs or debugging real firmware.

How I usually read it

I try not to treat SMM as a dictionary entry. I read it as part of a firmware path: who produces it, who consumes it, and what symptom appears when it is wrong. That habit makes the note useful during debugging, not only during study.

Where it shows up

Most firmware concepts become clearer when placed in the right phase. PEI, DXE, BDS, and runtime code have different responsibilities. For SMM, I would ask which module creates it, which protocol/PPI/HOB or variable carries it, and which later component depends on it.

In a real debugging session

For SMM, the important question is not only what it protects, but when it is locked, who can change it, and where the current state can be verified. Firmware security often fails because the policy is correct on paper but applied at the wrong time.

While reading source code, pay attention to phase transitions, NVRAM variables, SMM policy, flash descriptor settings, and image authentication paths. Security bugs often hide behind ordinary control flow.

Public references

Found this useful?

Save it or share it with someone learning firmware, BIOS/UEFI, and embedded systems.

Nội dung liên quan

Một số bài viết, ghi chú hoặc project có liên quan đến nội dung bạn vừa đọc.

Biến note thành bài viết hoàn chỉnh

Notes là nơi ghi nhanh khái niệm.