| 1 |
/* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 |
/* |
| 3 |
* Port to systemd-boot |
| 4 |
* Copyright © 2017 Max Resch <[email protected]> |
| 5 |
* |
| 6 |
* Security Policy Handling |
| 7 |
* Copyright © 2012 <[email protected]> |
| 8 |
* https://github.com/mjg59/efitools |
| 9 |
*/ |
| 10 |
#pragma once |
| 11 |
|
| 12 |
#include "efi.h" |
| 13 |
|
| 14 |
bool shim_loaded(void); |
| 15 |
bool shim_loader_available(void); |
| 16 |
EFI_STATUS shim_load_image(EFI_HANDLE parent, const EFI_DEVICE_PATH *device_path, bool boot_policy, EFI_HANDLE *ret_image); |
| 17 |
void shim_retain_protocol(void); |