summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-28 01:37:19 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2009-04-28 01:37:19 +0000
commit12b3e61ee873f395920b3397853bde50e37d7b9c (patch)
treea81ff45bd198a3a68f5783864006ca87d21a8f5a /MdeModulePkg/Core
parent873b7997efe978eab9b8fc9d41e6fe9baf35d127 (diff)
downloadedk2-platforms-12b3e61ee873f395920b3397853bde50e37d7b9c.tar.xz
Add ASSERT when EFI decompress need to be parsed but it is not supported.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8191 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeLoad.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index e756f0ba58..d8f047e80d 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -640,6 +640,11 @@ Decompress (
}
break;
} else {
+ //
+ // PcdDxeIplSupportUefiDecompress is FALSE
+ // Don't support UEFI decompression algorithm.
+ //
+ ASSERT (FALSE);
return EFI_NOT_FOUND;
}