summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarvin Häuser <Marvin.Haeuser@outlook.com>2018-02-27 23:07:49 +0100
committerJiewen Yao <jiewen.yao@intel.com>2018-02-28 09:14:39 +0800
commit4a26d528d2035bd0d9d18f24c3240bbf943cdf92 (patch)
tree86bb266ef6a920ba61e81b605e74498b7e724843
parent73a3fefe828f4f42b0209127e113ea1f0d053c5d (diff)
downloadedk2-platforms-4a26d528d2035bd0d9d18f24c3240bbf943cdf92.tar.xz
MinPlatformPkg/PlatformInitDxe: Add a missing ASSERT.
Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
-rw-r--r--Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitDxe/PlatformInitDxe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitDxe/PlatformInitDxe.c b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitDxe/PlatformInitDxe.c
index b15ec39ce1..ed3ef951c0 100644
--- a/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitDxe/PlatformInitDxe.c
+++ b/Platform/Intel/MinPlatformPkg/PlatformInit/PlatformInitDxe/PlatformInitDxe.c
@@ -280,6 +280,7 @@ BoardNotificationInitEntryPoint (
NULL,
&SmmReadyToLockRegistration
);
+ ASSERT (SmmReadyToLockEvent != NULL);
Status = EfiCreateEventReadyToBootEx (
TPL_CALLBACK,