diff options
author | Matthew Garrett <mjg@redhat.com> | 2012-04-30 16:11:29 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-04-30 18:30:18 -0400 |
commit | 41b3254c93acc56adc3c4477fef7c9512d47659e (patch) | |
tree | 2a8fed385a37a70551cb11c8694301b686a6ebd1 /include/linux/efi.h | |
parent | 8a7dc4b04b22be285ea5bef7d01a02f91e30d562 (diff) |
efi: Add new variable attributes
More recent versions of the UEFI spec have added new attributes for
variables. Add them.
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/efi.h')
-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 88ec80670d5f..ec45ccd8708a 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
@@ -554,7 +554,18 @@ extern int __init efi_setup_pcdp_console(char *); | |||
554 | #define EFI_VARIABLE_NON_VOLATILE 0x0000000000000001 | 554 | #define EFI_VARIABLE_NON_VOLATILE 0x0000000000000001 |
555 | #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x0000000000000002 | 555 | #define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x0000000000000002 |
556 | #define EFI_VARIABLE_RUNTIME_ACCESS 0x0000000000000004 | 556 | #define EFI_VARIABLE_RUNTIME_ACCESS 0x0000000000000004 |
557 | 557 | #define EFI_VARIABLE_HARDWARE_ERROR_RECORD 0x0000000000000008 | |
558 | #define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 0x0000000000000010 | ||
559 | #define EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS 0x0000000000000020 | ||
560 | #define EFI_VARIABLE_APPEND_WRITE 0x0000000000000040 | ||
561 | |||
562 | #define EFI_VARIABLE_MASK (EFI_VARIABLE_NON_VOLATILE | \ | ||
563 | EFI_VARIABLE_BOOTSERVICE_ACCESS | \ | ||
564 | EFI_VARIABLE_RUNTIME_ACCESS | \ | ||
565 | EFI_VARIABLE_HARDWARE_ERROR_RECORD | \ | ||
566 | EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS | \ | ||
567 | EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS | \ | ||
568 | EFI_VARIABLE_APPEND_WRITE) | ||
558 | /* | 569 | /* |
559 | * The type of search to perform when calling boottime->locate_handle | 570 | * The type of search to perform when calling boottime->locate_handle |
560 | */ | 571 | */ |