diff options
author | Thomas Abraham <thomas.abraham@arm.com> | 2019-04-19 12:59:28 +0530 |
---|---|---|
committer | Thomas Abraham <thomas.abraham@arm.com> | 2019-10-08 10:21:09 +0530 |
commit | 6396223909832c4afd7d2ac01b4f9346a8601061 (patch) | |
tree | bca0d5c8a83bc49d1f913f8324bfd50a378ef53f | |
parent | d07147873d002caae4983ceeff9a4fa7ba5878b7 (diff) |
[HACK] StandaloneMM/Core: do not write to depex section
The length of DEPEX section of efi files is being read from the EFI header
as zero. Due to this, the correct memory permissions are not being set
and all writes to this section results in a exception. So do not write
to the depex section for now.
This needs to be investigated further and identify the reason for the
depex section length being zero.
Change-Id: I23b4af66b773f54735839257fe13988dd2205b4c
Signed-off-by: Thomas Abraham <thomas.abraham@arm.com>
-rw-r--r-- | StandaloneMmPkg/Core/Dependency.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StandaloneMmPkg/Core/Dependency.c b/StandaloneMmPkg/Core/Dependency.c index 7c6e76748b..0799cec9f2 100644 --- a/StandaloneMmPkg/Core/Dependency.c +++ b/StandaloneMmPkg/Core/Dependency.c @@ -254,7 +254,7 @@ MmIsSchedulable ( Status = PushBool (FALSE);
} else {
DEBUG ((DEBUG_DISPATCH, " PUSH GUID(%g) = TRUE\n", &DriverGuid));
- *Iterator = EFI_DEP_REPLACE_TRUE;
+// *Iterator = EFI_DEP_REPLACE_TRUE;
Status = PushBool (TRUE);
}
if (EFI_ERROR (Status)) {
|