Add the example for default opcode usage.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9343 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2009-10-19 01:30:24 +00:00
parent ab00035d0a
commit ccee609922
2 changed files with 5 additions and 1 deletions

View File

@@ -153,6 +153,7 @@ formset
oneof varid = MyIfrNVData.BootOrderLarge,
prompt = STRING_TOKEN(STR_ONE_OF_PROMPT),
help = STRING_TOKEN(STR_ONE_OF_HELP),
default value = cond (questionref(MyOneOf) == 0x0 ? 0 : 1),
option text = STRING_TOKEN(STR_BOOT_ORDER1), value = 0x0, flags = 0;
option text = STRING_TOKEN(STR_BOOT_ORDER2), value = 0x1, flags = DEFAULT;
endoneof;