]> git.ipfire.org Git - thirdparty/qemu.git/commit
smbios: add processor-family option
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 23 Jan 2024 18:42:26 +0000 (19:42 +0100)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 9 Feb 2024 10:43:14 +0000 (20:43 +1000)
commitb5831d79671cea3f7bd42cffab93fe6eab8c3db0
tree434677b34736b7016f624a3f4a8559b1e2203654
parent1c8e491c457128f9b55b7093c8c0e3d66baf415f
smbios: add processor-family option

For RISC-V the SMBIOS standard requires specific values of the processor
family value depending on the bitness of the CPU.

Add a processor-family option for SMBIOS table 4.

The value of processor-family may exceed 255 and therefore must be provided
in the Processor Family 2 field. Set the Processor Family field to 0xFE
which signals that the Processor Family 2 is used.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Message-ID: <20240123184229.10415-2-heinrich.schuchardt@canonical.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
hw/smbios/smbios.c
qemu-options.hx