]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
Use the minimum value for Numeric and the first option value for OneOf as their defau...
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 1 Apr 2011 09:39:11 +0000 (09:39 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 1 Apr 2011 09:39:11 +0000 (09:39 +0000)
commitcf4c5a4270f3feb3b5083cb477263ba239154ec7
tree062e6abbf1ab866d81868413d95bd821d17fa416
parentda0924fe8faf53d6d16067c7d9185a02737d865e
Use the minimum value for Numeric and the first option value for OneOf as their default value when no specific default value is specified.

HII IFR Numeric and OneOf opcode may not specify their default value in opcode. And, zero may not be valid value for them. To make sure the valid value is set to default value, the minimum value for Numeric and the first option value for OneOf will be chosen as default value.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11497 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/HiiDatabaseDxe/ConfigRouting.c
MdeModulePkg/Universal/SetupBrowserDxe/Setup.c