Hi,

I tried to set a
'EFI_VARIABLE_NON_VOLATILE|EFI_VARIABLE_BOOTSERVICE_ACCESS|EFI_VARIABLE_RUNTIME_ACCESS'
variable from an UEFI application but SetVariable just returns invalid
parameter for some reason.(with the global GUID)

I'm setting the variable in the exact same way as other existing ones so
the only difference really is that I'm using another name. Do I have to
'register' variables in the inf file before I can use it? The spec doesn't
really say sth. about SetVariable returning invalid_parameter for sth. like
that.

I am using these packages:
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
  <LibraryClasses>
    NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf
}
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to