aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* dmi: fix a strcpy (typo)Pierre-Alexandre Meyer2009-11-011-1/+1
| | | | | | Not sure why sprintf is being called here. It's probably strcpy that was meant. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* hdt: change inactive attributes (MENU)Pierre-Alexandre Meyer2009-11-011-0/+3
| | | | | | | | | | The default inactive attributes in cmenu make little sense in HDT. They actually make the menus hard to read. Instead, use the same attributes as the active entries for the inactive ones. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* cmenu: reset the cursor position on shutdownPierre-Alexandre Meyer2009-11-011-0/+1
| | | | | | | | | | Reset the cursor at the top left corner of the screen when exiting the menu. This fixes odd behaviors when switching back and forth between CLI and menu in HDT. Closes: #14 Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* dmi: Adding smbios detectionErwan Velu2009-10-304-36/+58
| | | | | | | | Impact: Avoid misdetection of dmi version On some hosts, the legacy DMI version is reported as 0.0. We can use SMBIOS to get the real version. Solves HDT's ticket #8
* hdt: Fixing {s}printf typoErwan Velu2009-10-301-5/+5
| | | | | | | Impact: Avoid some unwanted printf Some dmi calls were using printf instead of sprintf. This solves ticket #11
* hdt: Adding hdt.img.gz targetErwan Velu2009-10-291-0/+4
| | | | | | Impact: It's now possible to have a gzipped floppy image 'make hdt.img.gz' now generates a gzipped floppy image
* disklib: Adding new grub2 mbr magicErwan Velu2009-10-281-0/+1
| | | | | | Impact: Detecting newer release of Grub2 Newer releases of grub2 have a eb63 signature
* disklib: Fixing Syslinux DetectionErwan Velu2009-10-281-2/+2
| | | | | | Impact: Syslinux is now detected as bootloader A test wasn't correct and prevented the Syslinux mbr detection
* hdt: Fixing hdt.iso target, pci.ids was missingErwan Velu2009-10-271-2/+3
| | | | | | | | Impact: Iso file is now having pci.ids The makefile did forget to copy the pci.ids into the iso. This stupid test is fixed. Thx gert from reporting it.
* hdt: Adding Gert as contributorhdt-0.3.5-pre1Erwan Velu2009-10-271-3/+3
| | | | | | Impact: none Gert is contributing in hdt, he have to be in the contributor list
* Merge commit 'erwan/master' into hdt-0.3.5Pierre-Alexandre Meyer2009-10-2725-29/+974
|\
| * Improving chain.c32 help messageGert Hulselmans2009-10-271-1/+12
| | | | | | | | | | | | | | Impact: Error message is more detailed In case of syntax error, the message is far more detailed and provides the same content as the documentation integrated in the source code.
| * hdt: Removing useless Author NameErwan Velu2009-10-272-4/+4
| | | | | | | | | | | | Impact: visual Pierre do much work on it, no need to keep my name everywhere ;)
| * Merge branch 'master' of ssh://terminus.zytor.com//pub/git/users/erwan/hdtErwan Velu2009-10-272-22/+26
| |\
| | * hdt: Cleaning MakefileErwan Velu2009-10-212-22/+26
| | | | | | | | | | | | | | | | | | Impact: none We use more variables to have a clean makefile
| * | Merge commit 'hpa/master'Erwan Velu2009-10-192-11/+48
| |\ \ | | |/ | |/|
| | * mboot: correct the detection of the multiboot headerH. Peter Anvin2009-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Correct the detection of the multiboot header. The logic for when the header extends past the file was backwards, which broke non-ELF multiboot kernels completely. Apparently they are few and far between. Reported-by: Klaus T. <nightos@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| | * Merge commit 'hdt/master'H. Peter Anvin2009-10-071-0/+1
| | |\
| | * | pxelinux: handle hardcoded options both "before" and "after" DHCPsyslinux-3.83H. Peter Anvin2009-10-051-10/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Make it possible to specify hardcoded options both "before" and "after" the processing of DHCP/PXE options. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | hdt: Adding hdt.iso targetErwan Velu2009-10-191-1/+18
| | |/ | |/| | | | | | | | | | | | | Impact: It's now possible to generate a bootable iso make hdt.iso now generates a bootable iso
| * | hdt: Adding missing hdt.c32 in 'make hdt.img'Erwan Velu2009-10-071-0/+1
| |/ | | | | | | | | | | | | | | | | Impact: hdt.img is now complete and running After several modification of the makefile, the copy of hdt.c32 had disapeared from the makefile :( This commit reintroduce this missing. 'make hdt.img' is now working again
| * hdt: Removing pci.idsErwan Velu2009-10-051-17141/+0
| | | | | | | | | | | | | | Impact: Removing optional file The pci.ids have to be taken on the system or downloaded from the pciids website. Syslinux doesn't have to provide it.
| * hdt: Adding hdt.img targetGert Hulselmans2009-10-046-1/+17187
| | | | | | | | | | | | | | Impact: add a bootable floppy image The 'make hdt.img' command generates a hdt.img file. hdt.img is a 2.88MB floppy bootable image.
| * Merge commit 'hpa/master'Erwan Velu2009-10-043-1/+508
| |\
| | * utils/Makefile: install pxelinux-optionsH. Peter Anvin2009-09-291-1/+2
| | | | | | | | | | | | | | | | | | Make sure the pxelinux-options script gets installed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| | * NEWS: document pxelinux-optionsH. Peter Anvin2009-09-291-0/+7
| | | | | | | | | | | | Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| | * Merge branch 'hdt'syslinux-3.83-pre12H. Peter Anvin2009-09-297-4/+22
| | |\
| | | * chain: missing some \n in error messagesGert Hulselmans2009-09-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Impact: visual Some \n where missing in some error() calls. Signed-off-by: Gert Hulselmans <kimmik999999@yahoo.co.uk>
| | * | pxelinux-options: add help textH. Peter Anvin2009-09-291-7/+24
| | | | | | | | | | | | | | | | | | | | | | | | Add help text to pxelinux-options. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| | * | pxelinux: support hardcoded options "before" or "after"; toolH. Peter Anvin2009-09-291-0/+482
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support hardcoded DHCP options both "before" or "after" the PXE-provided options. Add a tool to manipulate these hardcoded options. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | | chain: missing some \n one error messagesErwan Velu2009-09-291-4/+4
| | |/ | |/| | | | | | | | | | | | | | | | | | | Impact: visual Some \n where missing in some error() calls Signed-off-by: Gert Hulselmans <kimmik999999@yahoo.co.uk>
| * | Adding VMX & SVM cpu flagsErwan Velu2009-09-296-0/+18
| |/ | | | | | | | | | | Impact: Hardware virtualization is now detected Minor update to detect vmx & svm cpu flags
| * pxelinux: support "hard-coding" DHCP options into the binaryH. Peter Anvin2009-09-171-11/+58
| | | | | | | | | | | | | | | | Make it possible to patch pxelinux.0 so that it includes specific options. This isn't possible for gpxelinux.0, but there it is possible to instead modify the embedded script. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * int18: module for local booting using INT 18hH. Peter Anvin2009-09-132-1/+17
| | | | | | | | | | | | | | At least until we can get a better handle on return vs INT 18h, provide a module so we can at least tell people how to test. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * gpxecmd: module to send an arbitrary command to gPXEsyslinux-3.83-pre11H. Peter Anvin2009-09-102-4/+141
| | | | | | | | | | | | | | Simple module to send an arbitrary command to gPXE, assuming the gPXE CLI API is available. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * core: clean up SerialIRQPort when uninstalling the interrupt systemH. Peter Anvin2009-09-041-0/+3
| | | | | | | | | | | | | | Make sure SerialIRQPort is zero when there is no active interrupt system installed. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * core: when enabling serial IRQs, unmask interrupts at the PICH. Peter Anvin2009-09-041-0/+25
| | | | | | | | | | | | | | | | | | Some BIOSes only enable interrupts in active use by the BIOS at the PIC, which presumably don't include the serial ports. As such, enable the interrupt lines at the PIC and hope to $DEITY we don't hang due to a stuck interrupt line. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * core: remove overzealous calls to cleanup_hardwareH. Peter Anvin2009-09-042-4/+0
| | | | | | | | | | | | | | | | | | cleanup_hardware is not needed in core/runkernel.inc: cleanup_hardware is already invoked from replace_bootstrap. Furthermore, cleanup_hardware is defined to preserve all registers, so there is no need to push/pop ax around it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * core: add missing calls to cleanup_hardwaresyslinux-3.83-pre10H. Peter Anvin2009-09-043-0/+6
| | | | | | | | | | | | | | As we're starting to rely more and more on a modified hardware state, it is really important to clean up on all exit paths. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * pxelinux: workaround for EFI CSM bug - BEV stack overwrite on localbootH. Peter Anvin2009-09-041-0/+75
| | | | | | | | | | | | | | | | | | On at least some machines with an EFI-based BIOS, the Compatibility Service Module (CSM) puts the BEV stack at an address where the boot loader is likely to overwrite it. Implement a workaround which forces INT 18h instead if an EFI signature is detected in memory. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'cmenu-video' into hdt-nextPierre-Alexandre Meyer2009-09-0730-1546/+1334
|\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/hdt/hdt-cli-disk.c com32/hdt/hdt-common.c Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | cmenu: use ASCII characters for scrollbarsPierre-Alexandre Meyer2009-09-072-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ^ and v as hints for scrolling. Use \141 from the Special Characters and Line Drawing Character Set as the scrollbox. Note: printf "\016\141\017" doesn't seem to work well on xterm, although it does work on the vga console. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | cmenu: do not invoke help if helpid is 0xFFFF (complex.c)Pierre-Alexandre Meyer2009-09-071-1/+1
| | | | | | | | | | | | | | | | | | 0xFFFF is invalid (no help) Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | hdt: do not invoke help if helpid is 0xFFFFPierre-Alexandre Meyer2009-09-071-1/+3
| | | | | | | | | | | | | | | | | | 0xFFFF is invalid (no help). Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | cmenu: redraw the current menu after exiting the keys_handlerPierre-Alexandre Meyer2009-09-071-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After exiting the keys_handler, reset_ui() is not enough since it only resets the status line and title. The current menu needs to be redrawn. Note: only a submenu will be redrawn, not its parents. This means that not all the UI will be displayed after exiting the handler if invoked from whithin a submenu. We have already this problem nowadays when exiting a submenu of a submenu. The root parent is not redrawn, leading to some ugly states (the background color overrides part of the root menu). This will be fixed when we implement a real hierarchy (each submenu having access to its parents). Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | hdt: remove extra LFPierre-Alexandre Meyer2009-09-076-4/+20
| | | | | | | | | | | | | | | | | | | | | In a few places, extra LFs cause the menu to scroll ('\n' in the status bar). Remove them (they are not needed anyway). Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | cmenu: optimize redraw to be fasterPierre-Alexandre Meyer2009-09-071-63/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmenu currently redraws everything after each key press. This doesn't scale well, especially over serial. Instead, redraw only the previous/current selected entries. A full redraw is still needed when scrolling though. Misc.: add CTRL-L combo to force a redraw of the current menu. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | cmenu: force refresh after checkbox_handler in complex.cPierre-Alexandre Meyer2009-09-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | complex.c has a special checkbox_handler that disables mutual exclusive entries. This works today because each key press triggers a redraw of the whole menu. We can't rely on this if we want to optimize the redraw. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | cmenu: redraw menu when exiting keys_handlerPierre-Alexandre Meyer2009-09-071-12/+22
| | | | | | | | | | | | | | | | | | | | | The keys_handler can change the UI (e.g. the help system draws a black background by default). We need to redraw the background and title on exit. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | cmenu: pad help filename with 0 instead of spacesPierre-Alexandre Meyer2009-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The manual states that the help filename format is hlp<NNNNN>.txt where <NNNNN> is the helpid. If the helpid contains less than 5 digits, pad with zero, not spaces, i.e. look for hlp00023.txt, not hlp 23.txt. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>