Call for action
In order to support SMM memory protection, the firmware need configure SMM driver to be page aligned:
- Override link flags below to support SMM memory protection.
[BuildOptions.common.EDKII.DXE_SMM_DRIVER, BuildOptions.common.EDKII.SMM_CORE] MSFT:*_*_*_DLINK_FLAGS = /ALIGN:4096 GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
- Evaluate if SMRAM size is big enough.
Summary
This section introduces the memory protection in SMM.