seabios/src/fw
Igor Mammedov 163fd9f087 fix smbios blob length overflow
When tables are more than 64K, size of copied tables will be
truncated due to cast from u32 to u16, and as result only
a small portion of the tables will be copied in the end.
That leads to corrupted tables (a part from QEMU and
remainder is whatever was in memory block allocated for
the tables).

Fix it by making qtables_len 32bit int.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
2024-03-03 12:40:12 -05:00
..
acpi-dsdt-cpu-hotplug.dsl Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
acpi-dsdt-dbug.dsl Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
acpi-dsdt-hpet.dsl Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
acpi-dsdt-isa.dsl Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
acpi-dsdt-pci-crs.dsl Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
acpi-dsdt.dsl acpi: Fix acpi dsdt compile warning. 2014-05-09 09:18:31 -04:00
acpi-dsdt.hex acpi: Don't build SSDT files on every build; store them in git 2015-11-19 08:48:34 -05:00
acpi.c pci: Split low-level pci code from higher-level 'struct pci_device' code 2016-02-03 10:38:42 -05:00
biostables.c fix smbios blob length overflow 2024-03-03 12:40:12 -05:00
coreboot.c src: Minor - remove tab characters that slipped into SeaBIOS C code 2017-05-02 20:02:01 -04:00
csm.c Fix high memory zone initialization in CSM mode 2023-06-13 11:01:34 -04:00
dev-pci.h pci: add QEMU-specific PCI capability structure 2017-09-14 15:49:45 -04:00
dev-piix.h smm: complete SMM setup 2014-06-04 11:06:58 -04:00
dev-q35.h ich9: initialise RCBA register through LPC interface 2015-07-14 15:43:12 +02:00
dsdt_parser.c acpi: parse Alias object 2022-11-23 09:23:30 +01:00
lzmadecode.c Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
lzmadecode.h Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
mptable.c pci: Split low-level pci code from higher-level 'struct pci_device' code 2016-02-03 10:38:42 -05:00
mtrr.c pci: Move code in pci.c that is specific to pciinit.c to pciinit.c 2016-02-03 10:38:42 -05:00
multiboot.c Add multiboot support. 2015-06-01 12:11:36 -04:00
paravirt.c qemu: log reservations in fw_cfg e820 table 2023-08-24 10:56:21 +02:00
paravirt.h detect physical address space size 2023-08-24 10:56:21 +02:00
pciinit.c limit address space used for pci devices. 2023-11-13 13:49:59 +01:00
pirtable.c Fix comment typo 2016-02-01 17:12:13 -05:00
q35-acpi-dsdt.dsl ACPI DSDT: Make control method `IQCR` serialized 2013-10-26 10:15:04 -04:00
romfile_loader.c QEMU fw_cfg: Write fw_cfg back on S3 resume 2017-02-21 09:36:16 -05:00
romfile_loader.h QEMU fw_cfg: Write fw_cfg back on S3 resume 2017-02-21 09:36:16 -05:00
shadow.c reset: force standard PCI configuration access 2022-04-04 17:13:00 -04:00
smbios.c smbios: Rename code specific for SMBIOS 2.1 entry points 2021-12-18 11:39:12 -05:00
smm.c smm: Suppress gcc array-bounds warnings 2022-01-21 11:08:33 -05:00
smp.c drop "etc/boot-cpus" fw_cfg file and reuse legacy QEMU_CFG_NB_CPUS 2016-11-21 10:08:14 -05:00
ssdt-misc.dsl ssdt: Fix building of legacy acpi tables on current iasl compiler 2018-07-15 10:14:15 -04:00
ssdt-misc.hex acpi: Don't build SSDT files on every build; store them in git 2015-11-19 08:48:34 -05:00
ssdt-pcihp.dsl ssdt: Fix building of legacy acpi tables on current iasl compiler 2018-07-15 10:14:15 -04:00
ssdt-pcihp.hex acpi: Don't build SSDT files on every build; store them in git 2015-11-19 08:48:34 -05:00
ssdt-proc.dsl Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00
ssdt-proc.hex acpi: Don't build SSDT files on every build; store them in git 2015-11-19 08:48:34 -05:00
xen.c xen: require Xen info structure at 0x1000 to detect Xen 2023-02-01 20:14:39 -05:00
xen.h Move code cenetered around firmware initialization to src/fw/ 2013-09-02 21:25:21 -04:00