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

Go to the source code of this file.

Functions

SHELL_STATUS DisplaySettings (IN UINTN HandleIdx, IN BOOLEAN HandleValid)
 
SHELL_STATUS EFIAPI ShellCommandRunSerMode (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

Main file for SerMode 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 SerMode.c.

Function Documentation

◆ DisplaySettings()

SHELL_STATUS DisplaySettings ( IN UINTN  HandleIdx,
IN BOOLEAN  HandleValid 
)

Display information about a serial device by it's handle.

If HandleValid is FALSE, do all devices.

Parameters
[in]HandleIdxThe handle index for the device.
[in]HandleValidTRUE if HandleIdx is valid.
Return values
SHELL_INVALID_PARAMETERA parameter was invalid.
SHELL_SUCCESSThe operation was successful.

Definition at line 26 of file SerMode.c.

◆ ShellCommandRunSerMode()

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

Function for 'sermode' command.

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

Definition at line 164 of file SerMode.c.