summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Application/HelloWorld/HelloWorldStr.uni
diff options
context:
space:
mode:
authorQiu Shumin <shumin.qiu@intel.com>2016-02-21 15:55:14 +0800
committerQiu Shumin <shumin.qiu@intel.com>2016-02-24 15:11:14 +0800
commit0d4a6c3dfc06d7d5769c19a3d112c5fdeae70525 (patch)
tree96f12d3f272ff081a068aafe0c8c665cac2287cd /MdeModulePkg/Application/HelloWorld/HelloWorldStr.uni
parent8d4eec6d97db143d9568631102c2027ed594eadb (diff)
downloadedk2-platforms-0d4a6c3dfc06d7d5769c19a3d112c5fdeae70525.tar.xz
MdeModulePkg: Add sample help information for HelloWorld application.
Since Shell supports finding help information from resource section of application image. We enhance the HelloWorld to add help information string. After the HelloWorld are loaded in system the help string will be stored in resource section of the application image. Cc: Feng Tian <feng.tian@intel.com> Cc: Jaben Carsey <jaben.carsey@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Ruiyu Ni <ruiyu.ni@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin <shumin.qiu@intel.com> Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdeModulePkg/Application/HelloWorld/HelloWorldStr.uni')
-rw-r--r--MdeModulePkg/Application/HelloWorld/HelloWorldStr.uni27
1 files changed, 27 insertions, 0 deletions
diff --git a/MdeModulePkg/Application/HelloWorld/HelloWorldStr.uni b/MdeModulePkg/Application/HelloWorld/HelloWorldStr.uni
new file mode 100644
index 0000000000..3b8b33a37a
--- /dev/null
+++ b/MdeModulePkg/Application/HelloWorld/HelloWorldStr.uni
@@ -0,0 +1,27 @@
+// /** @file
+// Sample UEFI Application Reference EDKII Module.
+//
+// This is a sample shell application that will print "UEFI Hello World!" to the
+// UEFI Console based on PCD setting.
+//
+// It demos how to use EDKII PCD mechanism to make code more flexible.
+//
+// Copyright (c) 2016, 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
+// http://opensource.org/licenses/bsd-license.php
+// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+//
+// **/
+
+/=#
+
+#langdef en-US "English"
+
+#string STR_HELLO_WORLD_HELP_INFORMATION #language en-US ""
+".TH HelloWorld 0 "Displays a \"UEFI Hello World!\" string."\r\n"
+".SH NAME\r\n"
+"HelloWorld application.\r\n"