diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/efi.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/linux/efi.h b/include/linux/efi.h index b02099d0b4fc..02a69418be18 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h | |||
| @@ -29,7 +29,12 @@ | |||
| 29 | #define EFI_UNSUPPORTED ( 3 | (1UL << (BITS_PER_LONG-1))) | 29 | #define EFI_UNSUPPORTED ( 3 | (1UL << (BITS_PER_LONG-1))) |
| 30 | #define EFI_BAD_BUFFER_SIZE ( 4 | (1UL << (BITS_PER_LONG-1))) | 30 | #define EFI_BAD_BUFFER_SIZE ( 4 | (1UL << (BITS_PER_LONG-1))) |
| 31 | #define EFI_BUFFER_TOO_SMALL ( 5 | (1UL << (BITS_PER_LONG-1))) | 31 | #define EFI_BUFFER_TOO_SMALL ( 5 | (1UL << (BITS_PER_LONG-1))) |
| 32 | #define EFI_NOT_READY ( 6 | (1UL << (BITS_PER_LONG-1))) | ||
| 33 | #define EFI_DEVICE_ERROR ( 7 | (1UL << (BITS_PER_LONG-1))) | ||
| 34 | #define EFI_WRITE_PROTECTED ( 8 | (1UL << (BITS_PER_LONG-1))) | ||
| 35 | #define EFI_OUT_OF_RESOURCES ( 9 | (1UL << (BITS_PER_LONG-1))) | ||
| 32 | #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1))) | 36 | #define EFI_NOT_FOUND (14 | (1UL << (BITS_PER_LONG-1))) |
| 37 | #define EFI_SECURITY_VIOLATION (26 | (1UL << (BITS_PER_LONG-1))) | ||
| 33 | 38 | ||
| 34 | typedef unsigned long efi_status_t; | 39 | typedef unsigned long efi_status_t; |
| 35 | typedef u8 efi_bool_t; | 40 | typedef u8 efi_bool_t; |
| @@ -582,8 +587,6 @@ extern u64 efi_mem_attribute (unsigned long phys_addr, unsigned long size); | |||
| 582 | extern int __init efi_uart_console_only (void); | 587 | extern int __init efi_uart_console_only (void); |
| 583 | extern void efi_initialize_iomem_resources(struct resource *code_resource, | 588 | extern void efi_initialize_iomem_resources(struct resource *code_resource, |
| 584 | struct resource *data_resource, struct resource *bss_resource); | 589 | struct resource *data_resource, struct resource *bss_resource); |
| 585 | extern unsigned long efi_get_time(void); | ||
| 586 | extern int efi_set_rtc_mmss(unsigned long nowtime); | ||
| 587 | extern void efi_reserve_boot_services(void); | 590 | extern void efi_reserve_boot_services(void); |
| 588 | extern struct efi_memory_map memmap; | 591 | extern struct efi_memory_map memmap; |
| 589 | 592 | ||
| @@ -729,6 +732,7 @@ struct efivars { | |||
| 729 | spinlock_t lock; | 732 | spinlock_t lock; |
| 730 | struct list_head list; | 733 | struct list_head list; |
| 731 | struct kset *kset; | 734 | struct kset *kset; |
| 735 | struct kobject *kobject; | ||
| 732 | struct bin_attribute *new_var, *del_var; | 736 | struct bin_attribute *new_var, *del_var; |
| 733 | const struct efivar_operations *ops; | 737 | const struct efivar_operations *ops; |
| 734 | struct efivar_entry *walk_entry; | 738 | struct efivar_entry *walk_entry; |
