aboutsummaryrefslogtreecommitdiffstats
path: root/com32
Commit message (Collapse)AuthorAgeFilesLines
* com32: change clock_t to 32 bits, and in millisecondsH. Peter Anvin2010-07-052-7/+5
| | | | | | | Previously, clock_t was 16 bits and counted timer ticks, now make it 32 bits and count milliseconds. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* core: add a ms-denominated timerH. Peter Anvin2010-07-051-0/+4
| | | | | | | | | Add a timer denominated in milliseconds. This is still driven by the 18.2 Hz timer interrupt, but counts "real" milliseconds, including handing the adjustment factor (which in reality means it advances by 55 for most timer ticks and 54 for some.) Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* Merge remote branch 'marcel/luaext'H. Peter Anvin2010-07-059-11/+1116
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge Marcel Ritter's work on the lua branch: The last time he wrote about the state of his lua branch: http://syslinux.zytor.com/archives/2009-October/013383.html The current state is: - VESA: - switching to vesa mode works - loading/displaying images works - display text works (s. com32/lua/test/vesa.lua) - PCI: - list PC devices + ID - get human-readable device name for device (s. com32/lua/test/pci.lua) - DMI: - get DMI info (BIOS, Hardware, etc). (s. com32/lua/test/dmi.lua) - syslinux: - loading files, kernel, initrd - start kernel, initrd, local boot ... just working on this, so no example lua file right now Most of the actual merging work was done by Gert Hulselmans <gerth@zytor.com>. Resolved Conflicts: com32/lib/sys/vesa/initvesa.c com32/lua/src/Makefile Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Added PCI descMarcel Ritter2009-10-201-1/+43
| |
| * Added invocationMarcel Ritter2009-10-201-0/+15
| |
| * NewMarcel Ritter2009-10-201-0/+216
| |
| * Loading of kernel and ramdisk worksMarcel Ritter2009-10-161-0/+120
| |
| * More debugging removedMarcel Ritter2009-10-151-0/+2
| |
| * Disabled debug outputMarcel Ritter2009-10-151-3/+4
| |
| * UpdatedMarcel Ritter2009-10-121-0/+44
| |
| * Fixed vesa stuffMarcel Ritter2009-10-103-2/+23
| |
| * Added sleep()Marcel Ritter2009-10-092-39/+92
| | | | | | | | | | Added some comments Fixed cmdline parsing
| * Prepare for arg parsing supportMarcel Ritter2009-10-091-1/+229
| |
| * COM32: lua - add vesa functions (only mode listing right now)Marcel Ritter2008-12-155-0/+144
| |
| * COM32: lua - basic pci functions implementedMarcel Ritter2008-12-155-1/+224
| |
* | zlib: update to zlib 1.2.5H. Peter Anvin2010-07-0522-1254/+2712
| | | | | | | | | | | | Update zlib to zlib 1.2.5. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | libpng: upgrade to version 1.2.44H. Peter Anvin2010-07-0432-18460/+10183
| | | | | | | | | | | | Upgrade libpng from 1.2.8 to 1.2.44. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | com32: update getopt() to the current version from klibcH. Peter Anvin2010-07-021-46/+71
| | | | | | | | | | | | Update getopt() to the current klibc version. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | com32: add getopt_long() to the libraryH. Peter Anvin2010-07-023-1/+176
| | | | | | | | | | | | | | Add getopt_long() to the library. This is code lifted straight out of klibc. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | lua: quiet warnings about unused variables and functionssyslinux-4.01H. Peter Anvin2010-07-023-2/+5
| | | | | | | | | | | | | | Quiet gcc warnings about unused variables and functions -- things that are not used in the Syslinux environment at this time. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | lua: add parents to luaconf.h to quiet a gcc warningH. Peter Anvin2010-07-021-2/+2
| | | | | | | | | | | | | | | | gcc warns about suspicious-looking code with a comparison inside ==. The code is correct, but add parens so that gcc know we know it is correct. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | lua: add missing <syslinux/boot.h> to syslinux.cH. Peter Anvin2010-07-021-0/+1
| | | | | | | | | | | | Need header files for functions we invoke. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | lua: Modernize the MakefileH. Peter Anvin2010-07-021-73/+27
| | | | | | | | | | | | | | | | | | | | | | Modernize the Makefile for lua to match the current style, in particular to have it pick up its configuration and rules from the central MCONFIG file. This also fixes the incorrect use of "clean" vs. "spotless" which was picked up from the Makefile style in use at that time. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | pxelinux: new IPAPPEND 4 to generate a SYSUUID= option.syslinux-4.01-pre3H. Peter Anvin2010-07-011-1/+2
| | | | | | | | | | | | | | Add a new IPAPPEND option to generate a SYSUUID= option with the in-system UUID. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | Merge branch 'lua'H. Peter Anvin2010-07-01109-1/+28955
|\ \ | | | | | | | | | | | | | | | | | | Resolved Conflicts: NEWS Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | lua: update for Syslinux 4Geert Stappers2010-07-012-6/+16
| | | | | | | | | | | | Update the lua code to work with Syslinux 4.
| * | Merge branch 'master' into luaH. Peter Anvin2010-07-01527-19618/+50461
| |\ \ | | |/ | |/| | | | | | | | | | | | | Resolved Conflicts: com32/Makefile Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
| * | COM32: lua - added dmi functionsMarcel Ritter2008-12-155-1/+324
| | |
| * | COM32: lua - added simple syslinux_run_command functionMarcel Ritter2008-12-155-0/+35
| | |
| * | COM32: lua - (re-)enable liolib to get printf like functionMarcel Ritter2008-12-153-9/+17
| | |
| * | Merge commit 'syslinux-3.73-pre7' into luaH. Peter Anvin2008-12-1245-725/+1761
| |\ \
| * | | Err.Alexey Zaytsev2008-07-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Final touhes.Alexey Zaytsev2008-07-183-2/+9
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Don't load the io and os libs, we cant compile them right now.Alexey Zaytsev2008-07-181-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Can't load precompiled binaries because if missing ungetcAlexey Zaytsev2008-07-181-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Add some more lua libs to be compiled.Alexey Zaytsev2008-07-181-2/+5
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Applyed the Go Long Lua! patchAlexey Zaytsev2008-07-186-6/+89
| | | | | | | | | | | | | | | | | | | | | | | | from http://lua-users.org/wiki/LuaPowerPatches Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Replace strcoll with strcmp, we don't have the locale stuff.Alexey Zaytsev2008-07-181-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Remove the signal.h dependency from lua.cAlexey Zaytsev2008-07-181-5/+5
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Remove the locale.h dependency from llex.hAlexey Zaytsev2008-07-181-3/+3
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Compile liblua, lua.c32Alexey Zaytsev2008-07-181-10/+19
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Copy the Makefile from the samples dir.Alexey Zaytsev2008-07-181-0/+91
| | | |
| * | | Add lua to the build listAlexey Zaytsev2008-07-181-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Rename the Lua MakefilesAlexey Zaytsev2008-07-182-0/+0
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
| * | | Import Lua 5.1.3Alexey Zaytsev2008-07-18103-0/+28381
| | | | | | | | | | | | | | | | Signed-off-by: Alexey Zaytsev <zaytsev.a@protei.ru>
* | | | com32: canonicalize DEBUG to mean <dprintf.h>H. Peter Anvin2010-07-014-28/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove historical uses of DEBUG/dprintf in favor of the centralized <dprintf.h>. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | zlib: change DEBUG to DEBUG_ZLIBH. Peter Anvin2010-07-015-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | zlib uses DEBUG for something slightly different than the Syslinux main code, so change the name of the symbol. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | | dprintf: allow overriding the serial port addressH. Peter Anvin2010-07-011-1/+6
| |_|/ |/| | | | | | | | | | | | | | | | | Allow overriding the serial port address, e.g. for systems which only have PCI serial ports. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | MCONFIG: add -Wno-error to .lnx filesH. Peter Anvin2010-07-011-1/+1
| | | | | | | | | | | | | | | | | | | | | Again, .lnx files are test vehicles... erroring out due to warnings makes no sense. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
* | | MCONFIG: .lnx files are for testing, don't do _FORTIFY_SOURCEH. Peter Anvin2010-07-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | .lnx files are strictly a testing vehicle. It makes absolutely no sense to enforce the often rather arbitrary rules of _FORTIFY_SOURCE on those, so override the default _FORTIFY_SOURCE setting. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>