qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] add missing firmware configuration channel numb


From: Blue Swirl
Subject: Re: [Qemu-devel] [PATCH] add missing firmware configuration channel numbers to BIOS
Date: Mon, 22 Dec 2008 08:29:22 +0200

On 12/22/08, Andre Przywara <address@hidden> wrote:
> Hi,
>
>  although we currently don't use firmware config channel
>  numbers higher than '0x02' in the PC-BIOS, add the channel
>  names to the BIOS source to mark already used entries.
>  This will make picking new number easier in the future.

Isn't it possible to use fw_cfg.h directly? To get just the constants,
you can use NO_QEMU_PROTOS.

This is how it is used in OpenBIOS/Sparc64 as an example:

http://tracker.coreboot.org/trac/openbios/browser/openbios-devel/arch/sparc64/entry.S#L14

http://tracker.coreboot.org/trac/openbios/browser/openbios-devel/arch/sparc64/openbios.c#L29




reply via email to

[Prev in Thread] Current Thread [Next in Thread]