aboutsummaryrefslogtreecommitdiffstats
path: root/src/vgahooks.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename VAR16_32 to VAR16VISIBLE.Kevin O'Connor2009-09-091-2/+2
| | | | | Sometimes VAR16_32 is used to export a definition to assembler, so clarify its naming.
* Expand int155f "vgahook" detection.Kevin O'Connor2009-07-191-36/+97
| | | | | | Verify VGA card vendor is via before supporting via 155f calls. Add support for future code depending on coreboot board id. Add code for via VX855 memory size and speed detection.
* Change license from GPLv3 to LGPLv3.Kevin O'Connor2009-01-151-1/+1
| | | | | | | | Change license of contributions from Kevin O'Connor from GPLv3 to LGPLv3 (or later). Since the work as a whole is based on Kevin's contributions and the "bochs bios" which has a license of LGPL (v2 or later), this effectively makes the work as a whole available under LGPLv3 (or later).
* Add more linker protections around variables accessed from 16bit mode.Kevin O'Connor2008-12-291-1/+1
| | | | | | | Rename VAR16 to VAR16_32 -- that macro supports accesses from both 16bit and 32bit mode. Introduce a new macro VAR16 that must be present on all global variables accessed from 16bit mode.
* Enhance via vga hooks (based on patch from Rudolf Marek)Kevin O'Connor2008-12-261-2/+69
| | | | | | The VIA Unichrome and OpenChrome drivers need the memory size of framebuffer and also the memory speed. Attept to autodetect those values in int 0x15/5f18 handler.
* Add stubs for VIA vga bios callbacks to system bios.Kevin O'Connor2008-08-171-0/+65
The VIA vga bios likes wants to call int 15/5f of main bios. So, add stubs to make it happy.