OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
Apm.c File Reference
#include "Partition.h"

Go to the source code of this file.

Functions

EFI_STATUS PartitionInstallAppleChildHandles (IN EFI_DRIVER_BINDING_PROTOCOL *This, IN EFI_HANDLE Handle, IN EFI_DISK_IO_PROTOCOL *DiskIo, IN EFI_DISK_IO2_PROTOCOL *DiskIo2, IN EFI_BLOCK_IO_PROTOCOL *BlockIo, IN EFI_BLOCK_IO2_PROTOCOL *BlockIo2, IN EFI_DEVICE_PATH_PROTOCOL *DevicePath)
 

Detailed Description

Decode a hard disk partitioned with the APM scheme.

Copyright (c) 2016-2021, Acidanthera. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file Apm.c.

Function Documentation

◆ PartitionInstallAppleChildHandles()

EFI_STATUS PartitionInstallAppleChildHandles ( IN EFI_DRIVER_BINDING_PROTOCOL * This,
IN EFI_HANDLE Handle,
IN EFI_DISK_IO_PROTOCOL * DiskIo,
IN EFI_DISK_IO2_PROTOCOL * DiskIo2,
IN EFI_BLOCK_IO_PROTOCOL * BlockIo,
IN EFI_BLOCK_IO2_PROTOCOL * BlockIo2,
IN EFI_DEVICE_PATH_PROTOCOL * DevicePath )

Install child handles if the Handle supports Apple format.

Parameters
[in]ThisCalling context.
[in]HandleParent Handle.
[in]DiskIoParent DiskIo interface.
[in]DiskIo2Parent DiskIo2 interface.
[in]BlockIoParent BlockIo interface.
[in]BlockIo2Parent BlockIo2 interface.
[in]DevicePathParent Device Path
Return values
EFI_SUCCESSChild handle(s) was added.
EFI_MEDIA_CHANGEDMedia changed Detected.
otherno child handle was added.

Definition at line 29 of file Apm.c.