|
OpenCore
1.0.5
OpenCore Bootloader
|
Go to the source code of this file.
Functions | |
| STATIC CHAR8 * | GetLegacyEntryName (OC_LEGACY_OS_TYPE LegacyOsType) |
| STATIC CHAR8 * | GetLegacyEntryFlavour (OC_LEGACY_OS_TYPE LegacyOsType) |
| STATIC CHAR8 * | LoadAppleDiskLabel (IN OUT OC_PICKER_CONTEXT *PickerContext, IN EFI_HANDLE DiskHandle) |
| STATIC VOID | FreePickerEntry (IN OC_PICKER_ENTRY *Entry) |
| STATIC EFI_STATUS | UnmanagedBootActionDoLegacyBoot (IN OUT OC_PICKER_CONTEXT *PickerContext, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath) |
| STATIC EFI_STATUS | UnmanagedBootGetFinalDevicePath (IN OUT OC_PICKER_CONTEXT *PickerContext, IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath) |
| STATIC EFI_STATUS EFIAPI | OcGetLegacyBootEntries (IN OUT OC_PICKER_CONTEXT *PickerContext, IN CONST EFI_HANDLE Device OPTIONAL, OUT OC_PICKER_ENTRY **Entries, OUT UINTN *NumEntries) |
| STATIC VOID EFIAPI | OcFreeLegacyBootEntries (IN OC_PICKER_ENTRY **Entries, IN UINTN NumEntries) |
| EFI_STATUS EFIAPI | UefiMain (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
| STATIC EFI_HANDLE | mImageHandle |
| STATIC BOOLEAN | mIsAppleInterfaceSupported |
| STATIC OC_FLEX_ARRAY * | mHiddenDevicePaths |
| STATIC CONST UINT8 | AppleLegacyInterfaceFallbackDevicePathData [] |
| STATIC CONST EFI_DEVICE_PATH_PROTOCOL * | AppleLegacyInterfaceFallbackDevicePathPath = (EFI_DEVICE_PATH_PROTOCOL *)AppleLegacyInterfaceFallbackDevicePathData |
| STATIC OC_BOOT_ENTRY_PROTOCOL | mLegacyBootEntryProtocol |
Legacy boot driver.
Copyright (c) 2023, Goldfish64. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause
Definition in file OpenLegacyBoot.c.
| STATIC VOID FreePickerEntry | ( | IN OC_PICKER_ENTRY * | Entry | ) |
Definition at line 88 of file OpenLegacyBoot.c.
| STATIC CHAR8 * GetLegacyEntryFlavour | ( | OC_LEGACY_OS_TYPE | LegacyOsType | ) |
Definition at line 42 of file OpenLegacyBoot.c.
| STATIC CHAR8 * GetLegacyEntryName | ( | OC_LEGACY_OS_TYPE | LegacyOsType | ) |
Definition at line 33 of file OpenLegacyBoot.c.
| STATIC CHAR8 * LoadAppleDiskLabel | ( | IN OUT OC_PICKER_CONTEXT * | PickerContext, |
| IN EFI_HANDLE | DiskHandle ) |
Definition at line 51 of file OpenLegacyBoot.c.
| STATIC VOID EFIAPI OcFreeLegacyBootEntries | ( | IN OC_PICKER_ENTRY ** | Entries, |
| IN UINTN | NumEntries ) |
Definition at line 445 of file OpenLegacyBoot.c.
| STATIC EFI_STATUS EFIAPI OcGetLegacyBootEntries | ( | IN OUT OC_PICKER_CONTEXT * | PickerContext, |
| IN CONST EFI_HANDLE Device | OPTIONAL, | ||
| OUT OC_PICKER_ENTRY ** | Entries, | ||
| OUT UINTN * | NumEntries ) |
Definition at line 271 of file OpenLegacyBoot.c.
| EFI_STATUS EFIAPI UefiMain | ( | IN EFI_HANDLE | ImageHandle, |
| IN EFI_SYSTEM_TABLE * | SystemTable ) |
Definition at line 477 of file OpenLegacyBoot.c.
| STATIC EFI_STATUS UnmanagedBootActionDoLegacyBoot | ( | IN OUT OC_PICKER_CONTEXT * | PickerContext, |
| IN EFI_DEVICE_PATH_PROTOCOL * | DevicePath ) |
Definition at line 113 of file OpenLegacyBoot.c.
| STATIC EFI_STATUS UnmanagedBootGetFinalDevicePath | ( | IN OUT OC_PICKER_CONTEXT * | PickerContext, |
| IN OUT EFI_DEVICE_PATH_PROTOCOL ** | DevicePath ) |
Definition at line 214 of file OpenLegacyBoot.c.
| STATIC CONST UINT8 AppleLegacyInterfaceFallbackDevicePathData[] |
Definition at line 21 of file OpenLegacyBoot.c.
| STATIC CONST EFI_DEVICE_PATH_PROTOCOL* AppleLegacyInterfaceFallbackDevicePathPath = (EFI_DEVICE_PATH_PROTOCOL *)AppleLegacyInterfaceFallbackDevicePathData |
Definition at line 29 of file OpenLegacyBoot.c.
| STATIC OC_FLEX_ARRAY* mHiddenDevicePaths |
Definition at line 15 of file OpenLegacyBoot.c.
| STATIC EFI_HANDLE mImageHandle |
Definition at line 12 of file OpenLegacyBoot.c.
| STATIC BOOLEAN mIsAppleInterfaceSupported |
Definition at line 13 of file OpenLegacyBoot.c.
| STATIC OC_BOOT_ENTRY_PROTOCOL mLegacyBootEntryProtocol |
Definition at line 468 of file OpenLegacyBoot.c.