aboutsummaryrefslogtreecommitdiffstats
path: root/src/std/vbe.h
Commit message (Collapse)AuthorAgeFilesLines
* stdvgaio: Only read/write one color palette entry at a timeKevin O'Connor2024-04-131-0/+7
| | | | | | | | | Introduce stdvga_dac_read_many() and stdvga_dac_write_many() for writing multiple dac palette entries. Convert the stdvga_dac_read() and stdvga_dac_write() low-level IO access functions in stdvgaio.c to access just one color palette entry. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vbe: Add VBE 2.0+ OemData field to struct vbe_infoDaniel Verkamp2024-03-101-0/+2
| | | | | | | | | | | | | | | | | Per the VBE 2.0 specification, the VBE controller information is 512 bytes long when the "VBE2" signature is provided, instead of the original 256 bytes. src/bootsplash.c uses the original pre-VBE-2.0 256-byte structure while also filling in the "VBE2" signature, so a video BIOS that makes use of the VBE2 OemData area could write past the end of the allocated region. The original bootsplash code did not have this bug; it was introduced when the bootsplash VBE structures were merged with the VGA ROM struct definitions. Fixes: 69e941c159ed ("Merge bootsplash and VGA ROM vbe structure definitions") Signed-off-by: Daniel Verkamp <daniel@drv.nu>
* Move vbe.h to std/vbe.h.Kevin O'Connor2013-09-181-0/+156
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>