mirror of
https://github.com/acidanthera/OpenCorePkg.git
synced 2025-12-08 19:25:01 +00:00
43 lines
1.2 KiB
C
Executable File
43 lines
1.2 KiB
C
Executable File
/** @file
|
|
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.
|
|
**/
|
|
|
|
#ifndef OC_APPLE_BOOT_POLICY_LIB_H
|
|
#define OC_APPLE_BOOT_POLICY_LIB_H
|
|
|
|
#include <Protocol/AppleBootPolicy.h>
|
|
|
|
/**
|
|
Install and initialise Apple Boot policy protocol.
|
|
|
|
@param[in] Overwrite Overwrite installed protocol.
|
|
|
|
@retval installed or located protocol or NULL.
|
|
**/
|
|
APPLE_BOOT_POLICY_PROTOCOL *
|
|
OcAppleBootPolicyInstallProtocol (
|
|
IN BOOLEAN Reinstall
|
|
);
|
|
|
|
EFI_STATUS
|
|
OcGetBooterFromPredefinedNameList (
|
|
IN EFI_HANDLE Device,
|
|
IN EFI_FILE_PROTOCOL *Root,
|
|
IN CONST CHAR16 **BootPathNames,
|
|
IN UINTN NumBootPathNames,
|
|
OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath OPTIONAL,
|
|
IN CHAR16 *Prefix OPTIONAL
|
|
);
|
|
|
|
#endif // OC_APPLE_BOOT_POLICY_LIB_H
|