mirror of https://github.com/acidanthera/audk.git
Update FormBrowser to conform to UEFI spec Table 197. Callback Behavior for Cross-Reference:
"CHANGING: If EFI_UNSUPPORTED or EFI_SUCCESS, cross-reference is taken. Any other error the cross-reference will not be taken." git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9361 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
d02847d3c0
commit
3dde743f62
|
@ -982,6 +982,17 @@ SetupBrowser (
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
} else if (Status != EFI_UNSUPPORTED) {
|
||||||
|
//
|
||||||
|
// Callback return error status other than EFI_UNSUPPORTED
|
||||||
|
//
|
||||||
|
if (Statement->Operand == EFI_IFR_REF_OP) {
|
||||||
|
//
|
||||||
|
// Cross reference will not be taken
|
||||||
|
//
|
||||||
|
Selection->FormId = Selection->Form->FormId;
|
||||||
|
Selection->QuestionId = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue