Hi,
This adds runtime hardware detection to vgabios. Survived light (vga text mode) testing. The isa bits are completely untested as qemu -M isapc is foobar atm.
Comments on the approach?
cheers, Gerd
Gerd Hoffmann (4): vga: move code to vgahw.c vga: add pci hardware detection vga: add isa hardware detection vga: adapt kconfig
Makefile | 2 +- vgasrc/Kconfig | 61 ++++++++++++--------------- vgasrc/bochsvga.c | 7 +++ vgasrc/bochsvga.h | 1 + vgasrc/clext.c | 6 +++ vgasrc/clext.h | 1 + vgasrc/vgahw.c | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++++ vgasrc/vgahw.h | 52 +++++++++-------------- 8 files changed, 184 insertions(+), 66 deletions(-) create mode 100644 vgasrc/vgahw.c