summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal/DriverSampleDxe
diff options
context:
space:
mode:
authorZeng, Star <star.zeng@intel.com>2014-08-28 06:34:06 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2014-08-28 06:34:06 +0000
commit6036e94dc9402827130875258e99e486e82e7904 (patch)
tree41eaba32a2685b0a2e96ce52398a06f6e6143fb6 /MdeModulePkg/Universal/DriverSampleDxe
parentf7acc872414700af99ad2ab6b5b3140615bc255a (diff)
downloadedk2-6036e94dc9402827130875258e99e486e82e7904.tar.gz
edk2-6036e94dc9402827130875258e99e486e82e7904.tar.bz2
edk2-6036e94dc9402827130875258e99e486e82e7904.zip
MdeModulePkg: INF/DEC file updates to EDK II packages
1. Usage information in INF file comment blocks are either incomplete or incorrect. This includes usage information for Protocols/PPIs/GUIDs/PCDs/HOBs/Events/BootModes. The syntax for usage information in comment blocks is defined in the EDK II Module Information (INF) Specification Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zeng, Star <star.zeng@intel.com> Reviewed-by: Gao, Liming <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15962 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DriverSampleDxe')
-rw-r--r--MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf39
1 files changed, 31 insertions, 8 deletions
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf b/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
index 1affe874bc..307c4c3dde 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
+++ b/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
@@ -1,8 +1,10 @@
## @file
-# This is a sample driver which show how HII protocol, VFR and UNI files are used to
-# create a driver which can be dipslayed and configured by a UEFI HII Form Browser.
+# This is a sample HII driver.
#
-# Copyright (c) 2007 - 2013, Intel Corporation. All rights reserved.<BR>
+# This driver shows how HII protocol, VFR and UNI files are used to create a HII
+# driver which can be dipslayed and configured by a UEFI HII Form Browser.
+#
+# Copyright (c) 2007 - 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
@@ -18,6 +20,7 @@
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = DriverSample
+ MODULE_UNI_FILE = DriverSample.uni
FILE_GUID = FE3542FE-C1D3-4EF8-657C-8048606FF671
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
@@ -58,20 +61,40 @@
DevicePathLib
[Guids]
- gEfiIfrTianoGuid ## CONSUMES ## Guid
- gDriverSampleFormSetGuid ## PRODUCES ## Guid
- gDriverSampleInventoryGuid ## PRODUCES ## Guid
- gEfiIfrRefreshIdOpGuid ## SOMETIMES_PRODUCES ## EventGuid
+ gEfiIfrTianoGuid ## PRODUCES ## UNDEFINED
+ gDriverSampleInventoryGuid ## CONSUMES ## HII
+ ## SOMETIMES_PRODUCES ## Event
+ ## CONSUMES ## Event
+ gEfiIfrRefreshIdOpGuid
+ ## CONSUMES ## HII
+ ## PRODUCES ## Variable:L"MyIfrNVData"
+ ## SOMETIMES_CONSUMES ## Variable:L"MyIfrNVData"
+ ## PRODUCES ## Variable:L"MyEfiVar"
+ ## SOMETIMES_CONSUMES ## Variable:L"MyEfiVar"
+ ## PRODUCES ## GUID # HiiConstructConfigHdr MyEfiVar
+ ## PRODUCES ## GUID # HiiConstructConfigHdr MyIfrNVData
+ ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch MyEfiVar
+ ## SOMETIMES_CONSUMES ## GUID # HiiIsConfigHdrMatch MyIfrNVData
+ ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData MyIfrNVData
+ ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData MyIfrNVData
+ ## SOMETIMES_PRODUCES ## GUID # HiiGetBrowserData MyEfiVar
+ ## SOMETIMES_CONSUMES ## GUID # HiiSetBrowserData MyEfiVar
+ gDriverSampleFormSetGuid
[Protocols]
+ ## PRODUCES # DriverSampleFormSet
+ ## PRODUCES # DriverSampleInventory
+ gEfiDevicePathProtocolGuid
gEfiHiiStringProtocolGuid ## CONSUMES
gEfiHiiConfigRoutingProtocolGuid ## CONSUMES
gEfiHiiConfigAccessProtocolGuid ## PRODUCES
gEfiFormBrowser2ProtocolGuid ## CONSUMES
gEfiHiiDatabaseProtocolGuid ## CONSUMES
- gEfiSimpleTextInputExProtocolGuid ## CONSUMES
+ gEfiSimpleTextInputExProtocolGuid ## SOMETIMES_CONSUMES
gEfiFormBrowserExProtocolGuid ## CONSUMES
[Depex]
gEfiSimpleTextOutProtocolGuid AND gEfiHiiDatabaseProtocolGuid AND gEfiVariableArchProtocolGuid AND gEfiVariableWriteArchProtocolGuid
+[UserExtensions.TianoCore."ExtraFiles"]
+ DriverSampleExtra.uni