audk/StandaloneMmPkg
Sughosh Ganu f7f94ffe88 StandaloneMM: Update permissions for Standalone MM drivers memory area
The StandaloneMM image executes in S-EL0 on reference Arm platforms
and is deployed by the trusted firmware as BL32 image. Memory for the
Standalone MM drivers is marked as RW+XN initially, allowing the
drivers to be loaded into the memory. Once loaded, the memory
attributes need to be changed to RO+XN for rodata sections and RO+X
for code sections.

Achieve this through the extra action 'UpdatePeCoffPermissions' to
request the privileged firmware in EL3 to update the permissions.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
Reviewed-by: Achin Gupta <achin.gupta@arm.com>
2018-12-09 16:01:53 +00:00
..
Core StandaloneMmPkg/Core: Implementation of Standalone MM Core Module. 2018-07-20 10:55:51 +08:00
Drivers/StandaloneMmCpu/AArch64 StandaloneMmPkg: Add CPU driver suitable for ARM Platforms. 2018-07-20 10:59:53 +08:00
Include StandaloneMmPkg: Add CPU driver suitable for ARM Platforms. 2018-07-20 10:59:53 +08:00
Library StandaloneMM: Update permissions for Standalone MM drivers memory area 2018-12-09 16:01:53 +00:00
StandaloneMmPkg.dec StandaloneMmPkg: Describe the declaration and definition files. 2018-07-20 10:59:56 +08:00
StandaloneMmPkg.dsc StandaloneMmPkg: Update dependency on PeCoffExtraActionLib 2018-12-09 16:01:42 +00:00