summaryrefslogtreecommitdiff
path: root/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c
diff options
context:
space:
mode:
authorDong Guo <guo.dong@intel.com>2014-03-21 00:57:42 +0000
committergdong1 <gdong1@6f19259b-4bc3-4df7-8a09-765794883524>2014-03-21 00:57:42 +0000
commit68d151bbc9c2d48639e6de4a15d912158b10e9f7 (patch)
tree6a65df9dc03fbc83643cf37f23aeb3b461006094 /SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c
parenteb5b60155a30428c12acd0b2c49b54159a4e55e8 (diff)
downloadedk2-platforms-68d151bbc9c2d48639e6de4a15d912158b10e9f7.tar.xz
Force UID modules build error to warn user that currently it is just a sample.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dong Guo <guo.dong@intel.com> Reviewed-by: Yao Jiewen <jiewen.yao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15356 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c')
-rw-r--r--SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c
index adcf9bf652..a7467b3662 100644
--- a/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c
+++ b/SecurityPkg/UserIdentification/UserIdentifyManagerDxe/UserIdentifyManager.c
@@ -1,7 +1,7 @@
/** @file
This driver manages user information and produces user manager protocol.
-Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -3736,6 +3736,11 @@ UserIdentifyManagerInit (
EFI_STATUS Status;
//
+ // It is NOT robust enough to be included in production.
+ //
+ #error "This implementation is just a sample, please comment this line if you really want to use this driver."
+
+ //
// Initiate form browser.
//
InitFormBrowser ();