Add two new methods to get default value, also add sample code in sample driver.
Add sample code to use time opcode Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11688 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1027,6 +1027,11 @@ SetupBrowser (
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} else if (Status == EFI_UNSUPPORTED) {
|
||||
//
|
||||
// If return EFI_UNSUPPORTED, also consider Hii driver suceess deal with it.
|
||||
//
|
||||
Status = EFI_SUCCESS;
|
||||
}
|
||||
}
|
||||
if (SubmitFormIsRequired) {
|
||||
@@ -1151,6 +1156,11 @@ SetupBrowser (
|
||||
Selection->FormId = Selection->Form->FormId;
|
||||
Selection->QuestionId = 0;
|
||||
}
|
||||
} else {
|
||||
//
|
||||
// If return EFI_UNSUPPORTED, also consider Hii driver suceess deal with it.
|
||||
//
|
||||
Status = EFI_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1216,6 +1226,11 @@ SetupBrowser (
|
||||
default:
|
||||
break;
|
||||
}
|
||||
} else if (Status == EFI_UNSUPPORTED) {
|
||||
//
|
||||
// If return EFI_UNSUPPORTED, also consider Hii driver suceess deal with it.
|
||||
//
|
||||
Status = EFI_SUCCESS;
|
||||
}
|
||||
}
|
||||
if (SubmitFormIsRequired) {
|
||||
|
Reference in New Issue
Block a user