summaryrefslogtreecommitdiff
path: root/com32/modules
Commit message (Collapse)AuthorAgeFilesLines
* Stealth whitespace cleanup.syslinux-3.32-pre8H. Peter Anvin2006-12-124-10/+10
|
* Patch: Parse append arguments properly in mboot moduleRam Yalamanchili2006-12-121-2/+22
| | | | | | | | | | | | | | | | | | | | Hey guys, I noticed the appended ipappend options end up in the beginning of the cmdline argv[] when mboot is entered. mboot then tries to parse the first argument as the name of the kernel module and promptly fails cuz it can't find "ip=.." or "bootif=...". I'm attaching a patch which basically looks for any arguments in the argv[] array and appends them to the kernel cmdline. The arguments have to be back-to-back to be considered "appened options", so this should be safe enough to not take out-of-place arguments and tack onto the kernel cmdline. Last time i sent in some of the elf section loader patches, i think Peter had trouble importing time. Hopefully it works now. thanks, Ram Yalamanchili
* menu system: handle console setup/cleanup differentlyH. Peter Anvin2006-11-014-2/+24
| | | | | | Handle console setup/cleanup explicitly, instead of relying on a destructor. The destructor doesn't get called on outbound API calls that don't return.
* Try to be more true to the way "MENU INCLUDE" should work.syslinux-3.31-pre4syslinux-3.31H. Peter Anvin2006-09-221-6/+8
|
* Make the last row the end row.H. Peter Anvin2006-09-211-1/+1
|
* New MENU INCLUDE directive, and support ~ to mark default config file.syslinux-3.31-pre3H. Peter Anvin2006-09-211-4/+18
|
* If a later "menu background" overrides an earlier one, free the dataH. Peter Anvin2006-09-211-0/+2
|
* Use the color table for the shadow, and make it user controllableH. Peter Anvin2006-09-212-20/+30
|
* Support multiple configuration files in the menu systems.H. Peter Anvin2006-09-203-13/+32
|
* Proper handling of different screen sizes (we're 78x29 in graphics mode...)H. Peter Anvin2006-09-161-0/+15
|
* More color tweaks.syslinux-3.30-pre9H. Peter Anvin2006-09-151-1/+1
|
* Properly parse MENU COLOR statements.H. Peter Anvin2006-09-151-32/+38
|
* Default color tweakingH. Peter Anvin2006-09-151-2/+2
|
* Allow specifying * instead of any of the MENU COLOR fields.syslinux-3.30-pre8H. Peter Anvin2006-09-141-6/+16
|
* Clean up cursor during initializationH. Peter Anvin2006-09-142-4/+2
|
* For SOH codes, always issue a leading zero resetsyslinux-3.30-pre5H. Peter Anvin2006-09-121-12/+12
|
* Merge with 3.2x branchH. Peter Anvin2006-09-123-2/+266
|\ | | | | | | | | | | Conflicts: com32/modules/Makefile
| * Introducing a new com32 module to parse pci devices/busessyslinux-3.2xErwan Velu2006-09-123-1/+265
| | | | | | | | | | | | The pcitest module implements an example of use the pci module If you like to use the string name just put a pci.ids file in the root directory (cherry picked from 85bb6facf0100592c89d5c3c5c17b25e7b0006b3 commit)
* | Merge with 3.2x branchsyslinux-3.30-pre2H. Peter Anvin2006-09-056-7/+507
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: com32/modules/Makefile com32/modules/menu.c com32/modules/menu.h com32/modules/readconfig.c version
| * Adding a new com32 module to handle cpu informationsyslinux-3.21-pre1Erwan Velu2006-09-053-1/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From : Erwan Velu <erwan.velu@free.fr> This patch a new com32 module to handle cpu information. A new "cpu" structure can be filled by calling "detect_cpu(&cpu)". It provides : - Vendor name as string - Model as string - Vendor as integer - Model as integer - Family as integer - Stepping as Integer - Flags as boolean - SMP as boolean Note that SMP is just a manner to know if the bios annonce an MPTABLE. This code can't detect each processor. I've been adding a demo program called cpuidtest to show how it works. if (cpu.flags.lm == true) printf("This system is x86_64 compatible\n"); This example shows how to test if a system is X86_64 compatible. I hope it's simple enough ;) This code is mainly taken from the Linux Kernel. Greetings for all the guys who wrote it. Testing and feedback are welcome. Signed-off-by:Erwan Velu <erwan.velu@free.fr>
| * Simple menu system updatesArne Georg Gleditsch2006-09-053-5/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, I'm attaching a patch to Syslinux dealing with a handful of issues that were preventing me from using the simple menu interface. Issues covered: * Enable "MENU ONERROR" as a keyword on par with "ONERROR". * Enable hidden menu entries to be used as ontimeout and onerror entries (probably the least estheticalla pleasing part, sorry about that.) * Make global "IPAPPEND" directives apply also when using menu.c32. * Memory allocation fix for the ontimeout-variable (unlabel does free()). * Make menu.c32 add ipappend options at end of kernel commend line, as pxelinux generally does. I see 3.30-pre1 is out now, I haven't had time to check applicability of these patches towards this. Hope they can still be of use. -- Arne. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Lots of fixes to make the graphical menu actually work.syslinux-3.30-pre1H. Peter Anvin2006-09-015-85/+89
| |
* | Beginnings of a color theme manager; unify vesamenu and ansimenuH. Peter Anvin2006-08-316-1646/+1024
| |
* | More work on actual VESA console and menu. Shadowing still doesn't workH. Peter Anvin2006-08-312-1/+860
|/ | | | quite right, however.
* Remove more CVS-era $Id$ tags.H. Peter Anvin2006-08-171-1/+0
|
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-175-5/+0
|
* Stealth whitespace cleanupH. Peter Anvin2006-08-142-8/+7
|
* Adding a com32 module to handle DMIErwan Velu2006-08-144-1/+691
| | | | | | | | | | | | | | | | | | | | | | | | | | From : Erwan Velu <erwan.velu@free.fr> This patch add a new com32 module named dmi. It can parse DMI Hanldes number 0,1,2,3,4. Using a very simple API, you can read the values of the following "Handles" - BIOS - CHASSIS - SYSTEM - BASE_BOARD - PROCESSOR It's possible and easy to extend to many other Handles. A sample code program called dmitest shows how you can use and display this structures. The codes is mainly taken from the Linux Kernel and the smartmontool projects. Both are GPL, my code too. Testing and feedback are welcomed. Signed-off-by:Erwan Velu <erwan.velu@free.fr>
* Be excrutiatingly correct with inline assembly syntaxsyslinux-3.20-pre9H. Peter Anvin2006-05-241-1/+1
| | | | | | | To be absolutely correct, we're supposed to use %* before an indirect branch target, not just *. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mboot.c: allow memory addresses as jmp arguments.H. Peter Anvin2006-05-241-2/+2
| | | | | | | jmp in x86 can take a memory argument, and since gcc knows everything that happens all the way up to the jump, allowing it there is safe. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* mboot.c32: fix register constraints bug (more cleanly)Tim Deegan2006-05-241-25/+13
| | | | | | | | Fix register constraints of final jump to kernel entry. When compiled with some GCC versions, mboot.c32 would clobber the kernel load address and try to jump to 0x2badb002. Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-034-6/+2
|
* Remove stealth whitespaceH. Peter Anvin2006-03-179-179/+179
|
* mboot.c32:load ELF segments from the segment headerTim Deegan2006-03-171-4/+60
| | | | | | | | | | Load sections from the ELF section headers as well as the program headers, for kernels which need symbol and debug info but don't ask for them in the program headers. Bump the version number to reflect this change. Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
* mboot.c32: clear inputs to BIOS callsTim Deegan2006-03-171-1/+3
| | | | | | Zero the inputs to BIOS calls, to fix two bugs in mboot.c32's E820 mmap code. Signed-off-by: Tim Deegan <Tim.Deegan@cl.cam.ac.uk>
* Remove definition of CLK_TCK redundant with get_key.hH. Peter Anvin2006-03-121-4/+0
|
* Clean up the handling of "extended whitespace"; fix typosH. Peter Anvin2006-01-193-8/+13
|
* Handle "ontimeout" with label correctly in menu.c32; add "menu shiftkey"syslinux-3.20-pre4H. Peter Anvin2006-01-073-5/+59
|
* Quicker timeout clearsyslinux-3.11-pre11syslinux-3.11hpa2005-08-301-6/+2
|
* New "totaltimeout" option; change the menu behaviour on timeout.hpa2005-08-303-28/+93
|
* A few more edit keys; faster [Tab] operationsyslinux-3.11-pre8hpa2005-08-291-9/+49
|
* Reorganize so that a 512-character command line fits on an 80x24 screenhpa2005-08-281-6/+6
|
* More emacsy keybindingshpa2005-08-281-2/+4
|
* Display autoboot countdownsyslinux-3.11-pre6hpa2005-08-281-13/+44
|
* Handle 512-character command lineshpa2005-08-281-1/+2
|
* Better command-line editinghpa2005-08-281-20/+69
|
* Avoid doing the same job more than once...syslinux-3.11-pre3hpa2005-08-261-10/+10
|
* Allow customization of the menu layout.hpa2005-08-263-11/+38
|
* Remove special handling of P and N in menuhpa2005-08-221-6/+2
|
* Correct the code related to the run kernel image API function.hpa2005-08-211-24/+22
|