TianoCore EDK2 master
|
#include "UefiShellDriver1CommandsLib.h"
Go to the source code of this file.
Functions | |
EFI_STATUS | DoDiagnostics (IN CONST DRV_DIAG_TEST_MODE Mode, IN CONST CHAR8 *Lang, IN CONST BOOLEAN AllChilds, IN CONST EFI_HANDLE DriverHandle, IN CONST EFI_HANDLE ControllerHandle, IN CONST EFI_HANDLE ChildHandle) |
SHELL_STATUS EFIAPI | ShellCommandRunDrvDiag (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC CONST EFI_GUID * | DiagGuidList [] = { &gEfiDriverDiagnosticsProtocolGuid, &gEfiDriverDiagnostics2ProtocolGuid, NULL } |
STATIC CONST SHELL_PARAM_ITEM | ParamList [] |
Main file for DrvDiag 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 DrvDiag.c.
EFI_STATUS DoDiagnostics | ( | IN CONST DRV_DIAG_TEST_MODE | Mode, |
IN CONST CHAR8 * | Lang, | ||
IN CONST BOOLEAN | AllChilds, | ||
IN CONST EFI_HANDLE | DriverHandle, | ||
IN CONST EFI_HANDLE | ControllerHandle, | ||
IN CONST EFI_HANDLE | ChildHandle | ||
) |
Do the diagnostics call for some set of handles.
[in] | Mode | The type of diagnostic test to run. |
[in] | Lang | The language code to use. |
[in] | AllChilds | Should the test be on all children. |
[in] | DriverHandle | The driver handle to test with. |
[in] | ControllerHandle | The specific controller handle to test. |
[in] | ChildHandle | The specific child handle to test. |
EFI_SUCCESS | The operation was successful. |
EFI_INVALID_PARAMETER | A parameter had an invalid value. |
EFI_NOT_FOUND | No diagnostic handle could be found. |
SHELL_STATUS EFIAPI ShellCommandRunDrvDiag | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
STATIC CONST SHELL_PARAM_ITEM ParamList[] |