45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
/** @file
|
|
|
|
;******************************************************************************
|
|
;* Copyright (c) 2018, Insyde Software Corp. All Rights Reserved.
|
|
;*
|
|
;* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
;* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
;* any part of this publication in any form, by any means, without the prior
|
|
;* written permission of Insyde Software Corporation.
|
|
;*
|
|
;******************************************************************************
|
|
*/
|
|
|
|
#ifndef _H2O_HYBRID_GRAPHICS_INFO_PROTOCOL_H_
|
|
#define _H2O_HYBRID_GRAPHICS_INFO_PROTOCOL_H_
|
|
|
|
#define H2O_HYBRID_GRAPHICS_INFORMATION_PROTOCOL_GUID \
|
|
{ \
|
|
0x4d96c24c, 0xcb7, 0x4650, {0x91, 0x7c, 0x3b, 0xb, 0x70, 0xa6, 0x7f, 0xba} \
|
|
}
|
|
|
|
#pragma pack (push, 1)
|
|
typedef struct {
|
|
UINTN Address;
|
|
UINTN Size;
|
|
} BINARY_INFORMATION;
|
|
#pragma pack (pop)
|
|
|
|
//
|
|
// Protocol definition
|
|
//
|
|
#pragma pack (push, 1)
|
|
typedef struct _H2O_HG_INFO_PROTOCOL {
|
|
BINARY_INFORMATION Vbios;
|
|
BINARY_INFORMATION DgpuMxmBinFile;
|
|
BINARY_INFORMATION Dgpu2MxmBinFile;
|
|
UINT16 GpioBaseAddress;
|
|
UINT8 HgMode;
|
|
} H2O_HG_INFO_PROTOCOL;
|
|
#pragma pack (pop)
|
|
|
|
extern EFI_GUID gH2OHybridGraphicsInfoProtocolGuid;
|
|
|
|
#endif
|