Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mm infra #169

Merged
merged 8 commits into from
Sep 18, 2024
Merged

Mm infra #169

merged 8 commits into from
Sep 18, 2024

Conversation

jiaxinwu
Copy link
Member

@jiaxinwu jiaxinwu commented Jul 16, 2024

Enable MM Infra on QSP Platform

@jiaxinwu jiaxinwu marked this pull request as draft July 16, 2024 05:53
@jiaxinwu jiaxinwu mentioned this pull request Jul 17, 2024
@jiaxinwu jiaxinwu force-pushed the MM_Infra branch 2 times, most recently from 5bd6c17 to fcfca14 Compare August 7, 2024 02:13
td36 and others added 4 commits August 8, 2024 16:32
Create MmPlatformHobProducerLib instance for QSP boot.
In this libarary, CreateMmPlatformHob() function is called
by StandaloneMm IPL to create all Platform specific HOBs
that required by Standalone MM environment. On return, a list
of ResourceDescriptorHob are generated to report MMIO ranges.
All memory ranges except SMRAM and EFI_RESOURCE_SYSTEM_MEMORY
type memory ranges are treated as MMIO.

Signed-off-by: Dun Tan <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Cc: Nate DeSimone <[email protected]>
Cc: Star Zeng <[email protected]>
Cc: Wei6 Xu <[email protected]>
Cc: Yuanhao Xie <[email protected]>
Add MmPlatformHobProducerLib.inf in the
BoardX58Ich10/OpenBoardPkg.dsc

Signed-off-by: Dun Tan <[email protected]>
Force PE/COFF sections to be aligned at 4KB boundaries
to support MemoryAttribute table.

Signed-off-by: Jiaxin Wu <[email protected]>
This patch changes below dynamic PCD to fixed PCD for MM_STANDALONE:
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase64|0
gEfiMdeModulePkgTokenSpaceGuid.PcdEmuVariableNvStoreReserved|0

Signed-off-by: Jiaxin Wu <[email protected]>
@jiaxinwu jiaxinwu marked this pull request as ready for review August 12, 2024 02:07
Add PcdStandaloneMmEnable feature PCD, default set to FALSE.

Signed-off-by: Jiaxin Wu <[email protected]>
Include required StandaloneMm drivers under
PcdStandaloneMmEnable PCD.

Signed-off-by: Jiaxin Wu <[email protected]>
Include required StandaloneMm Drivers and Libs under
PcdStandaloneMmEnable PCD.

Change the PcdStandaloneMmEnable to TRUE to enable
the MM on QSP.

Signed-off-by: Jiaxin Wu <[email protected]>
Add PcdCpuSmmProfileEnable & PcdCpuSmmRestrictedMemoryAccess for
the SmmProfile enable/disable control for QSP.

Signed-off-by: Jiaxin Wu <[email protected]>
@ChaselChiu ChaselChiu merged commit ef23c73 into tianocore:master Sep 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants