TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Protocol/Print2.h>
#include <Library/PrintLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
#include <Library/UefiDriverEntryPoint.h>
Go to the source code of this file.
Functions | |
UINTN EFIAPI | PrintDxeUnicodeValueToString (IN OUT CHAR16 *Buffer, IN UINTN Flags, IN INT64 Value, IN UINTN Width) |
UINTN EFIAPI | PrintDxeAsciiValueToString (OUT CHAR8 *Buffer, IN UINTN Flags, IN INT64 Value, IN UINTN Width) |
EFI_STATUS EFIAPI | PrintEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_HANDLE | mPrintThunkHandle = NULL |
CONST EFI_PRINT2_PROTOCOL | mPrint2Protocol |
CONST EFI_PRINT2S_PROTOCOL | mPrint2SProtocol |
This driver produces Print2 protocols layered on top of the PrintLib from the MdePkg.
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file Print.c.
UINTN EFIAPI PrintDxeAsciiValueToString | ( | OUT CHAR8 * | Buffer, |
IN UINTN | Flags, | ||
IN INT64 | Value, | ||
IN UINTN | Width | ||
) |
Implementaion of the AsciiValueToString service in EFI_PRINT2_PROTOCOL.
Buffer | A pointer to the output buffer for the produced Null-terminated ASCII string. |
Flags | The bitmask of flags that specify left justification, zero pad, and commas. |
Value | The 64-bit signed value to convert to a string. |
Width | The maximum number of ASCII characters to place in Buffer, not including the Null-terminator. |
UINTN EFIAPI PrintDxeUnicodeValueToString | ( | IN OUT CHAR16 * | Buffer, |
IN UINTN | Flags, | ||
IN INT64 | Value, | ||
IN UINTN | Width | ||
) |
Implementaion of the UnicodeValueToString service in EFI_PRINT2_PROTOCOL.
Buffer | The pointer to the output buffer for the produced Null-terminated Unicode string. |
Flags | The bitmask of flags that specify left justification, zero pad, and commas. |
Value | The 64-bit signed value to convert to a string. |
Width | The maximum number of Unicode characters to place in Buffer, not including the Null-terminator. |
EFI_STATUS EFIAPI PrintEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The user Entry Point for Print module.
This is the entry point for Print DXE Driver. It installs the Print2 Protocol.
[in] | ImageHandle | The firmware allocated handle for the EFI image. |
[in] | SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
Others | Some error occurs when executing this entry point. |
CONST EFI_PRINT2_PROTOCOL mPrint2Protocol |
CONST EFI_PRINT2S_PROTOCOL mPrint2SProtocol |
EFI_HANDLE mPrintThunkHandle = NULL |