acrn-hypervisor/hypervisor/quirks
Yifan Liu 0a1ad45b32 hv: Avoid using SMBIOS major version
Previously it is (falsely) assumed that the major_ver of 32-bit SMBIOS
entry point structure (which is called SMBIOS 2.1 in spec, or SMBIOS2 in code)
will have a value of 2 and major_ver of 64-bit SMBIOS (which is called SMBIOS
3.0 in spec, and SMBIOS3 in code) will have a value of 3. This turned out to be
wrong. This major_ver refers to the implemented doc revision, and 32-bit SMBIOS2
can have its major_ver to be 3 (current most recent implementation).

This patch removes the use of major_ver to distinguish between
SMBIOS2/3, and use a doc-defined anchor string instead.

Tracked-On: #6528
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
2021-09-08 15:22:12 +08:00
..
security_vm_fixup.c hv: Avoid using SMBIOS major version 2021-09-08 15:22:12 +08:00
security_vm_fixup.h hv: quirks: SMBIOS passthrough for prelaunched-VM 2021-08-26 09:24:50 +08:00
smbios.h hv: quirks: SMBIOS passthrough for prelaunched-VM 2021-08-26 09:24:50 +08:00