Intel Extensible Firmware Interface User Manual

Page 10

Advertising
background image

Extensible Firmware Interface Specification

x 12/01/02

Version

1.10

10 Protocols — Console Support

10.1

Console I/O Protocol ......................................................................................... 10-1

10.1.1

Overview .................................................................................................. 10-1

10.1.2

ConsoleIn Definition ................................................................................. 10-2

10.2

Simple Input Protocol ........................................................................................ 10-4

SIMPLE_INPUT ............................................................................................. 10-4

SIMPLE_INPUT.Reset() .............................................................................. 10-5

SIMPLE_INPUT.ReadKeyStroke()............................................................... 10-6

10.2.1

ConsoleOut or StandardError................................................................... 10-8

10.3

Simple Text Output Protocol ............................................................................. 10-8

SIMPLE_TEXT_OUTPUT Protocol ................................................................ 10-8

SIMPLE_TEXT_OUTPUT.Reset() ............................................................. 10-11

SIMPLE_TEXT_OUTPUT.OutputString()................................................... 10-12

SIMPLE_TEXT_OUTPUT.TestString() ...................................................... 10-16

SIMPLE_TEXT_OUTPUT.QueryMode() .................................................... 10-17

SIMPLE_TEXT_OUTPUT.SetMode() ........................................................ 10-18

SIMPLE_TEXT_OUTPUT.SetAttribute() .................................................... 10-19

SIMPLE_TEXT_OUTPUT.ClearScreen() ................................................... 10-21

SIMPLE_TEXT_OUTPUT.SetCursorPosition() .......................................... 10-22

SIMPLE_TEXT_OUTPUT.EnableCursor() ................................................. 10-23

10.4

Universal Graphics Adapter Protocols............................................................. 10-24

10.4.1

UGA ROM .............................................................................................. 10-24

10.4.2

UGA Draw Protocol ................................................................................ 10-25

10.4.3

Blt Buffer ................................................................................................ 10-25

10.4.4

UGA I/O Protocol.................................................................................... 10-26

10.4.5

Fallback Mode Driver ............................................................................. 10-26

10.5

UGA Draw Protocol......................................................................................... 10-27

EFI_UGA_DRAW_PROTOCOL ................................................................... 10-27

EFI_UGA_DRAW_PROTOCOL.GetMode()............................................... 10-28

EFI_UGA_DRAW_PROTOCOL.SetMode() ............................................... 10-29

EFI_UGA_DRAW_PROTOCOL.Blt() ......................................................... 10-31

10.6

Rules for PCI/AGP Devices ............................................................................ 10-34

10.7

UGA I/O Protocol ............................................................................................ 10-35

EFI_UGA_IO_PROTOCOL .......................................................................... 10-35

EFI_UGA_IO_PROTOCOL.CreateDevice() ............................................... 10-37

EFI_UGA_IO_PROTOCOL.DeleteDevice() ............................................... 10-38

PUGA_FW_SERVICE_DISPATCH.DispatchService()............................... 10-39

10.8

Implementation Rules for an EFI UGA Driver.................................................. 10-42

10.9

UGA Draw Protocol to UGA I/O Protocol Mapping .......................................... 10-43

10.9.1

UGA System Requirements ................................................................... 10-43

10.9.2

System Abstraction Requirements ......................................................... 10-44

10.9.3

Firmware to OS Hand-off........................................................................ 10-44

10.10

Simple Pointer Protocol................................................................................... 10-46

EFI_SIMPLE_POINTER_PROTOCOL......................................................... 10-46

EFI_SIMPLE_POINTER.Reset()................................................................ 10-48

EFI_SIMPLE_POINTER.GetState() ........................................................... 10-49

Advertising