summaryrefslogtreecommitdiff
path: root/com32/include/syslinux
Commit message (Collapse)AuthorAgeFilesLines
* pxe: add missing prototype for pxe_dns()H. Peter Anvin2010-02-061-0/+1
| | | | | | All global functions should have a prototype... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* syslinux/pxe.h use the same type as <com32.h> for a far pointerH. Peter Anvin2010-02-061-4/+2
| | | | | | | | <syslinux/pxe.h> was using segoff16_t, <com32.h> was using far_ptr_t for the same thing -- use the same type so the macros are available for both. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* pxelinux: give our own IP address in the "derivate info" API callH. Peter Anvin2010-02-061-1/+1
| | | | | | Add our own IP address to the "get derivative-specific info" API call. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* com32: syslinux_report_video_mode returns voidH. Peter Anvin2009-12-221-1/+1
| | | | | | | 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>
* video: implement long-promised video functions; use themH. Peter Anvin2009-12-181-1/+1
| | | | | | | | 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-071-0/+3
| | | | | | | | | 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>
* vesacon: make it possible to request nonstandard resolutionsH. Peter Anvin2009-12-071-0/+1
| | | | | | | Make it possible to request nonstandard resolutions when enabling vesacon. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/pxe.hH. Peter Anvin2009-05-291-257/+218
| | | | | | | | | Automatically reformat com32/include/syslinux/pxe.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/movebits.hH. Peter Anvin2009-05-291-22/+21
| | | | | | | | | Automatically reformat com32/include/syslinux/movebits.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/memscan.hH. Peter Anvin2009-05-291-1/+1
| | | | | | | | | Automatically reformat com32/include/syslinux/memscan.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/linux.hH. Peter Anvin2009-05-291-7/+6
| | | | | | | | | Automatically reformat com32/include/syslinux/linux.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/keyboard.hH. Peter Anvin2009-05-291-6/+5
| | | | | | | | | Automatically reformat com32/include/syslinux/keyboard.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/features.hH. Peter Anvin2009-05-291-8/+8
| | | | | | | | | Automatically reformat com32/include/syslinux/features.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/config.hH. Peter Anvin2009-05-291-100/+98
| | | | | | | | | Automatically reformat com32/include/syslinux/config.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/bootrm.hH. Peter Anvin2009-05-291-19/+18
| | | | | | | | | Automatically reformat com32/include/syslinux/bootrm.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/bootpm.hH. Peter Anvin2009-05-291-13/+11
| | | | | | | | | Automatically reformat com32/include/syslinux/bootpm.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/align.hH. Peter Anvin2009-05-291-2/+3
| | | | | | | | | Automatically reformat com32/include/syslinux/align.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Run Nindent on com32/include/syslinux/adv.hH. Peter Anvin2009-05-291-2/+2
| | | | | | | | | Automatically reformat com32/include/syslinux/adv.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* linux.c32: move handling of mem= and vga= into the library functionsyslinux-3.80-pre5H. Peter Anvin2009-04-291-4/+1
| | | | | | | Move the handling of mem= and vga= into syslinux_boot_linux(), so that the user of that function doesn't need to worry about it. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Global whitespace cleanup.H. Peter Anvin2009-04-201-1/+0
| | | | Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Fix infinite loop in syslinux_memmap_find()H. Peter Anvin2009-04-131-0/+1
| | | | | | | We can't use continue; since we're not using a for loop; we have to advance to the next list entry... Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* shuffler: work around KVM problem with the new shufflerH. Peter Anvin2009-04-131-0/+3
| | | | | | | | | | | | | | KVM uses V86 mode to simulate real mode. This causes problems with the new shuffler. This changes the shuffler handover to be in 16-bit protected mode instead, and requires the stub to do the actual entry to real mode. For the KVM hack to work, all segments must have: (seg.base & 0xfff0000f) == 0 && seg.limit == 0xffff As a result, we have to make sure the real-mode entry stub is paragraph-aligned, lest we violate the first criterion. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* bootrm: allow entering with IF=1; smarter stub locationH. Peter Anvin2009-04-131-0/+3
| | | | | | | | Change the stub location algorithm to prefer low memory above 0x800; above 0x510 if that is unavailable. Also add the ability to invoke the real-mode code with IF=1 if so is desired. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* Merge branch 'new-shuffler'H. Peter Anvin2009-04-081-2/+7
|\
| * Merge branch 'master' into new-shufflerH. Peter Anvin2009-04-044-1/+87
| |\ | | | | | | | | | | | | | | | | | | Conflicts: com32/lib/syslinux/memmap.c Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * | shuffler: make the new shuffler actually workH. Peter Anvin2009-03-311-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make the new shuffler actually work. This includes changing rllpack.inc to run in 32-bit mode (since simple_pm_call now switches to 32-bit mode) and changing the new shuffler interface to move the shuffle list before actually doing any work. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | Implement MENU SAVE; fix COM32 setadv functionsyslinux-3.74-pre18H. Peter Anvin2009-04-061-0/+2
| |/ |/| | | | | | | | | | | | | Implement MENU SAVE, which allows the menu system to retain the previous selection from one boot to another. In the process, fix the syslinux_setadv() function. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Update copyright notices; add Intel notices where appropriateH. Peter Anvin2009-04-043-1/+3
| | | | | | | | | | | | | | Update copyright notices. Per agreement with my new employer, Intel Corporation, add Intel copyright notices where appropriate. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | linux.c32: make load_linux() support relocationH. Peter Anvin2009-04-031-0/+47
| | | | | | | | | | | | | | | | In the case where the preferred kernel locations are not available, make load_linux() smart enough to be able to relocate the kernel if at all possible. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | com32: add _t to scan_memory_callbackH. Peter Anvin2009-04-031-2/+2
| | | | | | | | | | | | Change scan_memory_callback to scan_memory_callback_t Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | com32: merge all memory map discovery to one fileH. Peter Anvin2009-04-031-0/+37
|/ | | | | | | Merge the memory map discovery for malloc and the memory map discovery for memmap into one file that scans memory and invokes a callback. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* hdt: Adding pxe_bootp_t structureErwan Velu2009-02-251-0/+32
|
* hdt: Adding pxe_get_nic_type(t_PXENV_UNDI_GET_NIC_TYPE *gnt)Erwan Velu2009-02-251-0/+1
|
* syslinux_derivative_info(): use the buffer we already haveH. Peter Anvin2009-02-181-1/+1
| | | | Use the data buffer already set aside for syslinux_derivative_info().
* Constructed data objects can't be common; hack derivative_infoH. Peter Anvin2009-02-181-27/+55
| | | | | | | | | - Constructed data objects can't be common. Earlier version of gcc didn't if the objects were explicitly listed extern, but newer ones need an explicit __attribute__((nocommon)) or -fno-common. - Make syslinux_derivative_info() save the entire reply.
* Add comboot interface to access the keyboard remapping tableH. Peter Anvin2009-02-031-0/+53
| | | | | | Add a comboot interface to access the keyboard remapping table, which can be used for either querying or changing the keyboard map.
* Add CD-ROM mode query to the COM32 interfaceH. Peter Anvin2008-10-101-1/+1
| | | | | | Report the booting mode of ISOLINUX through the COM32 interface. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* <syslinux/bootrm.h>: fix order of SS and DSH. Peter Anvin2008-06-181-2/+2
| | | | | SS is segment 2, DS is segment 3; this header had them backwards. Fortunately not too many things relied on having DS != SS.
* Add missing file <syslinux/zio.h>syslinux-3.70-pre3H. Peter Anvin2008-03-021-0/+13
| | | | | This include file has been inadvertently omitted from previous checkins.
* Generic framework for reading compressed files using standard I/OH. Peter Anvin2008-02-291-0/+1
| | | | | | | | | | Add zopen(), zfopen(), and zloadfile() to transparently open and uncompress a gzip file (adding support for other formats is quite trivial. Once a file handle or file pointer is received, it can be treated like any other one (fstat will report it as a socket, since the length is unknown.)
* Comboot/Com32 changes for unspecified file lengthsH. Peter Anvin2008-02-271-0/+2
| | | | | Handle unspecified file length for comboot/com32 modules; do changes to the appropriate part of libcom32 to handle this properly.
* Whitespace cleanup...syslinux-3.62-pre11H. Peter Anvin2008-02-191-3/+3
|
* Move the prototypes for syslinux_shuffle_boot_*()H. Peter Anvin2008-02-123-12/+12
| | | | | | | Move the prototypes for syslinux_shuffle_boot_[pr]m() from <syslinux/movebits.h> to <syslinux/boot[pr]m.h>, which anyway has the required structure definitions. #include <syslinux/movebits.h> in those files instead of relying on forward structure definitions.
* Merge commit 'origin/master' into advH. Peter Anvin2008-01-1015-15/+15
|\ | | | | | | | | | | Conflicts: extlinux/extlinux.c
| * Update copyright yearH. Peter Anvin2008-01-1013-13/+13
| |
* | Library routines for manipulating ADV dataH. Peter Anvin2007-12-132-0/+47
| |
* | Initial support for auxilliary data vectorH. Peter Anvin2007-12-131-0/+53
|/ | | | | Initial support for the auxillary data vector, a storage mechanism intended to support boot-once and similar features.
* Preserve ES:DI instead of probing for $PnPsyslinux-3.53-pre5H. Peter Anvin2007-11-141-0/+6
| | | | | | The $PnP probe has been found to lock up at least one machine for reasons unknown. Drop it; instead, burn the extra few bytes in the bootsector to save away ES:DI for later restore.
* Add syslinux_reboot()H. Peter Anvin2007-07-201-0/+41
|
* Stealth whitespace cleanupH. Peter Anvin2007-06-051-6/+3
|