[SeaBIOS] Easy to add time stamps?

2013-09-28 Thread Paul Menzel
Dear SeaBIOS folks, both coreboot and GRUB 2 (from Bazaar) currently allow to record time stamps, for example for benchmarking. SeaBIOS seems to have a clock implementation in `src/clock.c` already, which is also used for threading, I guess. Could that be used for time stamps too or is there

Re: [SeaBIOS] [PATCH 0/4] Move more hardware definitions to hw/ sub-directory

2013-09-28 Thread Kevin O'Connor
On Wed, Sep 18, 2013 at 09:57:51PM -0400, Kevin O'Connor wrote: This series moves some additional hardware driver code from the main src/ directory to files in the src/hw/ directory. This is a minor cleanup to gather more hardware driver code together. This series is also at:

Re: [SeaBIOS] [PATCH v5 2/4] malloc: support looking up a given pattern in FSEG

2013-09-28 Thread Michael S. Tsirkin
On Thu, Sep 26, 2013 at 08:33:53PM -0400, Kevin O'Connor wrote: On Wed, Sep 25, 2013 at 12:54:42PM +0300, Michael S. Tsirkin wrote: Will be used to find RSDP there. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- src/malloc.h | 1 + src/malloc.c | 19 ++- 2

Re: [SeaBIOS] [PATCH 0/3] add option to generate small bios

2013-09-28 Thread Michael S. Tsirkin
On Wed, Sep 25, 2013 at 08:08:56PM -0400, Kevin O'Connor wrote: On Wed, Sep 25, 2013 at 12:36:13PM +0300, Michael S. Tsirkin wrote: This adds an option to generate a small bios, so that it's easy for people who want to generate binary compatible with QEMU 1.6 and earlier (which used a

[SeaBIOS] [PATCH v6 2/3] romfile_loader: utility to patch in-memory ROM files

2013-09-28 Thread Michael S. Tsirkin
Add ability for a ROM file to point to it's image in memory. When file is in memory, add utility that can patch it, storing pointers to one file within another file. This is not a lot of code: together with the follow-up patch to load ACPI tables from ROM, it's about 1K extra. Signed-off-by:

[SeaBIOS] [PATCH v6 1/3] biostables: support looking up RSDP

2013-09-28 Thread Michael S. Tsirkin
Will be used when it's loaded from QEMU. Signed-off-by: Michael S. Tsirkin m...@redhat.com --- src/util.h | 1 + src/fw/biostables.c | 40 +--- 2 files changed, 34 insertions(+), 7 deletions(-) diff --git a/src/util.h b/src/util.h index

[SeaBIOS] [PATCH v6 0/3] seabios: load acpi tables from qemu

2013-09-28 Thread Michael S. Tsirkin
This is the seabios code that adds support for loading acpi tables from QEMU. Changes from v5: - address Kevin's comments: move code to find rsdp to biostables.c scan for RSDP at 0x10 intervals Changes from v4: - address Kevin's comments: move

[SeaBIOS] [PATCH v6 3/3] acpi: load and link tables through romfile loader

2013-09-28 Thread Michael S. Tsirkin
Load files through romfile loader and use for acpi tables. We need the RSDP pointer to hang the rest of the tables off it, to detect that we simply scan all memory in FSEG. Add an option to disable this feature (useful for old QEMU versions). This saves about 1Kbytes. enabled: Total size: 134932