aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/stdvgamodes.c
Commit message (Collapse)AuthorAgeFilesLines
* vgautil: Add new header file with misc function and variable definitionsKevin O'Connor2016-08-051-1/+2
| | | | | | | | Move the generic function and variable definitions from vgabios.h to a new file vgautil.h. This reduces the size and complexity of vgabios.h. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgainit: Move video param setup to stdvga_build_video_param()Kevin O'Connor2016-08-051-0/+10
| | | | | | | Move the full video_param_table[] setup (including the updating of the BDA) to stdvga_build_video_param(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgabios: Fill in available legacy modes in video_func_static at runtimeKevin O'Connor2014-10-271-0/+9
| | | | | | | Instead of hard coding the list of modes, fill them in from the list of supported modes. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgabios: Move standard table definitions to std/vga.hKevin O'Connor2014-10-271-2/+2
| | | | | | | | Move the standard video bios definitions into a new header file. Also, define a struct with the layout for the static functionality table. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgabios: Make sure stdvga_list_modes() doesn't overrun the buffer.Kevin O'Connor2014-02-111-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgabios: Load the DAC palette in "packed" modes on Cirrus and BochsVGA.Kevin O'Connor2013-12-041-0/+7
| | | | | | | This is a port of a patch applied to the "lgpl vgabios" tree (that was released in its v0.7a release). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Move function definitions for output.c from util.h to new file output.h.Kevin O'Connor2013-09-181-2/+2
| | | | | | Also, sort the order of include files in the c files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Rename util.c to string.c and introduce string.h.Kevin O'Connor2013-09-181-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Report stdvga modes in VBE via int10 (AX = 4F00h)Christian Gmeiner2012-09-101-0/+10
| | | | | | | | | | As all supported graphic adapters are supporting VGA we should list them in int10 (AX = 4F00h). Also clext.c and bochsvga.c are haveing a function named like is_XXX_mode() which checks if its a default VGA mode or a VESA mode. If its a normal VGA mode stdvga_set_mode() gets called. Signed-off-by: Christian Gmeiner <christian.gmeiner@gmail.com>
* vgabios: Move stdvga_set_mode() to stdvgamodes.c.Kevin O'Connor2012-02-011-2/+118
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgabios: Move BDA setting from driver code to common code.Kevin O'Connor2012-02-011-0/+7
| | | | | | | | | | Always setup the BDA on a mode switch. Call that BDA setup code unconditionally. Also, always set vbe_mode and use that for finding the current mode and for reporting the mode to vbe callers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgabios: Don't have geode code peak into stdvga mode struct.Kevin O'Connor2012-01-161-0/+11
| | | | | | | Create a wrapper (stdvga_override_crtc) so the Geode code doesn't need to access the stdvga mode tables directly. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* vgabios: Rename vgatables.c to stdvgamodes.c.Kevin O'Connor2012-01-161-0/+362
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>