TianoCore EDK2 master
Loading...
Searching...
No Matches
Dblk.c File Reference

Go to the source code of this file.

Functions

SHELL_STATUS DisplayTheBlocks (IN CONST EFI_DEVICE_PATH_PROTOCOL *DevPath, IN CONST UINT64 Lba, IN CONST UINT8 BlockCount)
 
SHELL_STATUS EFIAPI ShellCommandRunDblk (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

Main file for Dblk shell Debug1 function.

(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Dblk.c.

Function Documentation

◆ DisplayTheBlocks()

SHELL_STATUS DisplayTheBlocks ( IN CONST EFI_DEVICE_PATH_PROTOCOL DevPath,
IN CONST UINT64  Lba,
IN CONST UINT8  BlockCount 
)

Display blocks to the screen.

Parameters
[in]DevPathThe device path to get the blocks from.
[in]LbaThe Lba number to start from.
[in]BlockCountHow many blocks to display.
Return values
SHELL_SUCCESSThe display was successful.

Definition at line 23 of file Dblk.c.

◆ ShellCommandRunDblk()

SHELL_STATUS EFIAPI ShellCommandRunDblk ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Function for 'dblk' command.

Parameters
[in]ImageHandleHandle to the Image (NULL if Internal).
[in]SystemTablePointer to the System Table (NULL if Internal).

Definition at line 98 of file Dblk.c.