TianoCore EDK2 master
|
#include "UefiShellDriver1CommandsLib.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | ShellConnectDevicePath (IN EFI_DEVICE_PATH_PROTOCOL *DevicePathToConnect) |
EFI_STATUS | ShellConnectPciRootBridge (VOID) |
EFI_STATUS | ConnectControllers (IN CONST EFI_HANDLE ControllerHandle OPTIONAL, IN CONST EFI_HANDLE DriverHandle OPTIONAL, IN CONST BOOLEAN Recursive, IN CONST BOOLEAN Output, IN CONST BOOLEAN AlwaysOutput) |
EFI_STATUS | ShellConnectFromDevPaths (IN CONST CHAR16 *Key) |
EFI_STATUS | ConvertAndConnectControllers (IN EFI_HANDLE Handle1 OPTIONAL, IN EFI_HANDLE Handle2 OPTIONAL, IN CONST BOOLEAN Recursive, IN CONST BOOLEAN Output) |
SHELL_STATUS EFIAPI | ShellCommandRunConnect (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC CONST SHELL_PARAM_ITEM | ParamList [] |
Main file for connect shell Driver1 function.
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Connect.c.
EFI_STATUS ConnectControllers | ( | IN CONST EFI_HANDLE ControllerHandle | OPTIONAL, |
IN CONST EFI_HANDLE DriverHandle | OPTIONAL, | ||
IN CONST BOOLEAN | Recursive, | ||
IN CONST BOOLEAN | Output, | ||
IN CONST BOOLEAN | AlwaysOutput | ||
) |
Connect controller(s) and driver(s).
[in] | ControllerHandle | The handle to the controller. Should have driver binding on it. |
[in] | DriverHandle | The handle to the driver. Should have driver binding. |
[in] | Recursive | TRUE to connect recursively, FALSE otherwise. |
[in] | Output | TRUE to have info on the screen, FALSE otherwise. |
[in] | AlwaysOutput | Override Output for errors. |
EFI_SUCCESS | The operation was successful. |
EFI_STATUS ConvertAndConnectControllers | ( | IN EFI_HANDLE Handle1 | OPTIONAL, |
IN EFI_HANDLE Handle2 | OPTIONAL, | ||
IN CONST BOOLEAN | Recursive, | ||
IN CONST BOOLEAN | Output | ||
) |
Convert the handle identifiers from strings and then connect them.
One of them should have driver binding and either can be NULL.
[in] | Handle1 | The first handle. |
[in] | Handle2 | The second handle. |
[in] | Recursive | TRUE to do connect recursively. FALSE otherwise. |
[in] | Output | TRUE to have output to screen. FALSE otherwise. |
EFI_SUCCESS | The operation was successful. |
SHELL_STATUS EFIAPI ShellCommandRunConnect | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
EFI_STATUS ShellConnectDevicePath | ( | IN EFI_DEVICE_PATH_PROTOCOL * | DevicePathToConnect | ) |
Create all handles associate with every device path node.
DevicePathToConnect | The device path which will be connected. |
EFI_SUCCESS | All handles associate with every device path node have been created. |
EFI_INVALID_PARAMETER | DevicePathToConnect is NULL. |
EFI_NOT_FOUND | Create the handle associate with one device path node failed |
EFI_STATUS ShellConnectFromDevPaths | ( | IN CONST CHAR16 * | Key | ) |
EFI_STATUS ShellConnectPciRootBridge | ( | VOID | ) |