The rework of EDID support in bochs vgabios
Now populate EDID block in init You can configure it by CONFIG_VGA_EDID staff. Developer can easily add modes/dtd in bochs_edid_modes[] and bochs_edid_dtds[], and validation code select a best resolution for users.
Hiroshi Miura (4): vgasrc: Add skeleton for VBE function 15h (VBE/DDC Standard) add VGA_EDID staff bochsvga: Implement vbe 15h function bochsvga: validate EDID resolution in init
Makefile | 3 +- src/vbe.h | 5 ++ vgasrc/Kconfig | 8 +++ vgasrc/bochsedid.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++++ vgasrc/bochsedid.h | 143 ++++++++++++++++++++++++++++++++++++++ vgasrc/bochsvga.c | 9 ++- vgasrc/stdvga.c | 11 +++ vgasrc/stdvga.h | 2 + vgasrc/vbe.c | 39 +++++++++++ vgasrc/vgahw.h | 13 ++++ 10 files changed, 424 insertions(+), 2 deletions(-) create mode 100644 vgasrc/bochsedid.c create mode 100644 vgasrc/bochsedid.h