aboutsummaryrefslogtreecommitdiffstats
path: root/com32
Commit message (Collapse)AuthorAgeFilesLines
* chain.c: do a proper copy operation for the cmldr signatureH. Peter Anvin2009-12-281-9/+14
| | | | | | | Instead of writing into memory that we might not own, create a proper copy operation using syslinux_add_movelist(). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain.c32: add support for booting the Recovery Console of Windows NT/2K/XPKim Mik2009-12-281-0/+17
| | | | | | | | | | | | | | The following patch for chain.c32 adds support to boot the Recovery Console of Windows NT/2K/XP. Normally when you want to boot the recovery console, you need to patch "cmdcons\0" into the bootsectorof the partition (8 bytes starting at 0x3 (4th byte)). We can do this patching in memory: strcpy((char *) 0x7c03, "cmdcons"); To boot the recovery console with chain.c32: chain.c32 cmldr=/cmldr - Gert Hulselmans
* chain.c32: fixing implicit declaration of function ↵Kim Mik2009-12-281-0/+1
| | | | | | | | | | | | | | | | | | ‘syslinux_force_text_mode’ When building chain.c32: $ make chain.c32 gcc -Wp,-MT,chain.o,-MD,./..chain.o.d -std=gnu99 -m32 -fno-stack-protector -mregparm=3 -DREGPARM=3 -march=i386 -Os -W -Wall -march=i386 -fomit-frame-pointer -D__COM32__ -nostdinc -iwithprefix include -I../../com32/libutil/include -I../../com32/include -I../../com32/gplinclude -c -o chain.o chain.c chain.c: In function ‘do_boot’: chain.c:552: warning: implicit declaration of function ‘syslinux_force_text_mode’ ld -m elf_i386 -T ../../com32/lib/com32.ld -o chain.elf chain.o ../../com32/libutil/libutil_com.a ../../com32/gpllib/libcom32gpl.a ../../com32/lib/libcom32.a /usr/lib/gcc/i486-linux-gnu/4.4.1/libgcc.a objcopy -O binary chain.elf chain.c32 The following was missing: #include <syslinux/video.h> - Gert Hulselmans
* com32: syslinux_report_video_mode returns voidH. Peter Anvin2009-12-222-2/+2
| | | | | | | syslinux_report_video_mode() never gave a return value, to have it return void unless we need something else. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* vesa: formatting fixH. Peter Anvin2009-12-221-1/+1
| | | | | | Code formatting fix in screencpy.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* vesamenu: unbreak the default backgroundH. Peter Anvin2009-12-221-4/+11
| | | | | | Unbreak the default background image; it would clobber all of memory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* chain.c32: force text modeH. Peter Anvin2009-12-181-0/+3
| | | | | | When loading an unknown system, revert to text mode first. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* video: implement long-promised video functions; use themH. Peter Anvin2009-12-186-14/+153
| | | | | | | | Implement long-since-promised video functions defined in <syslinux/video.h>. Use these functions in initvesa.c instead of open-coding the same functionality. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* vesacon: don't display the cursor when doing a quiet bootH. Peter Anvin2009-12-0710-8/+35
| | | | | | | | | Don't display the cursor on the graphical screen while doing a quiet boot. When doing a quiet boot we will probably show the graphical screen for a fair bit of time; as a result, we really don't want a completely bogus cursor blob on the bottom of the screen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge branch 'softres'H. Peter Anvin2009-12-0721-554/+796
|\
| * vesamenu: add MENU RESOLUTION to be able to set nonstandard resH. Peter Anvin2009-12-075-11/+30
| | | | | | | | | | | | | | | | Add a MENU RESOLUTION command to make it possible to set a nonstandard resolution. If the nonstandard resolution is unavailable, we revert to the text mode screen. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * vesacon: make it possible to request nonstandard resolutionsH. Peter Anvin2009-12-072-1/+16
| | | | | | | | | | | | | | Make it possible to request nonstandard resolutions when enabling vesacon. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * vesacon: not all JPEG images are JFIFH. Peter Anvin2009-12-071-2/+1
| | | | | | | | | | | | | | There are a fair number of valid JPEG images which we can validly decode that aren't JFIF-complient, so don't require the JFIF header. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * jpeg: actually build yuv420pH. Peter Anvin2009-08-091-1/+1
| | | | | | | | | | | | Actually build the yuv420p converter again. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * tinyjpeg: fix yuv420p, correct some of the initalization codeH. Peter Anvin2009-08-097-59/+77
| | | | | | | | | | | | | | Fix the yuv420p in the presence of partial pixels (if we have an odd number of pixels in this mode, we include the chroma pixel.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * vesacon: infrastructure support for arbitrary resolutionsH. Peter Anvin2009-08-055-77/+104
| | | | | | | | | | | | | | Drop the hard-coding of 640x480 resolution in preparation for being able to handle other resolutions. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * tinyjpeg: modify to handle partial image blocksH. Peter Anvin2009-08-059-357/+374
| | | | | | | | | | | | | | A lot of common resolutions, e.g. 800x600, include partial blocks at the side of the image. Implement that properly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * tinyjpeg: set limit to 4096x4096 not 2048x2048H. Peter Anvin2009-08-051-2/+2
| | | | | | | | | | | | | | There are already screens on the market which are bigger than 2048 wide... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * tinyjpeg: update to revision 20070609H. Peter Anvin2009-08-054-63/+210
| | | | | | | | | | | | Update tinyjpeg to upstream version 20070609. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | hdt: Fixing make release targetErwan Velu2009-12-041-1/+1
| | | | | | | | | | | | Impact: fixing com32 naming Make release now generates the .c32 file accordingly to the scheme
* | hdt: New release 0.3.6Erwan Velu2009-12-041-1/+1
| | | | | | | | | | | | Impact: new release New release, thx to everyone for making that release possible
* | hdt: Fixing about menu & show hdtErwan Velu2009-12-043-5/+14
| | | | | | | | | | | | | | Impact: visual Let's add website, rename contact to mailing list and put all people together
* | hdt: Fixing memory corruption in kernel>showErwan Velu2009-12-041-6/+3
| | | | | | | | | | | | | | Impact: Fixing memory corruption Fixing memory corruption which occurs during kernel>show This patch makes the init cleaner.
* | hdt: Fixing memtest entryErwan Velu2009-12-042-2/+2
| | | | | | | | | | | | Impact: none Fixing memtest entry
* | hdt: Makefile isn't gzipping pci.idsErwan Velu2009-12-041-2/+2
| | | | | | | | | | | | Impact: avoid missed gzipping The iso wasn't gzipping pci.ids correctly
* | dmi: dmitest have to use voltage_mvErwan Velu2009-12-041-1/+1
| | | | | | | | | | | | Impact: fixing build error Processor is now using voltage_mv
* | hdt: summary mode only show memory sizeErwan Velu2009-12-041-4/+4
| | | | | | | | | | | | | | Impact: visual Summary mode only show the detected memory size. Showing used banks is too much verbose for a summary
* | hdt: Adding cpu voltageErwan Velu2009-12-042-8/+25
| | | | | | | | | | | | Impact: Adding cpu voltage Adding cpu voltage via DMI
* | dmi: Switching processor voltage from V to mVErwan Velu2009-12-042-7/+7
| | | | | | | | | | | | Impact: Changing units Processor voltage is now millivolts
* | dmi: more chassis typesErwan Velu2009-12-041-2/+6
| | | | | | | | | | | | Impact: more chassis types More DMI chassis types
* | dmi: returning out of spec instead of NULLErwan Velu2009-12-041-1/+1
| | | | | | | | | | | | Impact: avoid null string It's better returning out of spec instead of null
* | dmi: More processorsErwan Velu2009-12-041-2/+49
| | | | | | | | | | | | Impact: More processors More processors in the DMI table
* | hdt: Fixing history cyclingErwan Velu2009-12-042-9/+21
| | | | | | | | | | | | Impact: prior to that commit, cycling the history failed When we enter more than 32 commands, let's cycle the history
* | hdt: Using del_multi_spaces for the cpu modelErwan Velu2009-12-043-3/+8
| | | | | | | | | | | | | | Impact: avoid multi spaces in the cpu model Some cpu vendors like to put multi spaces in the model name. We don't need it for a cleaner & shorter display
* | dmi: More cpu upgrade optionsErwan Velu2009-12-041-2/+2
| | | | | | | | | | | | Impact: many cpu upgrade were set out of spec Fixing stupid typo which prevent cpu upgrade options to be shown
* | hdt: removing vendor_id from cpu infoErwan Velu2009-12-042-7/+0
| | | | | | | | | | | | | | Impact: visual No need to display the vendor_id as we already show the vendor name. That confuse users, let's remove it
* | pci: replace '-' by '_' in modules namesErwan Velu2009-12-041-1/+14
| | | | | | | | | | | | | | | | | | Impact: avoid kernel modules duplication In modules.pcimap, kernel modules name are featuring '_' or '-' whereas modules.alias is only using '_'. To avoid kernel modules duplication, let's rename all '-' by '_' to match what modules.alias provides This avoid stupid duplications like "a-b" & "a_b" whereas they are in fact the same kernel module
* | hdt: Adding memtest entry in the menuErwan Velu2009-12-041-0/+9
| | | | | | | | | | | | Imapct: Allow people starting memtest from the menu Users can now starts memtest for our menu
* | hdt: EDD uses hex numbers, not decimalErwan Velu2009-12-042-2/+2
| | | | | | | | | | | | | | Impact: Fixing commit 4d2536e76d621bc7c5faa076a905051854f9c512 Commit 4d2536e76d621bc7c5faa076a905051854f9c512 was buggy as considering EDD as decimal and not hex.
* | hdt: Fixing cpu flags splittingErwan Velu2009-12-041-1/+1
| | | | | | | | | | | | Impact: improve rendering Under the cli, the cpu flags were sometimes leaking to another line
* | Adding ifcpu.c32, removing ifcpuhvmErwan Velu2009-12-043-91/+166
| | | | | | | | | | | | | | Impact: ifcpu holds more cases ifcpu allow users defining a set of required cpu features for booting an entry
* | hdt: Adding gPXE detectionErwan Velu2009-12-042-0/+16
| | | | | | | | | | | | Impact: gPXE is now detected HDT is now able to report is gPXE is loaded on this given system
* | com32: Avoid gpxe detection code duplicationErwan Velu2009-12-045-104/+65
| | | | | | | | | | | | Impact: avoid code duplication This will make code more generic, hdt will need it ;)
* | hdt: Do not display hostbus & interface for EDD<3Erwan Velu2009-12-042-13/+21
| | | | | | | | | | | | | | | | | | Impact: Avoid corruption while displaying host bus interface when EDD<3.0 If EDD < 3.0 displaying host bus & interface for disk devices return unexpected content. We have to avoid displaying that informations in such case
* | hdt: Fixing wrong Part Number displayErwan Velu2009-12-041-1/+1
| | | | | | | | | | | | Impact: Visual In the memory bank display, the part number wasn't correctly padded.
* | hdt: Keeping symlinks on generated binariesErwan Velu2009-12-041-0/+3
| | | | | | | | | | | | Impact: none Building binary images let some symlinks useful for testing
* | hdt: Preventing agressive disk's size roundingErwan Velu2009-12-044-17/+41
| | | | | | | | | | | | Impact: Visual Prevent reported case where 1997MB could be displayed as 1GB.
* | hdt: Adding memtest is our binary imagesErwan Velu2009-12-041-2/+12
| | | | | | | | | | | | Impact: memtest is now included Downloading memtest while generating floppy/iso images
* | Fixing comments on ifcpu64/ifcpuhvmErwan Velu2009-12-042-2/+2
| | | | | | | | | | | | Impact: Fixing typo Fixing typo
* | Adding ifcpuhvm.c32Erwan Velu2009-12-042-1/+91
| | | | | | | | | | | | | | Impact: new module to boot hvm systems This module allow users to define a boot entry regarding if the cpu is supporting hvm (vmx|svm). This could used to boot xen, or any hypervisor