OvmfPkg[all]
0.1
|
Data Structures | |
struct | _EFI_VGA_MINI_PORT_PROTOCOL |
Macros | |
#define | EFI_VGA_MINI_PORT_PROTOCOL_GUID |
Typedefs | |
typedef struct _EFI_VGA_MINI_PORT_PROTOCOL | EFI_VGA_MINI_PORT_PROTOCOL |
typedef EFI_STATUS(EFIAPI * | EFI_VGA_MINI_PORT_SET_MODE )(IN EFI_VGA_MINI_PORT_PROTOCOL *This, IN UINTN ModeNumber) |
Variables | |
EFI_GUID | gEfiVgaMiniPortProtocolGuid |
The VGA Mini Port Protocol used to set the text display mode of a VGA controller.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
#define EFI_VGA_MINI_PORT_PROTOCOL_GUID |
Global ID for the EFI_VGA_MINI_PORT_PROTOCOL.
typedef struct _EFI_VGA_MINI_PORT_PROTOCOL EFI_VGA_MINI_PORT_PROTOCOL |
Forward declaration for the EFI_VGA_MINI_PORT_PROTOCOL.
typedef EFI_STATUS(EFIAPI * EFI_VGA_MINI_PORT_SET_MODE)(IN EFI_VGA_MINI_PORT_PROTOCOL *This, IN UINTN ModeNumber) |
Sets the text display mode of a VGA controller.
Sets the text display mode of the VGA controller to the mode specified by ModeNumber. A ModeNumber of 0 is a request for an 80x25 text mode. A ModeNumber of 1 is a request for an 80x50 text mode. If ModeNumber is greater than MaxModeNumber, then EFI_UNSUPPORTED is returned. If the VGA controller is not functioning properly, then EFI_DEVICE_ERROR is returned. If the VGA controller is successfully set to the mode number specified by ModeNumber, then EFI_SUCCESS is returned.
[in] | This | A pointer to the EFI_VGA_MINI_PORT_PROTOCOL instance. |
[in] | ModeNumber | The requested mode number. 0 for 80x25. 1 for 80x5. |
EFI_SUCCESS | The mode number was set. |
EFI_UNSUPPORTED | The mode number specified by ModeNumber is not supported. |
EFI_DEVICE_ERROR | The device is not functioning properly. |
EFI_GUID gEfiVgaMiniPortProtocolGuid |