diff options
author | Matthew Garrett <mjg@redhat.com> | 2012-04-30 16:11:29 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-07 11:56:37 -0400 |
commit | 34dea1cae3e37fe34ddf7b0f7b581aebcb70db97 (patch) | |
tree | 39435cf4e0f9f9c7b1503c9239ed29efa938fbcd | |
parent | cfea9a253443f5b02ea1e0f9667e6cf987069f9b (diff) |
efi: Add new variable attributes
commit 41b3254c93acc56adc3c4477fef7c9512d47659e upstream.
More recent versions of the UEFI spec have added new attributes for
variables. Add them.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | include/linux/efi.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index e376270cd26..e0ce165aa59 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -347,7 +347,18 @@ extern int __init efi_setup_pcdp_console(char *); | |||
347 | #define EFI_VARIABLE_NON_VOLATILE 0x0000000000000001 | 347 | #define EFI_VARIABLE_NON_VOLATILE 0x0000000000000001 |
348 | #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x0000000000000002 | 348 | #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x0000000000000002 |
349 | #define EFI_VARIABLE_RUNTIME_ACCESS 0x0000000000000004 | 349 | #define EFI_VARIABLE_RUNTIME_ACCESS 0x0000000000000004 |
350 | 350 | #define EFI_VARIABLE_HARDWARE_ERROR_RECORD 0x0000000000000008 | |
351 | #define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 0x0000000000000010 | ||
352 | #define EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS 0x0000000000000020 | ||
353 | #define EFI_VARIABLE_APPEND_WRITE 0x0000000000000040 | ||
354 | |||
355 | #define EFI_VARIABLE_MASK (EFI_VARIABLE_NON_VOLATILE | \ | ||
356 | EFI_VARIABLE_BOOTSERVICE_ACCESS | \ | ||
357 | EFI_VARIABLE_RUNTIME_ACCESS | \ | ||
358 | EFI_VARIABLE_HARDWARE_ERROR_RECORD | \ | ||
359 | EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS | \ | ||
360 | EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS | \ | ||
361 | EFI_VARIABLE_APPEND_WRITE) | ||
351 | /* | 362 | /* |
352 | * EFI Device Path information | 363 | * EFI Device Path information |
353 | */ | 364 | */ |