EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Functions

StdLib/LibC/Uefi/Devices/Console/daConsole.c File Reference

#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/SimpleTextIn.h>
#include <Protocol/SimpleTextOut.h>
#include <LibConfig.h>
#include <sys/EfiSysCall.h>
#include <errno.h>
#include <wctype.h>
#include <wchar.h>
#include <stdarg.h>
#include <sys/fcntl.h>
#include <kfile.h>
#include <Device/Device.h>
#include <MainData.h>
#include <sys/poll.h>

Go to the source code of this file.

Functions

ssize_t WideTtyCvt (CHAR16 *dest, const char *buf, size_t n)
int EFIAPI da_ConOpen (DeviceNode *DevNode, struct __filedes *filp, int DevInstance, wchar_t *Path, wchar_t *MPath)
RETURN_STATUS EFIAPI __Cons_construct (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
RETURN_STATUS EFIAPI __Cons_deconstruct (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)

Detailed Description

Abstract device driver for the UEFI Console.

Manipulates abstractions for stdin, stdout, stderr.

Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License that 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 daConsole.c.


Function Documentation

RETURN_STATUS EFIAPI __Cons_construct ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Construct the Console stream devices: stdin, stdout, stderr.

Allocate the instance structure and populate it with the information for each stream device.

Definition at line 486 of file daConsole.c.

RETURN_STATUS EFIAPI __Cons_deconstruct ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

Definition at line 565 of file daConsole.c.

int EFIAPI da_ConOpen ( DeviceNode DevNode,
struct __filedes filp,
int  DevInstance,
wchar_t Path,
wchar_t MPath 
)

Open an abstract Console Device.

Definition at line 391 of file daConsole.c.

ssize_t WideTtyCvt ( CHAR16 dest,
const char *  buf,
size_t  n 
)

Definition at line 56 of file daConsole.c.

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