OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
DmgBootSupport.c File Reference
#include "BootManagementInternal.h"
#include <Guid/FileInfo.h>
#include <Library/OcAppleSecureBootLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/FileHandleLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcAppleKeysLib.h>
#include <Library/OcFileLib.h>
#include <Library/OcStringLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>

Go to the source code of this file.

Functions

STATIC EFI_DEVICE_PATH_PROTOCOL * InternalGetFirstDeviceBootFilePath (IN CONST EFI_DEVICE_PATH_PROTOCOL *DmgDevicePath, IN UINTN DmgDevicePathSize)
 
STATIC EFI_DEVICE_PATH_PROTOCOL * InternalGetDiskImageBootFile (OUT INTERNAL_DMG_LOAD_CONTEXT *Context, IN OC_DMG_LOADING_SUPPORT DmgLoading, IN UINTN DmgFileSize, IN VOID *ChunklistBuffer OPTIONAL, IN UINT32 ChunklistBufferSize OPTIONAL)
 
STATIC EFI_FILE_INFO * InternalFindFirstDmgFileName (IN EFI_FILE_PROTOCOL *Directory, OUT UINTN *FileNameLen)
 
STATIC EFI_FILE_INFO * InternalFindDmgChunklist (IN EFI_FILE_PROTOCOL *Directory, IN CONST CHAR16 *DmgFileName, IN UINTN DmgFileNameLen)
 
EFI_DEVICE_PATH_PROTOCOL * InternalLoadDmg (IN OUT INTERNAL_DMG_LOAD_CONTEXT *Context, IN OC_DMG_LOADING_SUPPORT DmgLoading, IN OC_APPLE_DISK_IMAGE_PRELOAD_CONTEXT *DmgPreloadContext)
 
VOID InternalUnloadDmg (IN INTERNAL_DMG_LOAD_CONTEXT *DmgLoadContext)
 

Detailed Description

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 DmgBootSupport.c.

Function Documentation

◆ InternalFindDmgChunklist()

STATIC EFI_FILE_INFO * InternalFindDmgChunklist ( IN EFI_FILE_PROTOCOL * Directory,
IN CONST CHAR16 * DmgFileName,
IN UINTN DmgFileNameLen )

Definition at line 260 of file DmgBootSupport.c.

◆ InternalFindFirstDmgFileName()

STATIC EFI_FILE_INFO * InternalFindFirstDmgFileName ( IN EFI_FILE_PROTOCOL * Directory,
OUT UINTN * FileNameLen )

Definition at line 212 of file DmgBootSupport.c.

◆ InternalGetDiskImageBootFile()

STATIC EFI_DEVICE_PATH_PROTOCOL * InternalGetDiskImageBootFile ( OUT INTERNAL_DMG_LOAD_CONTEXT * Context,
IN OC_DMG_LOADING_SUPPORT DmgLoading,
IN UINTN DmgFileSize,
IN VOID *ChunklistBuffer OPTIONAL,
IN UINT32 ChunklistBufferSize OPTIONAL )

Definition at line 112 of file DmgBootSupport.c.

◆ InternalGetFirstDeviceBootFilePath()

STATIC EFI_DEVICE_PATH_PROTOCOL * InternalGetFirstDeviceBootFilePath ( IN CONST EFI_DEVICE_PATH_PROTOCOL * DmgDevicePath,
IN UINTN DmgDevicePathSize )

Definition at line 34 of file DmgBootSupport.c.

◆ InternalLoadDmg()

EFI_DEVICE_PATH_PROTOCOL * InternalLoadDmg ( IN OUT INTERNAL_DMG_LOAD_CONTEXT * Context,
IN OC_DMG_LOADING_SUPPORT DmgLoading,
IN OC_APPLE_DISK_IMAGE_PRELOAD_CONTEXT * DmgPreloadContext )

Definition at line 319 of file DmgBootSupport.c.

◆ InternalUnloadDmg()

VOID InternalUnloadDmg ( IN INTERNAL_DMG_LOAD_CONTEXT * DmgLoadContext)

Definition at line 525 of file DmgBootSupport.c.