audk/StandaloneMmPkg/Library
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
..
FvLib
StandaloneMmCoreEntryPoint StandaloneMM: Include the newly added library class for MMU functions 2018-12-09 16:01:47 +00:00
StandaloneMmCoreHobLib StandaloneMmPkg/HobLib: Add HOB Library for management mode. 2018-07-20 10:55:47 +08:00
StandaloneMmCoreMemoryAllocationLib StandaloneMmPkg/MemoryAllocationLib: Add MM memory allocation library. 2018-07-20 10:55:46 +08:00
StandaloneMmDriverEntryPoint StandaloneMmPkg: MM driver entry point library. 2018-07-20 10:55:49 +08:00
StandaloneMmMemLib StandaloneMmPkg/MemLib: Add Standalone MM instance of memory check library. 2018-07-20 10:55:28 +08:00
StandaloneMmPeCoffExtraActionLib StandaloneMM: Update permissions for Standalone MM drivers memory area 2018-12-09 16:01:53 +00:00