+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-\r
-Module Name:\r
-\r
- VgaMiniPort.h\r
- \r
-Abstract:\r
-\r
- Vga Mini port binding for a VGA controller\r
-\r
---*/\r
-\r
-#ifndef _VGA_MINI_PORT_H\r
-#define _VGA_MINI_PORT_H\r
-\r
-#define EFI_VGA_MINI_PORT_PROTOCOL_GUID \\r
- { \\r
- 0xc7735a2f, 0x88f5, 0x4882, {0xae, 0x63, 0xfa, 0xac, 0x8c, 0x8b, 0x86, 0xb3} \\r
- }\r
-\r
-EFI_FORWARD_DECLARATION (EFI_VGA_MINI_PORT_PROTOCOL);\r
-\r
-typedef\r
-EFI_STATUS\r
-(EFIAPI *EFI_VGA_MINI_PORT_SET_MODE) (\r
- IN EFI_VGA_MINI_PORT_PROTOCOL * This,\r
- IN UINTN ModeNumber\r
- );\r
-\r
-/*++\r
-\r
- Routine Description:\r
- Sets the text display mode of a VGA controller\r
-\r
- Arguments:\r
- This - Protocol instance pointer.\r
- Mode - Mode number. 0 - 80x25 1-80x50\r
-\r
- Returns:\r
- EFI_SUCCESS - The mode was set\r
- EFI_DEVICE_ERROR - The device is not functioning properly.\r
-\r
---*/\r
-struct _EFI_VGA_MINI_PORT_PROTOCOL {\r
- EFI_VGA_MINI_PORT_SET_MODE SetMode;\r
-\r
- UINT64 VgaMemoryOffset;\r
- UINT64 CrtcAddressRegisterOffset;\r
- UINT64 CrtcDataRegisterOffset;\r
-\r
- UINT8 VgaMemoryBar;\r
- UINT8 CrtcAddressRegisterBar;\r
- UINT8 CrtcDataRegisterBar;\r
-\r
- UINT8 MaxMode;\r
-};\r
-\r
-extern EFI_GUID gEfiVgaMiniPortProtocolGuid;\r
-\r
-#endif\r