aboutsummaryrefslogtreecommitdiffstats
path: root/com32/mboot/initvesa.c
Commit message (Collapse)AuthorAgeFilesLines
* com32sys_t inreg shall be zeroified prior intcallErwan Velu2014-01-221-0/+2
| | | | | | | | | | | As per commit f775e740a3a817a4ff5ba26bea99dbfd735456b3, inreg parameters of intcall() shall be zeroified. Having unclean inreg could trigger bad behaviors on some hosts. This patch is about adding memset() calls prior any intcall() : - some intcall didn't had any memset at all - some successive intcall() calls didn't memset inreg in between calls
* Delete all references to __com32.cs_bounceMatt Fleming2012-06-081-8/+16
| | | | | | | | | The COM32 cs_bounce buffer is not usable with ELF modules, as we're trying to move to an environment where memory is dynamically allocated. All users of __com32.cs_bounce have been converted to using lmalloc() to allocate low memory. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
* graphics: report video mode change from protected-mode codePaulo Alcantara2012-05-121-11/+8
| | | | | | | | | | | Syslinux used to call __intcall() for calling routines of the old COMBOOT API to report video mode change (INT 22h, AX=0x0017) that seemed pointless, since INT 22h, AX=0x0017 does call the protected-mode function pm_using_vga() already when calling INT 22h, AX=0x0017. So for reporting video mode changes (VGA in this case) we must call graphics_using_vga() instead for now. Signed-off-by: Paulo Alcantara <pcacjr@zytor.com>
* mboot.c32: fix the video mode selection algorithmH. Peter Anvin2009-11-131-4/+11
| | | | | | Make the video mode selection algorithm do what was intended... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mboot.c32: add VESA mode setting supportsyslinux-3.84-pre2H. Peter Anvin2009-11-131-0/+219
Add VESA mode setting support per the Multiboot specification. Signed-off-by: H. Peter Anvin <hpa@zytor.com>