EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Data Structures | Defines | Functions | Variables

UnixPkg/UnixConsoleDxe/Console.h File Reference

#include "PiDxe.h"
#include "UnixDxe.h"
#include <Protocol/UnixIo.h>
#include <Protocol/SimpleTextIn.h>
#include <Protocol/SimpleTextOut.h>
#include <Library/DebugLib.h>
#include <Library/BaseLib.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>

Go to the source code of this file.

Data Structures

struct  UNIX_SIMPLE_TEXT_PRIVATE_DATA
struct  UNIX_SIMPLE_TEXT_OUT_MODE

Defines

#define UNIX_SIMPLE_TEXT_PRIVATE_DATA_SIGNATURE   SIGNATURE_32('U','X','s','c')
#define UNIX_SIMPLE_TEXT_OUT_PRIVATE_DATA_FROM_THIS(a)   CR(a, UNIX_SIMPLE_TEXT_PRIVATE_DATA, SimpleTextOut, UNIX_SIMPLE_TEXT_PRIVATE_DATA_SIGNATURE)
#define UNIX_SIMPLE_TEXT_IN_PRIVATE_DATA_FROM_THIS(a)   CR(a, UNIX_SIMPLE_TEXT_PRIVATE_DATA, SimpleTextIn, UNIX_SIMPLE_TEXT_PRIVATE_DATA_SIGNATURE)

Functions

EFI_STATUS UnixSimpleTextOutOpenWindow (IN OUT UNIX_SIMPLE_TEXT_PRIVATE_DATA *Private)
EFI_STATUS UnixSimpleTextOutCloseWindow (IN OUT UNIX_SIMPLE_TEXT_PRIVATE_DATA *Console)
EFI_STATUS UnixSimpleTextInAttachToWindow (IN UNIX_SIMPLE_TEXT_PRIVATE_DATA *Private)
EFI_STATUS EFIAPI InitializeUnixConsole (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
EFI_STATUS AppendDevicePathInstanceToVar (IN CHAR16 *VariableName, IN EFI_DEVICE_PATH_PROTOCOL *DevicePathInstance)

Variables

EFI_DRIVER_BINDING_PROTOCOL gUnixConsoleDriverBinding
EFI_COMPONENT_NAME_PROTOCOL gUnixConsoleComponentName

Define Documentation

#define UNIX_SIMPLE_TEXT_IN_PRIVATE_DATA_FROM_THIS (   a)    CR(a, UNIX_SIMPLE_TEXT_PRIVATE_DATA, SimpleTextIn, UNIX_SIMPLE_TEXT_PRIVATE_DATA_SIGNATURE)

Definition at line 83 of file Console.h.

#define UNIX_SIMPLE_TEXT_OUT_PRIVATE_DATA_FROM_THIS (   a)    CR(a, UNIX_SIMPLE_TEXT_PRIVATE_DATA, SimpleTextOut, UNIX_SIMPLE_TEXT_PRIVATE_DATA_SIGNATURE)

Definition at line 80 of file Console.h.

#define UNIX_SIMPLE_TEXT_PRIVATE_DATA_SIGNATURE   SIGNATURE_32('U','X','s','c')

Definition at line 49 of file Console.h.


Function Documentation

EFI_STATUS AppendDevicePathInstanceToVar ( IN CHAR16 VariableName,
IN EFI_DEVICE_PATH_PROTOCOL DevicePathInstance 
)
EFI_STATUS EFIAPI InitializeUnixConsole ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

The user Entry Point for module UnixConsole. The user code starts with this function.

Parameters:
[in]ImageHandleThe firmware allocated handle for the EFI image.
[in]SystemTableA pointer to the EFI System Table.
Return values:
EFI_SUCCESSThe entry point is executed successfully.
otherSome error occurs when executing this entry point.

Definition at line 31 of file EntryPoint.c.

EFI_STATUS UnixSimpleTextInAttachToWindow ( IN UNIX_SIMPLE_TEXT_PRIVATE_DATA Private)

Definition at line 207 of file ConsoleIn.c.

EFI_STATUS UnixSimpleTextOutCloseWindow ( IN OUT UNIX_SIMPLE_TEXT_PRIVATE_DATA Console)

Definition at line 597 of file ConsoleOut.c.

EFI_STATUS UnixSimpleTextOutOpenWindow ( IN OUT UNIX_SIMPLE_TEXT_PRIVATE_DATA Private)

Definition at line 519 of file ConsoleOut.c.


Variable Documentation

Definition at line 90 of file Console.h.

Definition at line 89 of file Console.h.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines