[Top][All Lists]
[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 12:34:14 +0200 |
On 12/22/08, Andre Przywara <address@hidden> wrote:
> Blue Swirl wrote:
>
> >
> > >
> > > 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.
> >
> Nice idea, but this would require to have the QEMU sources directly
> available when building the BIOS ROM. This is not a real problem, but would
> require to pull in the QEMU source path from the BOCHS autotools Makefile
> (with what default? Revert to the current code if no QEMU source path is
> given?). Currently you can build the BIOS independently with just the QEMU
> patches applied. If you (or Anthony) think this OK, I'd prepare a patch for
> this.
I'd just copy fw_cfg.h to BOCHS directory so that rombios32.c can
include it and remove the current #defines. That way Qemu sources are
not needed.