OpenCore
1.0.4
OpenCore Bootloader
|
#include "OcConsoleLibInternal.h"
#include "ConsoleGopInternal.h"
#include <Protocol/AppleFramebufferInfo.h>
#include <Protocol/GraphicsOutput.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/OcConsoleLib.h>
#include <Library/OcMiscLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
Go to the source code of this file.
Functions | |
STATIC EFI_STATUS EFIAPI | AppleFramebufferGetInfo (IN APPLE_FRAMEBUFFER_INFO_PROTOCOL *This, OUT EFI_PHYSICAL_ADDRESS *FramebufferBase, OUT UINT32 *FramebufferSize, OUT UINT32 *ScreenRowBytes, OUT UINT32 *ScreenWidth, OUT UINT32 *ScreenHeight, OUT UINT32 *ScreenDepth) |
APPLE_FRAMEBUFFER_INFO_PROTOCOL * | OcAppleFbInfoInstallProtocol (IN BOOLEAN Reinstall) |
Variables | |
STATIC APPLE_FRAMEBUFFER_INFO_PROTOCOL | mAppleFramebufferInfo |
Copyright (C) 2020, vit9696. All rights reserved.
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 FramebufferInfo.c.
STATIC EFI_STATUS EFIAPI AppleFramebufferGetInfo | ( | IN APPLE_FRAMEBUFFER_INFO_PROTOCOL * | This, |
OUT EFI_PHYSICAL_ADDRESS * | FramebufferBase, | ||
OUT UINT32 * | FramebufferSize, | ||
OUT UINT32 * | ScreenRowBytes, | ||
OUT UINT32 * | ScreenWidth, | ||
OUT UINT32 * | ScreenHeight, | ||
OUT UINT32 * | ScreenDepth ) |
Definition at line 31 of file FramebufferInfo.c.
APPLE_FRAMEBUFFER_INFO_PROTOCOL * OcAppleFbInfoInstallProtocol | ( | IN BOOLEAN | Reinstall | ) |
Install and initialise Apple Framebuffer Info protocol on top of GOP protocol. For EfiBoot 10.4, which can only use UGA, this is the only way to obtain framebuffer base for XNU kernel PE Boot_args.
[in] | Reinstall | Overwrite installed protocol. |
installed | or located protocol or NULL. |
Definition at line 106 of file FramebufferInfo.c.
STATIC APPLE_FRAMEBUFFER_INFO_PROTOCOL mAppleFramebufferInfo |
Definition at line 101 of file FramebufferInfo.c.