[SeaBIOS] [PATCH v2 16/19] Add pic_save_mask() and pic_restore_mask() functions

2013-02-05 Thread David Woodhouse
From: David Woodhouse david.woodho...@intel.com CSM will (unfortunately) need to use these. Signed-off-by: David Woodhouse david.woodho...@intel.com --- src/pic.c | 16 src/pic.h | 2 ++ 2 files changed, 18 insertions(+) diff --git a/src/pic.c b/src/pic.c index

[SeaBIOS] [PATCH v2 05/19] Add macros for pushing and popping struct bregs

2013-02-05 Thread David Woodhouse
From: David Woodhouse david.woodho...@intel.com I want to do this too, and can't bring myself to introduce yet another copy. Signed-off-by: David Woodhouse david.woodho...@intel.com Acked-by: Marc Jones marc.jo...@se-eng.com --- src/entryfuncs.S | 74

[SeaBIOS] [PATCH v2 11/19] Clean up #if in pirtable.c. CONFIG_PIRTABLE can't be set if CONFIG_COREBOOT is

2013-02-05 Thread David Woodhouse
From: David Woodhouse david.woodho...@intel.com CONFIG_PIRTABLE, along with various other BIOS tables, is only selectable if CONFIG_QEMU is selected. QEMU/COREBOOT/CSM is a choice, so you can't enable CONFIG_PIRTABLE if you've selected COREBOOT or CSM. So kill the excessive #if check for

[SeaBIOS] [PATCH v2 12/19] Reject non-compliant PCI option ROMs with unaligned PCIR structure

2013-02-05 Thread David Woodhouse
From: David Woodhouse david.woodho...@intel.com cf. http://lists.gnu.org/archive/html/qemu-devel/2013-01/msg03650.html Signed-off-by: David Woodhouse david.woodho...@intel.com --- src/Kconfig | 7 +++ src/optionroms.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/Kconfig

[SeaBIOS] [PATCH v2 06/19] Export callrom() for CSM to use

2013-02-05 Thread David Woodhouse
From: David Woodhouse david.woodho...@intel.com Signed-off-by: David Woodhouse david.woodho...@intel.com --- src/optionroms.c | 2 +- src/optionroms.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/optionroms.c b/src/optionroms.c index c79a706..c9e7d7b 100644 ---

[SeaBIOS] [PATCH v2 01/19] post: Avoid calling maininit() from init reloc_init().

2013-02-05 Thread David Woodhouse
From: Kevin O'Connor ke...@koconnor.net Call maininit() and startBoot() from handle_post(). This reduces the chaining of calls during the relocation phase, and allows maininit() to return (which may be useful when using SeaBIOS as a CSM). This change relies on reloc_init() modifying the

[SeaBIOS] [PATCH v2 00/19] SeaBIOS as Compatibility Support Module for UEFI/OVMF

2013-02-05 Thread David Woodhouse
Changes from v1:  - Make CONFIG_CSM a top-level build target in parallel with COREBOOT/QEMU.  - More Kconfig cleanup.  - Add generic find_pmtimer() function to find the pmtimer from ACPI tables.  - Make Xen and coreboot builds both use find_pmtimer().  - Merge E820 table one entry at a time

[SeaBIOS] [PATCH v2 04/19] post: Export functions which will be used individually by CSM

2013-02-05 Thread David Woodhouse
From: David Woodhouse david.woodho...@intel.com Signed-off-by: David Woodhouse david.woodho...@intel.com --- src/post.c | 10 +- src/post.h | 10 ++ 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 src/post.h diff --git a/src/post.c b/src/post.c index

Re: [SeaBIOS] [PATCH v2 00/19] SeaBIOS as Compatibility Support Module for UEFI/OVMF

2013-02-05 Thread Kevin O'Connor
patches. I also rebased the above changes (with just the key csm parts) and pushed the series to a test location at: https://github.com/KevinOConnor/seabios/tree/csm-test-20130205 (This also has some changes to patch 14.) -Kevin commit 551cac53c4dd3282b3407c8440c9446e27220f37 Author: Kevin O'Connor