OpenCore
1.0.4
OpenCore Bootloader
|
#include "ControlMsrE2.h"
Go to the source code of this file.
Macros | |
#define | TOKENLENGTH 32 |
Functions | |
UINT32 | ReadLine (OUT CHAR16 *Buffer, IN UINT32 Length) |
CHAR16 | ReadAnyKey (VOID) |
BOOLEAN | ReadYN (VOID) |
EFI_STATUS | InterpretArguments (VOID) |
VOID | ModifySearchString (IN OUT EFI_STRING *SearchString) |
Variables | |
UINTN | mArgumentFlags |
Control MSR 0xE2 UI Input/Output in the widest sense
Copyright (c) 2020, Brumbaer. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file ControlMsrE2UI.c.
#define TOKENLENGTH 32 |
Definition at line 142 of file ControlMsrE2UI.c.
EFI_STATUS InterpretArguments | ( | VOID | ) |
Parse commandline arguments
EFI_SUCCESS | Success |
EFI_OUT_OF_RESOURCES | Could not allocate memory |
EFI_INVALID_PARAMETER | More than 1 parameter provided |
Definition at line 145 of file ControlMsrE2UI.c.
VOID ModifySearchString | ( | IN OUT EFI_STRING * | SearchString | ) |
Displays SearchString and allows to change it
[in,out] | SearchString | Current configuration string |
Definition at line 223 of file ControlMsrE2UI.c.
CHAR16 ReadAnyKey | ( | VOID | ) |
Wait for any key press
Other | Unicode for pressed key |
Definition at line 118 of file ControlMsrE2UI.c.
UINT32 ReadLine | ( | OUT CHAR16 * | Buffer, |
IN UINT32 | Length ) |
Definition at line 28 of file ControlMsrE2UI.c.
BOOLEAN ReadYN | ( | VOID | ) |
Wait for Keypress of Y or N. Ignores case.
TRUE | Keypress is Y |
FALSE | Keypress is N |
Definition at line 129 of file ControlMsrE2UI.c.
UINTN mArgumentFlags |
Definition at line 17 of file ControlMsrE2UI.c.