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

Go to the source code of this file.

Data Structures

struct  APPLE_EG2_INFO_PROTOCOL_
 

Macros

#define APPLE_EG2_INFO_PROTOCOL_GUID
 
#define APPLE_EG2_INFO_PROTOCOL_REVISION   0x10002
 

Typedefs

typedef struct APPLE_EG2_INFO_PROTOCOL_ APPLE_EG2_INFO_PROTOCOL
 
typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_UNKNOWN1) (IN APPLE_EG2_INFO_PROTOCOL *This, IN EFI_HANDLE GpuHandle)
 
typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_GET_PLATFORM_INFO) (IN APPLE_EG2_INFO_PROTOCOL *This, IN EFI_HANDLE GpuHandle, OUT VOID *Data, OUT UINTN *Size)
 
typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_STARTUP_DISPLAY) (IN APPLE_EG2_INFO_PROTOCOL *This, IN EFI_HANDLE GpuHandle, OUT VOID *Unk1, OUT VOID *Unk2, OUT VOID *Unk3)
 
typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_GET_HIBERNATION) (IN APPLE_EG2_INFO_PROTOCOL *This, OUT BOOLEAN *Hibernated)
 
typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_GET_ROTATION) (IN APPLE_EG2_INFO_PROTOCOL *This, OUT UINT32 *Rotation)
 

Enumerations

enum  {
  AppleDisplayRotate0 = 0 , AppleDisplayRotate90 = 1 , AppleDisplayRotate180 = 2 , AppleDisplayRotate270 = 3 ,
  AppleDisplayRotateMax = 4
}
 

Variables

EFI_GUID gAppleEg2InfoProtocolGuid
 

Detailed Description

Copyright (C) 2020, vit9696. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which 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 AppleEg2Info.h.

Macro Definition Documentation

◆ APPLE_EG2_INFO_PROTOCOL_GUID

#define APPLE_EG2_INFO_PROTOCOL_GUID
Value:
{ 0x63FAECF2, 0xE7EE, 0x4CB9, \
{ 0x8A, 0x0C, 0x11, 0xCE, 0x5E, 0x89, 0xE3, 0x3C } }

The GUID of the APPLE_EG2_INFO_PROTOCOL_GUID. 63FAECF2-E7EE-4CB9-8A0C-11CE5E89E33C

Definition at line 20 of file AppleEg2Info.h.

◆ APPLE_EG2_INFO_PROTOCOL_REVISION

#define APPLE_EG2_INFO_PROTOCOL_REVISION   0x10002

Definition at line 24 of file AppleEg2Info.h.

Typedef Documentation

◆ APPLE_EG2_INFO_GET_HIBERNATION

typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_GET_HIBERNATION) (IN APPLE_EG2_INFO_PROTOCOL *This, OUT BOOLEAN *Hibernated)

Used for e.g. EFI,hibwake.

Definition at line 76 of file AppleEg2Info.h.

◆ APPLE_EG2_INFO_GET_PLATFORM_INFO

typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_GET_PLATFORM_INFO) (IN APPLE_EG2_INFO_PROTOCOL *This, IN EFI_HANDLE GpuHandle, OUT VOID *Data, OUT UINTN *Size)

Used for e.g. ATY,PlatformInfo.

Definition at line 50 of file AppleEg2Info.h.

◆ APPLE_EG2_INFO_GET_ROTATION

typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_GET_ROTATION) (IN APPLE_EG2_INFO_PROTOCOL *This, OUT UINT32 *Rotation)

Definition at line 83 of file AppleEg2Info.h.

◆ APPLE_EG2_INFO_PROTOCOL

Definition at line 26 of file AppleEg2Info.h.

◆ APPLE_EG2_INFO_STARTUP_DISPLAY

typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_STARTUP_DISPLAY) (IN APPLE_EG2_INFO_PROTOCOL *This, IN EFI_HANDLE GpuHandle, OUT VOID *Unk1, OUT VOID *Unk2, OUT VOID *Unk3)

Seems to enable display over a specified connector. Can return EFI_NOT_FOUND or EFI_UNSUPPORTED.

Definition at line 63 of file AppleEg2Info.h.

◆ APPLE_EG2_INFO_UNKNOWN1

typedef EFI_STATUS(EFIAPI * APPLE_EG2_INFO_UNKNOWN1) (IN APPLE_EG2_INFO_PROTOCOL *This, IN EFI_HANDLE GpuHandle)

Returns EFI_UNSUPPORTED for Apple.

Definition at line 40 of file AppleEg2Info.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
AppleDisplayRotate0 
AppleDisplayRotate90 
AppleDisplayRotate180 
AppleDisplayRotate270 
AppleDisplayRotateMax 

Definition at line 28 of file AppleEg2Info.h.

Variable Documentation

◆ gAppleEg2InfoProtocolGuid

EFI_GUID gAppleEg2InfoProtocolGuid
extern