summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Abraham <thomas.abraham@arm.com>2019-04-19 12:59:28 +0530
committerThomas Abraham <thomas.abraham@arm.com>2020-11-08 15:49:47 +0530
commit20e5a38867ea9e9f12f1d9eb77d48e6045652963 (patch)
tree2d2006cd35c7f2f3281be4d14fcbab402cf0695c
parenta1a1a997c1cd5f179734c9be4d5ead0483c0053d (diff)
[HACK] StandaloneMM/Core: do not write to depex sectionRD-INFRA-2020.11.09
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/StandaloneMmPkg/Core/Dependency.c b/StandaloneMmPkg/Core/Dependency.c
index e0f2d35183..40d3f06573 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)) {