alder_lake_bios/Intel/AlderLake/AlderLakeChipsetPkg/Include/Ppi/HybridGraphics.h

52 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_PPI_H_
#define _H2O_HYBRID_GRAPHICS_PPI_H_
#define H2O_HYBRID_GRAPHICS_PPI_GUID \
{ \
0x8daf8e3d, 0xf580, 0x4b2e, {0xa7, 0xbe, 0xc4, 0xfa, 0xe5, 0x42, 0xab, 0x8e} \
}
typedef
BOOLEAN
(EFIAPI *HG_GPIO_READ) (
IN UINT32 Gpio,
IN BOOLEAN Active
);
typedef
VOID
(EFIAPI *HG_GPIO_WRITE) (
IN UINT32 Gpio,
IN BOOLEAN Active,
IN BOOLEAN Level
);
typedef
VOID
(EFIAPI *HG_STALL) (
IN UINTN Microseconds
);
typedef struct _H2O_HYBRID_GRAPHICS_PPI {
HG_GPIO_READ GpioRead;
HG_GPIO_WRITE GpioWrite;
HG_STALL Stall;
} H2O_HYBRID_GRAPHICS_PPI;
extern EFI_GUID gH2OHybridGraphicsPpiGuid;
#endif