TianoCore EDK2 master
Loading...
Searching...
No Matches
Ansi.c File Reference
#include "Terminal.h"

Go to the source code of this file.

Functions

VOID AnsiRawDataToUnicode (IN TERMINAL_DEV *TerminalDevice)
 
EFI_STATUS AnsiTestString (IN TERMINAL_DEV *TerminalDevice, IN CHAR16 *WString)
 

Detailed Description

Implementation of translation upon PC ANSI.

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Ansi.c.

Function Documentation

◆ AnsiRawDataToUnicode()

VOID AnsiRawDataToUnicode ( IN TERMINAL_DEV TerminalDevice)

Translate all raw data in the Raw FIFO into unicode, and insert them into Unicode FIFO.

Parameters
TerminalDeviceThe terminal device.

Definition at line 19 of file Ansi.c.

◆ AnsiTestString()

EFI_STATUS AnsiTestString ( IN TERMINAL_DEV TerminalDevice,
IN CHAR16 *  WString 
)

Check if input string is valid Ascii string, valid EFI control characters or valid text graphics.

Parameters
TerminalDeviceThe terminal device.
WStringThe input string.
Return values
EFI_UNSUPPORTEDIf not all input characters are valid.
EFI_SUCCESSIf all input characters are valid.

Definition at line 49 of file Ansi.c.