OvmfPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
VgaMiniPort.h File Reference

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
 

Detailed Description

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

Macro Definition Documentation

#define EFI_VGA_MINI_PORT_PROTOCOL_GUID
Value:
{ \
0xc7735a2f, 0x88f5, 0x4882, {0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3 } \
}

Global ID for the EFI_VGA_MINI_PORT_PROTOCOL.

Typedef Documentation

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.

Parameters
[in]ThisA pointer to the EFI_VGA_MINI_PORT_PROTOCOL instance.
[in]ModeNumberThe requested mode number. 0 for 80x25. 1 for 80x5.
Return values
EFI_SUCCESSThe mode number was set.
EFI_UNSUPPORTEDThe mode number specified by ModeNumber is not supported.
EFI_DEVICE_ERRORThe device is not functioning properly.

Variable Documentation

EFI_GUID gEfiVgaMiniPortProtocolGuid