Re: [PATCH 5/7] efi: Get the secure boot status [ver #3]
From: Ard Biesheuvel
Date: Fri Nov 25 2016 - 08:21:08 EST
On 25 November 2016 at 12:51, David Howells <dhowells@xxxxxxxxxx> wrote:
> Ard Biesheuvel <ard.biesheuvel@xxxxxxxxxx> wrote:
>
>> There is a 'revision' field in the header ('hdr') of the EFI system
>> table, so something like
>
> Is this the same as the fw_revision in the system table?
>
> #define EFI_2_60_SYSTEM_TABLE_REVISION ((2<<16) | (60))
> #define EFI_2_50_SYSTEM_TABLE_REVISION ((2<<16) | (50))
> #define EFI_2_40_SYSTEM_TABLE_REVISION ((2<<16) | (40))
> ...
>
Yes. And in fact, that means my example is incorrect (60 not 6 in the
minor field)