aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc
AgeCommit message (Expand)AuthorFilesLines
2013-09-18Move vbe.h to std/vbe.h.Kevin O'Connor3-3/+3
2013-09-18Move optionroms.h to std/optionrom.h and util.h.Kevin O'Connor1-1/+1
2013-09-18Move function definitions for output.c from util.h to new file output.h.Kevin O'Connor7-31/+32
2013-09-18Rename util.c to string.c and introduce string.h.Kevin O'Connor7-5/+10
2013-09-18vgabios: Limit the range of the VBE number of "pages" parameter.Kevin O'Connor1-0/+4
2013-09-18vgabios: Rename stdvga_bpp_factor to stdvga_vram_ratio.Kevin O'Connor4-19/+18
2013-09-16bochsvga: fallback to stdvga if dispi interface isn't presentGerd Hoffmann1-19/+48
2013-09-02Move code centered around specific hardware devices to src/hw/Kevin O'Connor4-8/+8
2013-03-09vgabios: Fix cirrus memory clear on mode switch.Kevin O'Connor3-6/+8
2013-03-09vgabios: Fix stdvga_perform_gray_scale_summing().Kevin O'Connor1-0/+1
2013-02-18Convert VAR16VISIBLE, VAR16EXPORT, and VAR32VISIBLE to VARFSEG.Kevin O'Connor1-1/+1
2013-02-16Enable VGA output when setting Cirrus-specific modeLaszlo Ersek1-0/+1
2013-02-16Enable VGA output when settings bochs-specific modeDavid Woodhouse1-0/+1
2013-02-15geodevga: fix wrong define nameChristian Gmeiner2-2/+2
2013-02-15geodevga: add debug to msr functionsChristian Gmeiner1-0/+7
2013-02-15geodevga: move output setup to own functionChristian Gmeiner1-29/+35
2013-02-15geodevga: move framebuffer setupChristian Gmeiner1-12/+17
2013-02-15geodevga: fix errors in geode_fp_* functionsChristian Gmeiner1-2/+2
2013-02-13vgabios: Bochs/QEMU vgabios support should depend on CONFIG_QEMU.Kevin O'Connor1-3/+3
2013-02-05Normalize POST initialization function name suffixes.Kevin O'Connor10-24/+24
2013-01-12vgabios: implement AX=1120H..1124H functionsPaolo Bonzini1-0/+60
2012-10-07geodevga: Setup flat panel if neededChristian Gmeiner1-0/+19
2012-10-07geodevga: Add defines for VP_MSR_PADSELChristian Gmeiner1-0/+4
2012-10-07geodevga: Setup output based on .configChristian Gmeiner1-2/+27
2012-10-07geodevga: Add configuration option for output modesChristian Gmeiner1-0/+21
2012-10-07geodevga: Add VP_MSR_CONFIG definesChristian Gmeiner1-0/+7
2012-10-07geodevga: Add some basic flat panel definesChristian Gmeiner1-0/+9
2012-10-07geodevga: Add functions to work with fp registerChristian Gmeiner1-0/+17
2012-10-07geodevga: Rename defines to better match a well defined naming schemaChristian Gmeiner2-13/+13
2012-09-16geodevga: Access global variables using GET_GLOBAL/SET_VGA macros.Kevin O'Connor1-37/+39
2012-09-10Report stdvga modes in VBE via int10 (AX = 4F00h)Christian Gmeiner1-0/+10
2012-09-08vgabios: Add support for text and cga modes to vbe_104f01().Kevin O'Connor1-44/+64
2012-09-04vgabios: Check for relocatable windows before advertising support for it.Kevin O'Connor2-3/+5
2012-09-03vgabios: Ignore mode flags in vbe get_mode_info call.Kevin O'Connor1-1/+1
2012-09-03Geode vga: Use standard format read/write_mask register functions.Kevin O'Connor1-54/+62
2012-09-03Add helper functions to access DC and VP registerChristian Gmeiner1-13/+39
2012-09-03Change return values for vp_setup() and dc_setup()Christian Gmeiner1-9/+5
2012-09-03Add global struct geodeChristian Gmeiner1-25/+41
2012-09-03Update VBE variablesChristian Gmeiner1-0/+4
2012-09-03Add framebuffer size detectionChristian Gmeiner2-0/+28
2012-09-03Remove Extened CRTC Register functionsChristian Gmeiner2-36/+0
2012-09-03Remove all dc_ functions as they are not needed anymoreChristian Gmeiner1-65/+0
2012-09-03Access DC registers via geode_mem[Read|Write]Christian Gmeiner1-16/+12
2012-09-02Use cpu_to_be32() (and related) instead of htonl (and related).Kevin O'Connor1-1/+2
2012-06-10Minor - remove CLEARBITS_BDA and SETBITS_BDA macros.Kevin O'Connor1-4/+1
2012-04-16vgabios: Improve Kconfig descriptions for the vga card types.Kevin O'Connor1-8/+9
2012-04-14Misc compile fixes for gcc v3.4.Kevin O'Connor1-0/+6
2012-03-06vgabios: Fetch _rom_header_size from the global segment when computing the RO...Julian Pidancet1-1/+2
2012-03-06vgabios: int1009 handler bug limits count to 256 characters.Kevin O'Connor1-0/+5
2012-03-06vgabios: Fixup clext far return instruction.Kevin O'Connor1-1/+1
2012-02-13vgabios: Some tweaks to optimize stack space.Kevin O'Connor3-58/+44
2012-02-12vgabios: Minor vgabios fixes.Kevin O'Connor3-19/+11
2012-02-12vgabios: Claim VBE 3 support; minor VBE cleanups.Kevin O'Connor1-10/+8
2012-02-11vgabios: Add version string to debug output.Kevin O'Connor1-0/+2
2012-02-11Direct compile 16bit C code instead of including via .S files.Kevin O'Connor1-8/+2
2012-02-07vgabios: Don't allow building of emulator vgaroms on coreboot.Kevin O'Connor1-3/+9
2012-02-06vga: fix bochs lfb size displayGerd Hoffmann1-1/+1
2012-02-04vgabios: Implement VBE save/restore state function (func 04).Kevin O'Connor8-8/+158
2012-02-04vgabios: Move save/restore state code from vgabios.c to stdvga.c.Kevin O'Connor4-116/+126
2012-02-04vgabios: Add support for VBE get/set dac palette format (func 08).Kevin O'Connor6-2/+72
2012-02-02vgabios: Handle VGA option rom being re-run.Kevin O'Connor4-9/+22
2012-02-02vgabios: Fix screen attrs on cga scroll.Kevin O'Connor1-0/+4
2012-02-02vgabios: Simplify cga/packed character screen writing.Kevin O'Connor1-37/+17
2012-02-01vgabios: Move bocshvga mode checking from runtime to init.Kevin O'Connor2-96/+87
2012-02-01vgabios: Minor - organize cirrus code so like functions are near each other.Kevin O'Connor2-61/+66
2012-02-01vgabios: Simplify cirrus find mode code.Kevin O'Connor2-96/+42
2012-02-01vgabios: Rework bochsvga mode switching.Kevin O'Connor1-36/+6
2012-02-01vgabios: Fix linelength calculations in bochsvga and vbe.Kevin O'Connor2-10/+6
2012-02-01vgabios: Compare PCI ids against pci rom struct instead of config settings.Kevin O'Connor1-2/+4
2012-02-01vgabios: handle vmware vga in bochsvga.Kevin O'Connor1-4/+13
2012-02-01vgabios: Update copyright statements in bochsvga.c and vbe.c.Kevin O'Connor2-1/+10
2012-02-01vgabios: Fix missing "extern" declaration on vbe variables.Kevin O'Connor1-4/+4
2012-02-01vgabios: Move stdvga_set_mode() to stdvgamodes.c.Kevin O'Connor5-123/+124
2012-02-01vgabios: Minor - pass display address to stdvga_set_cursor_pos().Kevin O'Connor3-7/+6
2012-02-01vgabios: Add VBE power management (10h) stub function.Kevin O'Connor2-53/+32
2012-02-01vgabios: Add support for VBE get/set display start function.Kevin O'Connor9-79/+121
2012-02-01vgabios: Add support for vbe get/set line length function.Kevin O'Connor10-33/+133
2012-02-01vgabios: Add support for vesa get/set window function.Kevin O'Connor9-26/+101
2012-02-01vgabios: Move BDA setting from driver code to common code.Kevin O'Connor11-66/+83
2012-01-21vgabios: Extract out current mode finding into new function.Kevin O'Connor3-7/+18
2012-01-21vgabios: Set cwidth/cheight/sstart in vgamode_s for cirrus/bochs.Kevin O'Connor3-80/+80
2012-01-21vgabios: Use stored total memory in cirrus code instead of recalculating.Kevin O'Connor1-3/+3
2012-01-19vgabios: Check that the PCI BDF passed in is valid before using.Kevin O'Connor5-10/+20
2012-01-19vgabios: Simplify planar4 vgafb code.Kevin O'Connor3-49/+59
2012-01-16vgabios: Use regular pci_config_readl func in geode code.Kevin O'Connor2-13/+6
2012-01-16vgabios: Don't have geode code peak into stdvga mode struct.Kevin O'Connor3-8/+14
2012-01-16vgabios: Make VBE code depend on a config setting.Kevin O'Connor5-5/+8
2012-01-16vgabios: Move vgabios Kconfig definitions to vgasrc/Kconfig.Kevin O'Connor1-0/+80
2012-01-16vgabios: Rename vgatables.c to stdvgamodes.c.Kevin O'Connor2-2/+2
2012-01-16vgabios: Move video_param_table definition to vgabios.c.Kevin O'Connor4-99/+91
2012-01-16vgabios: Move static_functionality[] from vgatables.c to vgabios.c.Kevin O'Connor3-22/+16
2012-01-16vgabios: Use standard VGA IO wrappers in geodevga.c.Kevin O'Connor1-12/+7
2012-01-16vgabios: Use standard VGA IO wrappers in clext.c.Kevin O'Connor1-78/+39
2012-01-16vgabios: Use standard VGA IO wrapper functions in bochsvga.Kevin O'Connor2-35/+20
2012-01-16vgabios: Use standard VGA IO wrapper functions in stdvga.c.Kevin O'Connor1-226/+90
2012-01-16vgabios: Add wrapper functions for accessing standard VGA registers.Kevin O'Connor5-103/+228
2012-01-14vgabios: Add cirrus linear framebuffer detection; enable VBE in cirrus.Kevin O'Connor2-23/+13
2012-01-14vgabios: Hook up Cirrus extended bios functions.Kevin O'Connor3-27/+35
2012-01-14vgabios: Make cirrus line lengths standard.Kevin O'Connor2-35/+8
2012-01-14vgabios: Unify cirrus and vbe vesa functions.Kevin O'Connor3-254/+96
2012-01-14vgabios: Make VBE code independent of bochsvga.Kevin O'Connor4-144/+89
2012-01-14vgabios: Unify code to generate the vbe mode list.Kevin O'Connor8-20/+41
2012-01-14vgabios: Use vgamode_s in cirrus and bochsvga mode tables.Kevin O'Connor5-120/+120
2012-01-14vgabios: Extract out common parts of struct vgamode_s.Kevin O'Connor8-59/+75
2012-01-14vgabios: Unify page size calculations; remove page size from vgamode_s.Kevin O'Connor5-64/+53
2012-01-14vgabios: Add memmodel field to bochsvga mode list.Kevin O'Connor1-61/+62
2012-01-14vgabios: Make struct vgamode_s more similar to bochs/cirrus mode tables.Kevin O'Connor4-37/+55
2012-01-14vgabios: Remove dummy 0xfe mode from list of cirrus modes.Kevin O'Connor1-4/+4
2012-01-14vgabios: Add char width to stdvga mode table.Kevin O'Connor1-17/+17
2012-01-14vgabios: Use standard naming for cirrus memmodel.Kevin O'Connor1-39/+39
2012-01-14vgabios: Use vesa style memory model flags in stdvga code.Kevin O'Connor6-69/+59
2012-01-14vgabios: Actually remove vgasrc/geodelx.[ch] - fixup of patch apply.Kevin O'Connor2-0/+0
2012-01-14vgabios: Add the geode GX2 functionality.Nils3-5/+13
2012-01-14vgabios: Some little geode cleanup.Nils1-8/+6
2012-01-14vgabios: Make the naming in the LX code generic to Geode.Nils6-458/+458
2012-01-01vgabios: Add scrolling for linear (packed pixel) graphics mode.Kevin O'Connor1-2/+32
2012-01-01vgabios: Minor - make FB scroll functions look similar.Kevin O'Connor1-26/+31
2012-01-01vgabios: Framebuffer fixes for CGA and planar graphics modes.Kevin O'Connor1-7/+7
2011-12-31vgabios: Unify X_init() functions.Kevin O'Connor10-28/+46
2011-12-31vgabios: Unify X_set_mode() functions.Kevin O'Connor9-61/+73
2011-12-31vgabios: Create clext.h and use "clext_" as prefix for exported funcs.Kevin O'Connor4-9/+16
2011-12-31vgabios: Refactor vga_set_mode and stdvga_set_mode.Kevin O'Connor7-101/+108
2011-12-31vgabios: Change vga_set_mode() to directly setup BDA.Kevin O'Connor1-23/+11
2011-12-31vgabios: Don't call int10 during mode switch.Kevin O'Connor1-14/+2
2011-12-31vgabios: Introduce stdvga_get_crtc() and use it consistently.Kevin O'Connor3-26/+20
2011-12-31vgabios: Fix typo in release_font_access() - inb instead of inw.Kevin O'Connor1-1/+1
2011-12-31vgabios: Move vgafb_load_font to stdvga.c.Kevin O'Connor5-35/+34
2011-12-31vgabios: Rename vgahw_* functions to stdvga_*.Kevin O'Connor5-126/+126
2011-12-31vgabios: Rename vgaio.c to stdvga.c.Kevin O'Connor9-142/+151
2011-12-31vgabios: Move vbe code from vgabios.c to new file vbe.c.Kevin O'Connor3-289/+304
2011-12-31vgabios: Rename vga.c to vgabios.c.Kevin O'Connor10-16/+16
2011-12-31vgabios: Use bochsvga_ prefix for bochs vga functions.Kevin O'Connor4-42/+44
2011-12-31vgabios: Rename vbe.c to bochsvga.c.Kevin O'Connor2-1/+1
2011-12-31vgabios: Continue port of clext.c.Kevin O'Connor1-24/+302
2011-12-30vgabios: Minor fixes to struct vbe_info definition.Kevin O'Connor1-2/+2
2011-12-27vgabios: Merge support for GeodeLX vga bios.Kevin O'Connor3-0/+459
2011-12-27vgabios: Place a signature at offset 0x1e of the rom.Kevin O'Connor1-0/+4
2011-12-27vgabios: Generate video_param_table at runtime.Kevin O'Connor3-255/+70
2011-12-27vgabios: Use vgamode_s instead of video_param_table in code.Kevin O'Connor5-39/+37
2011-12-27vgabios: Extend information in internal vgamode_s struct.Kevin O'Connor2-19/+157
2011-12-27vgabios: Minor - use segoff_s for static_functionality ptr.Kevin O'Connor1-4/+3
2011-12-27vgabios: Define video_save_pointer_table layout.Kevin O'Connor3-6/+16
2011-12-27vgabios: Fix compile error due to missing include in clext.c.Kevin O'Connor1-0/+1
2011-12-20Updates to vgabios cirrus code.Kevin O'Connor3-8/+300
2011-12-20Preliminary DISPI VBE driver implementationJulian Pidancet2-6/+259
2011-12-20Partially implement VBE interface, create VBE driver skeletonJulian Pidancet3-46/+403
2011-12-20Add configuration menu for the VGA ROMJulian Pidancet1-4/+0
2011-12-20Add a PCI header to the VGA ROM if neededJulian Pidancet2-1/+27
2011-12-20Rename CONFIG_VBE in CONFIG_VGA_BOCHS and CONFIG_CIRRUS in CONFIG_VGA_CIRRUSJulian Pidancet2-11/+11
2011-01-29Support non-local build directory - allow "make OUT=abc/" to work.Kevin O'Connor1-1/+1
2010-01-03vgabios: Fix compile error due to fixed prototypes.Kevin O'Connor1-1/+1
2010-01-03Be sure to add "void" to all function prototypes that take no args.Kevin O'Connor4-24/+24
2010-01-01Minor vga binary cleanups.Kevin O'Connor2-7/+9
2009-09-09Replace common segment/offset pairs with struct segoff_s.Kevin O'Connor2-19/+18
2009-06-10Do garbage collection of unused sections.Kevin O'Connor1-1/+1
2009-05-31VGA: Move direct in/out calls out of vgafb.c.Kevin O'Connor3-27/+38
2009-05-31VGA: Comment and name update.Kevin O'Connor3-77/+87
2009-05-31VGA: Arrange screen writing functions to minimize stack.Kevin O'Connor1-21/+50
2009-05-31VGA: Reduce stack usage.Kevin O'Connor2-7/+6
2009-05-31VGA: No need to scroll multiple times when writing a tab.Kevin O'Connor1-35/+21
2009-05-31VGA: Further simplify scrolling code.Kevin O'Connor2-169/+86
2009-05-31VGA: Simplify scrolling implementation.Kevin O'Connor2-54/+18
2009-05-31VGA: Fix bad commit to vgafb.c - missing '}'.Kevin O'Connor1-0/+1
2009-05-31VGA: Define clear_screen in terms of memmodel.Kevin O'Connor1-10/+12
2009-05-31VGA: Breakup biosfn_scroll.Kevin O'Connor3-165/+217
2009-05-26VGA: Move cursor setting out of biosfn_write_teletype.Kevin O'Connor1-24/+14
2009-05-26VGA: Remove recursion from biosfn_write_teletype().Kevin O'Connor1-28/+37
2009-05-26VGA: Simplify vgafb_write/read_char.Kevin O'Connor3-68/+87
2009-05-25VGA: Remove vmode_g->class - store info in vmode_g->memmodel.Kevin O'Connor4-37/+30
2009-05-25VGA: Use struct for car/attr/WITH_ATTR.Kevin O'Connor3-99/+66
2009-05-25VGA: Combine x/y/page into one parameter.Kevin O'Connor3-108/+90
2009-05-25VGA: Inline biosfn_set_video_mode() into its only caller.Kevin O'Connor1-133/+107
2009-05-25VGA: Replace biosfn_load_text_* with vgafb_load_font().Kevin O'Connor3-65/+30
2009-05-25VGA: Factor out hardware accesses from biosfn_set_video_mode.Kevin O'Connor4-96/+113
2009-05-25VGA: Minor - improve indentation of palette structs.Kevin O'Connor1-57/+113
2009-05-25VGA: Inline several functions in vga.c.Kevin O'Connor1-181/+109
2009-05-21VGA: Define structs for save/restore state calls.Kevin O'Connor3-289/+285
2009-05-18VGA: Move some ioport accesses from vga.c to vgaio.c.Kevin O'Connor3-47/+97
2009-05-17VGA: Remove references to 'struct bregs' from vgaio.c code.Kevin O'Connor4-149/+109
2009-05-17VGA: Extract code from vga.c into new files vgaio.c and vgafb.c.Kevin O'Connor4-975/+1010
2009-05-17VGA: Fix DAC loading during mode switch.Kevin O'Connor1-6/+4
2009-05-17VGA: Make use of regs->ebp - now that it is present in 'struct bregs'.Kevin O'Connor1-10/+6
2009-05-16Define unified entry points for irq handlers.Kevin O'Connor1-1/+4
2009-05-16VGA: Use GET_IVT macro instead of raw GET_FARVAR.Kevin O'Connor1-8/+4
2009-05-16VGA: Add calling stubs for vbe functions.Kevin O'Connor2-5/+11
2009-05-16VGA: Use segment definitions.Kevin O'Connor3-66/+64
2009-05-16VGA: Split biosfn_get_cursor_pos function.Kevin O'Connor1-25/+23
2009-05-16VGA: Minor - use "_far" postfix on far pointers.Kevin O'Connor1-19/+19
2009-05-16VGA: Rework vga_modes[] array to have pointers to other structs.Kevin O'Connor3-191/+170
2009-05-16VGA: Misc syntax cleanups.Kevin O'Connor1-362/+322
2009-05-16VGA: Minor - use "_g" suffix for global pointers.Kevin O'Connor1-9/+9
2009-05-14VGA: Add header guard to vgasrc/vgatables.hKevin O'Connor1-0/+4
2009-05-14VGA: Remove unused DEBUG ifdefs.Kevin O'Connor1-31/+3
2009-05-13VGA: memset16_far and memcpy16_far take byte count (not word count).Kevin O'Connor1-10/+11
2009-05-13VGA - turn DEBUG printfs into dprintf calls.Kevin O'Connor1-21/+9
2009-05-07Cleanup vga inb/outb port usages.Kevin O'Connor2-30/+32
2009-05-06Minor - update vgasrc/vga.c todo list.Kevin O'Connor1-3/+0
2009-05-06Add initial port of the "open source vga bios" project.Kevin O'Connor7-0/+4545