[SeaBIOS] [PATCH 3/3] acpi: Use cpu_to_leXX() consistently.

2013-03-30 Thread Kevin O'Connor
Audit the ACPI code and ensure that all multi-byte fields do proper byte swabbing. Signed-off-by: Kevin O'Connor --- src/acpi.c | 47 +++ src/acpi.h | 4 ++-- 2 files changed, 25 insertions(+), 26 deletions(-) diff --git a/src/acpi.c b/src/acpi.c ind

[SeaBIOS] [PATCH 2/3] acpi: Remove dead code with descriptions of bit flags.

2013-03-30 Thread Kevin O'Connor
Remove dead code from acpi table definitions - the ACPI specification is the best place to get descriptions of the fields and tables anyway. Signed-off-by: Kevin O'Connor --- src/acpi.h | 26 +- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/src/acpi.h b/sr

[SeaBIOS] [PATCH 1/3] acpi: Move ACPI table definitions from acpi.c to acpi.h.

2013-03-30 Thread Kevin O'Connor
Signed-off-by: Kevin O'Connor --- src/acpi.c | 188 + src/acpi.h | 172 +++ 2 files changed, 175 insertions(+), 185 deletions(-) diff --git a/src/acpi.c b/src/acpi.c index 55c7259..f8f

[SeaBIOS] [PATCH] Use container_of on romfile entries.

2013-03-30 Thread Kevin O'Connor
Create cbfs and fw_cfg specific romfile_s wrappers instead of using private variables directly in romfile_s. Signed-off-by: Kevin O'Connor --- src/coreboot.c | 67 ++ src/paravirt.c | 29 +++-- src/util.h | 5 -

Re: [SeaBIOS] [PATCH v16] Add pvpanic device driver

2013-03-30 Thread Paolo Bonzini
Il 30/03/2013 14:20, Kevin O'Connor ha scritto: > On Fri, Mar 29, 2013 at 02:49:12PM +0100, Paolo Bonzini wrote: >> Il 29/03/2013 14:33, Kevin O'Connor ha scritto: >>> On Fri, Mar 29, 2013 at 04:18:44PM +0800, Hu Tao wrote: pvpanic device is used to notify host(qemu) when guest panic happens.

Re: [SeaBIOS] [PATCH v16] Add pvpanic device driver

2013-03-30 Thread Kevin O'Connor
On Fri, Mar 29, 2013 at 02:49:12PM +0100, Paolo Bonzini wrote: > Il 29/03/2013 14:33, Kevin O'Connor ha scritto: > > On Fri, Mar 29, 2013 at 04:18:44PM +0800, Hu Tao wrote: > >> pvpanic device is used to notify host(qemu) when guest panic happens. > > > > Thanks. However, we're planning a move of