mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
55 lines
1.3 KiB
C
55 lines
1.3 KiB
C
/** @file
|
|
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.
|
|
**/
|
|
|
|
#ifndef OC_APFS_LIB_H
|
|
#define OC_APFS_LIB_H
|
|
|
|
/**
|
|
Configure APFS driver loading for subsequent connections.
|
|
|
|
@param[in] ScanPolicy OpenCore scan policy.
|
|
@param[in] IgnoreVerbose Avoid APFS driver verbose output.
|
|
**/
|
|
VOID
|
|
OcApfsConfigure (
|
|
IN UINT32 ScanPolicy,
|
|
IN BOOLEAN IgnoreVerbose
|
|
);
|
|
|
|
/**
|
|
Connect APFS driver to a device at handle.
|
|
|
|
@param[in] Handle Device handle (APFS container).
|
|
|
|
@retval EFI_SUCCESS if the device was connected.
|
|
**/
|
|
EFI_STATUS
|
|
OcApfsConnectDevice (
|
|
IN EFI_HANDLE Handle
|
|
);
|
|
|
|
/**
|
|
Connect APFS driver to all present devices.
|
|
|
|
@param[in] Monitor Setup monitoring for newly connected devices.
|
|
|
|
@retval EFI_SUCCESS if at least one device was connected.
|
|
**/
|
|
EFI_STATUS
|
|
OcApfsConnectDevices (
|
|
IN BOOLEAN Monitor
|
|
);
|
|
|
|
#endif // OC_APFS_LIB_H
|