VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/UefiPayloadPkg/GraphicsOutputDxe/GraphicsOutput.h@ 105681

最後變更 在這個檔案從105681是 99404,由 vboxsync 提交於 23 月 前

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.8 KB
 
1/** @file
2 Header file for a generic GOP driver.
3
4Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7
8**/
9
10#ifndef _GRAPHICS_OUTPUT_DXE_H_
11#define _GRAPHICS_OUTPUT_DXE_H_
12#include <PiDxe.h>
13
14#include <IndustryStandard/Pci.h>
15#include <IndustryStandard/Acpi.h>
16#include <Guid/GraphicsInfoHob.h>
17#include <Protocol/DriverBinding.h>
18#include <Protocol/PciIo.h>
19#include <Protocol/DevicePath.h>
20#include <Protocol/GraphicsOutput.h>
21#include <Protocol/ComponentName.h>
22#include <Protocol/ComponentName2.h>
23
24#include <Library/BaseLib.h>
25#include <Library/UefiBootServicesTableLib.h>
26#include <Library/HobLib.h>
27#include <Library/DevicePathLib.h>
28#include <Library/FrameBufferBltLib.h>
29#include <Library/DebugLib.h>
30#include <Library/BaseMemoryLib.h>
31#include <Library/MemoryAllocationLib.h>
32#include <Library/UefiLib.h>
33
34#define MAX_PCI_BAR 6
35
36typedef struct {
37 UINT32 Signature;
38 EFI_HANDLE GraphicsOutputHandle;
39 EFI_GRAPHICS_OUTPUT_PROTOCOL GraphicsOutput;
40 EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GraphicsOutputMode;
41 EFI_DEVICE_PATH_PROTOCOL *DevicePath;
42 EFI_PCI_IO_PROTOCOL *PciIo;
43 UINT64 PciAttributes;
44 FRAME_BUFFER_CONFIGURE *FrameBufferBltLibConfigure;
45 UINTN FrameBufferBltLibConfigureSize;
46} GRAPHICS_OUTPUT_PRIVATE_DATA;
47
48#define GRAPHICS_OUTPUT_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('g', 'g', 'o', 'p')
49#define GRAPHICS_OUTPUT_PRIVATE_FROM_THIS(a) \
50 CR(a, GRAPHICS_OUTPUT_PRIVATE_DATA, GraphicsOutput, GRAPHICS_OUTPUT_PRIVATE_DATA_SIGNATURE)
51
52extern EFI_COMPONENT_NAME_PROTOCOL mGraphicsOutputComponentName;
53extern EFI_COMPONENT_NAME2_PROTOCOL mGraphicsOutputComponentName2;
54#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette