Lines Matching refs:ShellParamsProtocol

1433   EFI_SHELL_PARAMETERS_PROTOCOL ShellParamsProtocol;  in InternalShellExecuteDevicePath()  local
1505 ShellParamsProtocol.StdIn = ShellInfoObject.NewShellParametersProtocol->StdIn; in InternalShellExecuteDevicePath()
1506 ShellParamsProtocol.StdOut = ShellInfoObject.NewShellParametersProtocol->StdOut; in InternalShellExecuteDevicePath()
1507 ShellParamsProtocol.StdErr = ShellInfoObject.NewShellParametersProtocol->StdErr; in InternalShellExecuteDevicePath()
1508 Status = UpdateArgcArgv(&ShellParamsProtocol, NewCmdLine, Efi_Application, NULL, NULL); in InternalShellExecuteDevicePath()
1521 if (ShellParamsProtocol.Argv == NULL) { in InternalShellExecuteDevicePath()
1524 ShellParamsProtocol.Argv = AllocatePool (sizeof (CHAR16 *)); in InternalShellExecuteDevicePath()
1525 if (ShellParamsProtocol.Argv == NULL) { in InternalShellExecuteDevicePath()
1529 ShellParamsProtocol.Argc = 1; in InternalShellExecuteDevicePath()
1532 FreePool (ShellParamsProtocol.Argv[0]); in InternalShellExecuteDevicePath()
1534 ShellParamsProtocol.Argv[0] = ImagePath; in InternalShellExecuteDevicePath()
1537 …nterface(&NewHandle, &gEfiShellParametersProtocolGuid, EFI_NATIVE_INTERFACE, &ShellParamsProtocol); in InternalShellExecuteDevicePath()
1558 &ShellParamsProtocol in InternalShellExecuteDevicePath()
1571 if (ShellParamsProtocol.Argv != NULL) { in InternalShellExecuteDevicePath()
1572 for (Index = 0; Index < ShellParamsProtocol.Argc; Index++) { in InternalShellExecuteDevicePath()
1573 if (ShellParamsProtocol.Argv[Index] != NULL) { in InternalShellExecuteDevicePath()
1574 FreePool (ShellParamsProtocol.Argv[Index]); in InternalShellExecuteDevicePath()
1577 FreePool (ShellParamsProtocol.Argv); in InternalShellExecuteDevicePath()