--- zzzz-none-000/linux-5.15.111/include/linux/efi.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-atom-6670-761/linux-5.15.111/include/linux/efi.h 2024-02-07 10:23:26.000000000 +0000 @@ -43,6 +43,9 @@ #define EFI_ABORTED (21 | (1UL << (BITS_PER_LONG-1))) #define EFI_SECURITY_VIOLATION (26 | (1UL << (BITS_PER_LONG-1))) +/* OEM warning codes have highest bit clear, and next bit set */ +#define EFI_AVM_LOOP_STOP (1 | (1UL << (BITS_PER_LONG-2))) + typedef unsigned long efi_status_t; typedef u8 efi_bool_t; typedef u16 efi_char16_t; /* UNICODE character */ @@ -346,6 +349,8 @@ #define EFI_CERT_SHA256_GUID EFI_GUID(0xc1c41626, 0x504c, 0x4092, 0xac, 0xa9, 0x41, 0xf9, 0x36, 0x93, 0x43, 0x28) #define EFI_CERT_X509_GUID EFI_GUID(0xa5c059a1, 0x94e4, 0x4aa7, 0x87, 0xb5, 0xab, 0x15, 0x5c, 0x2b, 0xf0, 0x72) #define EFI_CERT_X509_SHA256_GUID EFI_GUID(0x3bd2a492, 0x96c0, 0x4079, 0xb4, 0x20, 0xfc, 0xf9, 0x8e, 0xf1, 0x03, 0xed) +#define EFI_AVM_VARIABLE_GUID EFI_GUID(0x692cccd4, 0xd3b9, 0x5e94, 0xba, 0x7e, 0x50, 0xaa, 0xac, 0xd8, 0xa3, 0x8d) +#define EFI_PUMA7_SPI_FLASH_PROTOCOL_GUID EFI_GUID(0x1156efc6, 0xea32, 0x4396, 0xb5, 0xd5, 0x26, 0x93, 0x2e, 0x83, 0xc3, 0x13) /* * This GUID is used to pass to the kernel proper the struct screen_info @@ -966,7 +971,7 @@ efi_char16_t VariableName[EFI_VAR_NAME_LEN/sizeof(efi_char16_t)]; efi_guid_t VendorGuid; unsigned long DataSize; - __u8 Data[1024]; + __u8 Data[2048]; efi_status_t Status; __u32 Attributes; } __attribute__((packed));