21EmuBlockIoDriverConfigurationSetOptions (
31EmuBlockIoDriverConfigurationOptionsValid (
39EmuBlockIoDriverConfigurationForceDefaults (
43 IN UINT32 DefaultType,
51 EmuBlockIoDriverConfigurationSetOptions,
52 EmuBlockIoDriverConfigurationOptionsValid,
53 EmuBlockIoDriverConfigurationForceDefaults,
105EmuBlockIoDriverConfigurationSetOptions (
115 CHAR8 *SupportedLanguage;
117 SupportedLanguage = This->SupportedLanguages;
119 Status = EFI_UNSUPPORTED;
120 while (*SupportedLanguage != 0) {
121 if (
AsciiStrnCmp (Language, SupportedLanguage, 3) == 0) {
125 SupportedLanguage += 3;
128 if (EFI_ERROR (Status)) {
132 if ((ActionRequired ==
NULL) || (ControllerHandle ==
NULL)) {
133 return EFI_INVALID_PARAMETER;
136 if (ChildHandle !=
NULL) {
137 return EFI_UNSUPPORTED;
143 Status =
gBS->OpenProtocol (
145 &gEmuIoThunkProtocolGuid,
149 EFI_OPEN_PROTOCOL_BY_DRIVER
152 if (!EFI_ERROR (Status)) {
155 &gEmuIoThunkProtocolGuid,
160 return EFI_UNSUPPORTED;
163 if (Status == EFI_UNSUPPORTED) {
165 }
else if (Status != EFI_ALREADY_STARTED) {
166 return EFI_INVALID_PARAMETER;
208EmuBlockIoDriverConfigurationOptionsValid (
217 if (ChildHandle !=
NULL) {
218 return EFI_UNSUPPORTED;
221 if (ControllerHandle ==
NULL) {
222 return EFI_INVALID_PARAMETER;
228 Status =
gBS->OpenProtocol (
230 &gEmuIoThunkProtocolGuid,
234 EFI_OPEN_PROTOCOL_BY_DRIVER
237 if (!EFI_ERROR (Status)) {
240 &gEmuIoThunkProtocolGuid,
245 return EFI_UNSUPPORTED;
248 if (Status == EFI_UNSUPPORTED) {
250 }
else if (Status != EFI_ALREADY_STARTED) {
251 return EFI_INVALID_PARAMETER;
282EmuBlockIoDriverConfigurationForceDefaults (
286 IN UINT32 DefaultType,
293 if (ChildHandle !=
NULL) {
294 return EFI_UNSUPPORTED;
297 if ((ActionRequired ==
NULL) || (ControllerHandle ==
NULL)) {
298 return EFI_INVALID_PARAMETER;
304 Status =
gBS->OpenProtocol (
306 &gEmuIoThunkProtocolGuid,
310 EFI_OPEN_PROTOCOL_BY_DRIVER
313 if (!EFI_ERROR (Status)) {
316 &gEmuIoThunkProtocolGuid,
321 return EFI_UNSUPPORTED;
324 if (Status == EFI_UNSUPPORTED) {
326 }
else if (Status != EFI_ALREADY_STARTED) {
327 return EFI_INVALID_PARAMETER;
INTN EFIAPI AsciiStrnCmp(IN CONST CHAR8 *FirstString, IN CONST CHAR8 *SecondString, IN UINTN Length)
EFI_DRIVER_CONFIGURATION_ACTION_REQUIRED
@ EfiDriverConfigurationActionNone
EFI_HANDLE DriverBindingHandle