OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
VgaMiniPort.h File Reference

Go to the source code of this file.

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 - 2010, 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 VgaMiniPort.h.

Macro Definition Documentation

◆ EFI_VGA_MINI_PORT_PROTOCOL_GUID

#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.

Definition at line 21 of file VgaMiniPort.h.

Typedef Documentation

◆ EFI_VGA_MINI_PORT_PROTOCOL

Forward declaration for the EFI_VGA_MINI_PORT_PROTOCOL.

Definition at line 29 of file VgaMiniPort.h.

◆ EFI_VGA_MINI_PORT_SET_MODE

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 sucessfully 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.

Definition at line 51 of file VgaMiniPort.h.

Variable Documentation

◆ gEfiVgaMiniPortProtocolGuid

EFI_GUID gEfiVgaMiniPortProtocolGuid
extern