Mike Beaton 2bbda9de78 OcVariableLib: Add option to set bs-only var ShimLockGuid:ShimRetainProtocol
If set by bootloader chained from shim before further image is loaded, instructs
shim to keep its protocol and its security overrides (if enabled) present for all
image loads, not just the first.
2023-08-31 22:27:01 +01:00

19 lines
354 B
C

/** @file
GRUB2 shim values.
Copyright (c) 2023, Mike Beaton. All rights reserved.<BR>
SPDX-License-Identifier: BSD-3-Clause
**/
#ifndef __SHIM_H
#define __SHIM_H
#include <Guid/ShimLock.h>
//
// Variable to set to retain shim lock protocol for subsequent image loads.
//
#define SHIM_RETAIN_PROTOCOL L"ShimRetainProtocol"
#endif // __SHIM_H