[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/4] rom loader: make vga+rom loading target spe
Re: [Qemu-devel] [PATCH 2/4] rom loader: make vga+rom loading target specific
Tue, 13 Oct 2009 23:03:44 +0100
SmartFirmware on Genesi Pegasos boards do.
I have one and when I boot I see the ATI Radeon 9200 BIOS message,
then openfirmware prompt.
Macs do require openfirmware forth rom (powerpc macs) or EFI rom
(intel macs, not know if compiled for x86 or efi interpreter)
I've head the AmigaONE openfirmware implementation does the same as
SmartFirmware (emulator), not tested any other architecture.
El 13/10/2009, a las 15:58, Blue Swirl escribió:
On Tue, Oct 13, 2009 at 2:06 PM, Gerd Hoffmann <address@hidden>
This patch adds a loader-target.c file for target-specific
rom loading functions. The rom_add_vga() and rom_add_option()
macros are transformed into functions and sticked in there. They
load the bios on TARGET_I386 and no nothing on other targets.
IIRC the VGA cards on non-x86 machines contain ROMs too, some (PPC?
Alpha?) machine had a simple x86 emulator just to run the ROM code.
Then you could enable the VGA ROM loading unconditionally. So maybe
the patch isn't necessary?
Otherwise you could add two files without macros, then the files can
be compiled just once.
[Qemu-devel] [PATCH 4/4] use rom loader for pc bios., Gerd Hoffmann, 2009/10/13
[Qemu-devel] [PATCH 1/4] rom loader: use qemu_strdup., Gerd Hoffmann, 2009/10/13
[Qemu-devel] [PATCH 3/4] vga roms: move loading from pc.c to vga drivers., Gerd Hoffmann, 2009/10/13