Dear SeaBIOS folks,
building SeaBIOS from
commit 0784d04cb6f6e5c893aaf368091f20326fb847fe
Author: Marcel Apfelbaum marce...@redhat.com
Date: Thu Apr 10 21:55:22 2014 +0300
hw/pci: check if pci2pci bridges implement optional limit registers
with
New in version 7 of the patch set:
- patch set now down to only 7 patches;
- machine versions 2.0 and older currently unaffected by this patch set,
will continue using field overrides as before
- patches 1..6 are very small and simple, and set the stage for patch #7
- patch 7
The function smbios_set_defaults() uses a repeating code pattern
for each field. This patch replaces that pattern with a macro.
This patch contains no functional changes.
Signed-off-by: Gabriel Somlo so...@cmu.edu
---
hw/i386/smbios.c | 27 +--
1 file changed, 13
Add definitions for smbios entry point (anchor), and for type 2
(base board) structure which is required by some versions of OS X.
Remove definition for type 20 (memory device mapped address)
structure, which is no longer required as of smbios spec v2.5.
Update all other structure definitions to
Replace existing smbios_check_collision() functionality with
a pair of bitmaps: have_binfile_bitmap and have_fields_bitmap.
Bits corresponding to each smbios type are set by smbios_entry_add(),
which also uses the bitmaps to ensure that binary blobs and field
values are never accepted for the same
This patch contains no functional changes.
Signed-off-by: Gabriel Somlo so...@cmu.edu
---
hw/i386/pc_piix.c | 13 -
hw/i386/pc_q35.c | 13 -
2 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index cca310b..3d3f4b7
Build an aggregate set of smbios tables and an entry point structure.
Insert tables and entry point into fw_cfg respectively under
etc/smbios/smbios-tables and etc/smbios/smbios-anchor.
Machine types = 2.0 will for now continue using field-by-field
overrides to SeaBIOS defaults, but for machine