1 consoleout or standarderror, 3 simple text output protocol, Simple_text_output protocol – Intel Extensible Firmware Interface User Manual

Page 302: Simple_text_output, Simple text output, Protocol, Simple text output protocol, Simple_text_output_protocol, Simple_text_ouput_protocol, Prot

Advertising
background image

Extensible Firmware Interface Specification

10-8

12/01/02

Version 1.10

10.2.1 ConsoleOut or StandardError

The

SIMPLE_TEXT_OUTPUT

protocol must implement the same Unicode code pages as the

SIMPLE_INPUT

protocol. The protocol must also support the Unicode control characters defined

in Table 10-1. The

SIMPLE_TEXT_OUTPUT

protocol supports special manipulation of the screen

by programmatic methods and therefore does not support the EFI scan codes defined in Table 10-2.

10.3 Simple Text Output Protocol

The Simple Text Output protocol defines the minimum requirements for a text-based

ConsoleOut

device. The EFI specification requires that the

SIMPLE_INPUT

protocol support

the same languages as the corresponding

SIMPLE_TEXT_OUTPUT

protocol.

SIMPLE_TEXT_OUTPUT Protocol

Summary

This protocol is used to control text-based output devices.

GUID

#define SIMPLE_TEXT_OUTPUT_PROTOCOL \

{ 387477c2-69c7-11d2-8e39-00a0c969723b }

Protocol Interface Structure

typedef struct _SIMPLE_TEXT_OUTPUT_INTERFACE {

EFI_TEXT_RESET

Reset;

EFI_TEXT_STRING

OutputString;

EFI_TEXT_TEST_STRING

TestString;

EFI_TEXT_QUERY_MODE

QueryMode;

EFI_TEXT_SET_MODE

SetMode;

EFI_TEXT_SET_ATTRIBUTE

SetAttribute;

EFI_TEXT_CLEAR_SCREEN

ClearScreen;

EFI_TEXT_SET_CURSOR_POSITION

SetCursorPosition;

EFI_TEXT_ENABLE_CURSOR

EnableCursor;

SIMPLE_TEXT_OUTPUT_MODE

*Mode;

} SIMPLE_TEXT_OUTPUT_INTERFACE;

Parameters

Reset

Reset

the

ConsoleOut

device. See

Reset()

.

OutputString

Displays the Unicode string on the device at the current cursor location.
See

OutputString()

.

TestString

Tests to see if the

ConsoleOut

device supports this Unicode string.

See

TestString()

.

QueryMode

Queries information concerning the output device’s supported text mode.
See

QueryMode()

.

Advertising