summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Universal
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-03 02:23:03 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-03 02:23:03 +0000
commit3018ca2d36dc4b785379b1a0fa63c437367510be (patch)
treefa21edcc80e1e355939e0e20794c15c189d8d94d /MdeModulePkg/Universal
parent269c0ba2d5d445424e7a039a0a34b3181d6e467f (diff)
downloadedk2-3018ca2d36dc4b785379b1a0fa63c437367510be.tar.gz
edk2-3018ca2d36dc4b785379b1a0fa63c437367510be.tar.bz2
edk2-3018ca2d36dc4b785379b1a0fa63c437367510be.zip
1) Clean up the INF and add in comment to describe the surface area of modules
2) Minor comment fix. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7413 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal')
-rw-r--r--MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf10
-rw-r--r--MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf18
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf18
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Ui.h2
4 files changed, 25 insertions, 23 deletions
diff --git a/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf b/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
index e1faee48a2..d1da67da04 100644
--- a/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
+++ b/MdeModulePkg/Universal/DriverSampleDxe/DriverSampleDxe.inf
@@ -57,11 +57,11 @@
ExtendedIfrSupportLib
[Protocols]
- gEfiHiiStringProtocolGuid # PROTOCOL ALWAYS_CONSUMED
- gEfiHiiConfigRoutingProtocolGuid # PROTOCOL ALWAYS_CONSUMED
- gEfiHiiConfigAccessProtocolGuid # PROTOCOL ALWAYS_CONSUMED
- gEfiFormBrowser2ProtocolGuid # PROTOCOL ALWAYS_CONSUMED
- gEfiHiiDatabaseProtocolGuid # PROTOCOL ALWAYS_CONSUMED
+ gEfiHiiStringProtocolGuid ## CONSUMES
+ gEfiHiiConfigRoutingProtocolGuid ## CONSUMES
+ gEfiHiiConfigAccessProtocolGuid ## CONSUMES
+ gEfiFormBrowser2ProtocolGuid ## CONSUMES
+ gEfiHiiDatabaseProtocolGuid ## CONSUMES
[Depex]
diff --git a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
index a34260e2d0..a0d34a31b9 100644
--- a/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
+++ b/MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
@@ -59,14 +59,14 @@
UefiRuntimeServicesTableLib
[Protocols]
- gEfiConsoleControlProtocolGuid
- gEfiDevicePathProtocolGuid
- gEfiHiiStringProtocolGuid
- gEfiHiiImageProtocolGuid
- gEfiHiiConfigRoutingProtocolGuid
- gEfiHiiDatabaseProtocolGuid
- gEfiHiiFontProtocolGuid
- gEfiHiiConfigAccessProtocolGuid
+ gEfiConsoleControlProtocolGuid ## CONSUMES
+ gEfiDevicePathProtocolGuid ## SOMETIMES_CONSUMES
+ gEfiHiiStringProtocolGuid ## PRODUCES
+ gEfiHiiImageProtocolGuid |PcdSupportHiiImageProtocol ## PRODUCES
+ gEfiHiiConfigRoutingProtocolGuid |PcdSupportFullConfigRoutingProtocol ## PRODUCES
+ gEfiHiiDatabaseProtocolGuid ## PRODUCES
+ gEfiHiiFontProtocolGuid ## PRODUCES
+ gEfiHiiConfigAccessProtocolGuid ## CONSUMES
[FeaturePcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportHiiImageProtocol
@@ -76,7 +76,7 @@
gEfiMdePkgTokenSpaceGuid.PcdUefiVariableDefaultPlatformLang
[Guids]
- gEfiGlobalVariableGuid
+ gEfiGlobalVariableGuid ## SOMETIMES_CONSUMES ## Variable:"PlatformLang"
[Depex]
TRUE
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf b/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
index ffb303e669..962847e3f9 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
@@ -64,15 +64,15 @@
ExtendedHiiLib
[Protocols]
- gEfiPrintProtocolGuid # PROTOCOL ALWAYS_PRODUCED
- gEfiPrint2ProtocolGuid
- gEfiHiiConfigAccessProtocolGuid
- gEfiHiiStringProtocolGuid
- gEfiFormBrowser2ProtocolGuid
- gEfiHiiConfigRoutingProtocolGuid
- gEfiHiiDatabaseProtocolGuid
- gEfiUnicodeCollation2ProtocolGuid
- gEfiConsoleControlProtocolGuid
+ gEfiPrintProtocolGuid ## PRODUCES
+ gEfiPrint2ProtocolGuid ## PRODUCES
+ gEfiHiiConfigAccessProtocolGuid ## CONSUMES
+ gEfiHiiStringProtocolGuid ## CONSUMES
+ gEfiFormBrowser2ProtocolGuid ## PRODUCES
+ gEfiHiiConfigRoutingProtocolGuid ## CONSUMES
+ gEfiHiiDatabaseProtocolGuid ## CONSUMES
+ gEfiUnicodeCollation2ProtocolGuid ## CONSUMES
+ gEfiConsoleControlProtocolGuid ## CONSUMES
[FeaturePcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkHiiCompatibilitySupport
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
index 7031c3973b..6842fe9d7a 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Ui.h
@@ -741,6 +741,8 @@ CompareHiiValue (
/**
Evaluate the result of a HII expression
+ If Expression is NULL, then ASSERT.
+
@param FormSet FormSet associated with this expression.
@param Form Form associated with this expression.
@param Expression Expression to be evaluated.