Hello all,

I just noticed the v2.10 of the UEFI spec. It adds the following define

#define EFI_2_100_SYSTEM_TABLE_REVISION ((2<<16) | (100)

However, the revision field is documented as

"""
The revision of the EFI Specification to which this table conforms.
The upper 16 bits of this field contain the major revision value, and
the lower 16 bits contain the minor revision value. The minor revision
values are binary coded decimals and are limited to the range of
00..99.
"""

I'm not sure what 'binary coded decimals' is supposed to mean here,
given that we use ordinary decimals (30 == 30, and 0x30 == 48 not 30).
However, the range 00..99 is obviously decimal, and 100 is obviously
outside of that range, so something is out of whack here.

Not too important, but I was trying to adapt the Linux revision
reporting to the latest update, and the inconsistency makes that a bit
tricky.

Thanks,
Ard.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#94441): https://edk2.groups.io/g/devel/message/94441
Mute This Topic: https://groups.io/mt/93960409/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to