OpenCore
1.0.4
OpenCore Bootloader
|
#include "OcApfsInternal.h"
#include <Library/OcApfsLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Protocol/BlockIo.h>
#include <Protocol/PartitionInfo.h>
Go to the source code of this file.
Functions | |
STATIC VOID EFIAPI | ApfsNewPartitionArrived (IN EFI_EVENT Event, IN VOID *Context) |
STATIC EFI_STATUS | ApfsMonitorNewPartitions (VOID) |
EFI_STATUS | OcApfsConnectParentDevice (IN EFI_HANDLE Handle OPTIONAL, IN BOOLEAN VerifyPolicy) |
EFI_STATUS | OcApfsConnectDevices (IN BOOLEAN Monitor) |
Variables | |
STATIC VOID * | mApfsNewPartitionsEventKey |
Copyright (C) 2020, 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 OcApfsLib.c.
STATIC EFI_STATUS ApfsMonitorNewPartitions | ( | VOID | ) |
Definition at line 59 of file OcApfsLib.c.
STATIC VOID EFIAPI ApfsNewPartitionArrived | ( | IN EFI_EVENT | Event, |
IN VOID * | Context ) |
Definition at line 31 of file OcApfsLib.c.
EFI_STATUS OcApfsConnectDevices | ( | IN BOOLEAN | Monitor | ) |
Connect APFS driver to all present devices.
[in] | Monitor | Setup monitoring for newly connected devices. |
EFI_SUCCESS | if at least one device was connected. |
Definition at line 169 of file OcApfsLib.c.
EFI_STATUS OcApfsConnectParentDevice | ( | IN EFI_HANDLE Handle | OPTIONAL, |
IN BOOLEAN | VerifyPolicy ) |
Connect APFS driver to partitions on media handle.
[in] | Handle | Media handle (disk). |
[in] | VerifyPolicy | Apply ScanPolicy rules. |
EFI_SUCCESS | if the device was connected. |
Definition at line 90 of file OcApfsLib.c.
STATIC VOID* mApfsNewPartitionsEventKey |
Definition at line 26 of file OcApfsLib.c.