|
OpenCore
1.0.5
OpenCore Bootloader
|
#include <Library/OcMainLib.h>#include <Uefi.h>#include <Protocol/DevicePath.h>#include <Protocol/LoadedImage.h>#include <Protocol/OcBootstrap.h>#include <Protocol/OcInterface.h>#include <Library/UefiLib.h>#include <Library/BaseMemoryLib.h>#include <Library/OcBootManagementLib.h>#include <Library/OcConsoleLib.h>#include <Library/OcDebugLogLib.h>#include <Library/DevicePathLib.h>#include <Library/MemoryAllocationLib.h>#include <Library/OcDevicePathLib.h>#include <Library/OcFileLib.h>#include <Library/UefiBootServicesTableLib.h>#include <Library/UefiRuntimeServicesTableLib.h>#include <Library/UefiApplicationEntryPoint.h>#include "OpenCanopy.h"#include "BmfLib.h"#include "GuiApp.h"Go to the source code of this file.
Macros | |
| #define | DEFAULT_CURSOR_OFFSET_X BOOT_CURSOR_OFFSET |
| #define | DEFAULT_CURSOR_OFFSET_Y 112U |
Functions | |
| STATIC EFI_STATUS | OcShowMenuByOcEnter (IN BOOT_PICKER_GUI_CONTEXT *GuiContext) |
| STATIC VOID | OcShowMenuByOcLeave (VOID) |
| STATIC VOID | OcSetInitialCursorOffset (VOID) |
| EFI_STATUS EFIAPI | OcShowMenuByOc (IN OC_BOOT_CONTEXT *BootContext, IN OC_BOOT_ENTRY **BootEntries, OUT OC_BOOT_ENTRY **ChosenBootEntry) |
| EFI_STATUS EFIAPI | OcShowPasswordByOc (IN OC_PICKER_CONTEXT *Context, IN OC_PRIVILEGE_LEVEL Level) |
| EFI_STATUS | InternalContextConstruct (OUT BOOT_PICKER_GUI_CONTEXT *Context, IN OC_STORAGE_CONTEXT *Storage, IN OC_PICKER_CONTEXT *Picker) |
| STATIC EFI_STATUS EFIAPI | GuiOcInterfacePopulate (IN OC_INTERFACE_PROTOCOL *This, IN OC_STORAGE_CONTEXT *Storage, IN OC_PICKER_CONTEXT *Context) |
| EFI_STATUS EFIAPI | UefiMain (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
| BOOT_PICKER_GUI_CONTEXT | mGuiContext |
| STATIC GUI_DRAWING_CONTEXT | mDrawContext |
| STATIC EFI_CONSOLE_CONTROL_SCREEN_MODE | mPreviousMode |
| STATIC OC_INTERFACE_PROTOCOL | mOcInterface |
This file is part of OpenCanopy, OpenCore GUI.
Copyright (c) 2018-2019, Download-Fritz. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Definition in file OcBootstrap.c.
| #define DEFAULT_CURSOR_OFFSET_X BOOT_CURSOR_OFFSET |
Definition at line 37 of file OcBootstrap.c.
| #define DEFAULT_CURSOR_OFFSET_Y 112U |
Definition at line 38 of file OcBootstrap.c.
| STATIC EFI_STATUS EFIAPI GuiOcInterfacePopulate | ( | IN OC_INTERFACE_PROTOCOL * | This, |
| IN OC_STORAGE_CONTEXT * | Storage, | ||
| IN OC_PICKER_CONTEXT * | Context ) |
Definition at line 304 of file OcBootstrap.c.
| EFI_STATUS InternalContextConstruct | ( | OUT BOOT_PICKER_GUI_CONTEXT * | Context, |
| IN OC_STORAGE_CONTEXT * | Storage, | ||
| IN OC_PICKER_CONTEXT * | Picker ) |
| STATIC VOID OcSetInitialCursorOffset | ( | VOID | ) |
Definition at line 79 of file OcBootstrap.c.
| EFI_STATUS EFIAPI OcShowMenuByOc | ( | IN OC_BOOT_CONTEXT * | BootContext, |
| IN OC_BOOT_ENTRY ** | BootEntries, | ||
| OUT OC_BOOT_ENTRY ** | ChosenBootEntry ) |
some circumstances)
Definition at line 94 of file OcBootstrap.c.
| STATIC EFI_STATUS OcShowMenuByOcEnter | ( | IN BOOT_PICKER_GUI_CONTEXT * | GuiContext | ) |
Definition at line 47 of file OcBootstrap.c.
| STATIC VOID OcShowMenuByOcLeave | ( | VOID | ) |
Definition at line 69 of file OcBootstrap.c.
| EFI_STATUS EFIAPI OcShowPasswordByOc | ( | IN OC_PICKER_CONTEXT * | Context, |
| IN OC_PRIVILEGE_LEVEL | Level ) |
Definition at line 233 of file OcBootstrap.c.
| EFI_STATUS EFIAPI UefiMain | ( | IN EFI_HANDLE | ImageHandle, |
| IN EFI_SYSTEM_TABLE * | SystemTable ) |
Definition at line 330 of file OcBootstrap.c.
| STATIC GUI_DRAWING_CONTEXT mDrawContext |
Definition at line 42 of file OcBootstrap.c.
|
extern |
| STATIC OC_INTERFACE_PROTOCOL mOcInterface |
Definition at line 323 of file OcBootstrap.c.
| STATIC EFI_CONSOLE_CONTROL_SCREEN_MODE mPreviousMode |
Definition at line 43 of file OcBootstrap.c.