OcFirmwareRuntime: Extent with fallback var

This commit is contained in:
vit9696 2019-11-19 01:02:03 +03:00
parent 394a8fa2dc
commit 73bc29b75f

View File

@ -39,6 +39,15 @@ typedef struct OC_FWRT_CONFIG_ {
///
BOOLEAN BootVariableRedirect;
///
/// Route boot variables back to EfiGlobalVariable when they are compatible.
/// In general we do not want this, as this basically escapes OpenCore security
/// jail, and permits booting operating systems bypassing OpenCore.
/// However, some firmwares, namely ASUS APTIO V, will freeze/fail to boot
/// by manually adding boot entries for Windows after Windows itself did not
/// create them.
///
BOOLEAN BootVariableFallback;
///
/// Make SetVariable do nothing and always return EFI_SECURITY_VIOLATION.
/// When we do not want variables to be stored in NVRAM or NVRAM implementation
/// is buggy we can disable variable writing.