OpenCore
1.0.4
OpenCore Bootloader
|
#include "OcConsoleLibInternal.h"
#include <Protocol/ConsoleControl.h>
#include <Library/BaseMemoryLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.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 | |
EFI_CONSOLE_CONTROL_SCREEN_MODE | OcConsoleControlSetMode (IN EFI_CONSOLE_CONTROL_SCREEN_MODE Mode) |
EFI_CONSOLE_CONTROL_SCREEN_MODE | OcConsoleControlGetMode (VOID) |
EFI_STATUS | OcConsoleControlInstallProtocol (IN EFI_CONSOLE_CONTROL_PROTOCOL *NewProtocol, OUT EFI_CONSOLE_CONTROL_PROTOCOL *OldProtocol OPTIONAL, IN OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *OldMode OPTIONAL) |
EFI_STATUS | OcConsoleControlRestoreProtocol (IN EFI_CONSOLE_CONTROL_PROTOCOL *OldProtocol) |
Copyright (C) 2019, 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 ConsoleControl.c.
EFI_CONSOLE_CONTROL_SCREEN_MODE OcConsoleControlGetMode | ( | VOID | ) |
Get existing console control screen mode, default to text if no existing console control protocol.
existing | console control mode. |
Definition at line 74 of file ConsoleControl.c.
EFI_STATUS OcConsoleControlInstallProtocol | ( | IN EFI_CONSOLE_CONTROL_PROTOCOL * | NewProtocol, |
OUT EFI_CONSOLE_CONTROL_PROTOCOL *OldProtocol | OPTIONAL, | ||
IN OUT EFI_CONSOLE_CONTROL_SCREEN_MODE *OldMode | OPTIONAL ) |
Definition at line 107 of file ConsoleControl.c.
EFI_STATUS OcConsoleControlRestoreProtocol | ( | IN EFI_CONSOLE_CONTROL_PROTOCOL * | OldProtocol | ) |
Definition at line 179 of file ConsoleControl.c.
EFI_CONSOLE_CONTROL_SCREEN_MODE OcConsoleControlSetMode | ( | IN EFI_CONSOLE_CONTROL_SCREEN_MODE | Mode | ) |
Update console control screen mode.
[in] | Mode | Desired mode. |
previous | console control mode. |
Definition at line 29 of file ConsoleControl.c.