TianoCore EDK2 master
|
#include "UefiShellDriver1CommandsLib.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | GetDeviceHandleInfo (IN EFI_HANDLE TheHandle, IN OUT CHAR16 *Type, IN OUT BOOLEAN *Cfg, IN OUT BOOLEAN *Diag, IN OUT UINTN *Parents, IN OUT UINTN *Devices, IN OUT UINTN *Children, OUT CHAR16 **Name, IN CONST CHAR8 *Language) |
SHELL_STATUS EFIAPI | ShellCommandRunDevices (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC CONST SHELL_PARAM_ITEM | ParamList [] |
Main file for devices shell Driver1 function.
(C) Copyright 2012-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 Devices.c.
EFI_STATUS GetDeviceHandleInfo | ( | IN EFI_HANDLE | TheHandle, |
IN OUT CHAR16 * | Type, | ||
IN OUT BOOLEAN * | Cfg, | ||
IN OUT BOOLEAN * | Diag, | ||
IN OUT UINTN * | Parents, | ||
IN OUT UINTN * | Devices, | ||
IN OUT UINTN * | Children, | ||
OUT CHAR16 ** | Name, | ||
IN CONST CHAR8 * | Language | ||
) |
Get lots of info about a device from its handle.
[in] | TheHandle | The device handle to get info on. |
[in,out] | Type | On successful return R, B, or D (root, bus, or device) will be placed in this buffer. |
[in,out] | Cfg | On successful return this buffer will be TRUE if the handle has configuration, FALSE otherwise. |
[in,out] | Diag | On successful return this buffer will be TRUE if the handle has disgnostics, FALSE otherwise. |
[in,out] | Parents | On successful return this buffer will be contain the number of parent handles. |
[in,out] | Devices | On successful return this buffer will be contain the number of devices controlled. |
[in,out] | Children | On successful return this buffer will be contain the number of child handles. |
[out] | Name | The pointer to a buffer that will be allocated and contain the string name of the handle. The caller must free this memory. |
[in] | Language | The language code as defined by the UEFI spec. |
EFI_SUCCESS | The info is there. |
EFI_INVALID_PARAMETER | A parameter was invalid. |
EFI_ERROR(Status) &&
SHELL_STATUS EFIAPI ShellCommandRunDevices | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
STATIC CONST SHELL_PARAM_ITEM ParamList[] |