H. Peter Anvin [Wed, 13 Sep 2006 00:42:40 +0000 (17:42 -0700)]
vesacon: if mode set failed, assume screen is unchanged
H. Peter Anvin [Wed, 13 Sep 2006 00:40:57 +0000 (17:40 -0700)]
vesacon: stub out debugging function
H. Peter Anvin [Wed, 13 Sep 2006 00:39:33 +0000 (17:39 -0700)]
vesacon: if a custom font is loaded, use it instead of the BIOS font
H. Peter Anvin [Wed, 13 Sep 2006 00:06:16 +0000 (17:06 -0700)]
Implement fallback from vesacon to ansicon
H. Peter Anvin [Tue, 12 Sep 2006 05:10:21 +0000 (22:10 -0700)]
Cursor support for vesacon
H. Peter Anvin [Mon, 11 Sep 2006 01:03:06 +0000 (18:03 -0700)]
Factor out the ANSI engine from the ANSI and VESA consoles
In preparation for the VESA console needing to fall back to text mode...
H. Peter Anvin [Wed, 6 Sep 2006 05:38:32 +0000 (22:38 -0700)]
Documentation for the graphical menu system
H. Peter Anvin [Wed, 6 Sep 2006 05:23:09 +0000 (22:23 -0700)]
Document graphical console
H. Peter Anvin [Wed, 6 Sep 2006 00:07:09 +0000 (17:07 -0700)]
No need to bzero .bss memory
H. Peter Anvin [Wed, 6 Sep 2006 00:06:14 +0000 (17:06 -0700)]
Augment tinyjpeg so that we can decode straight into the buffer;
clear the screen on startup.
H. Peter Anvin [Tue, 5 Sep 2006 23:26:08 +0000 (16:26 -0700)]
Set saner limits, since tinyjpeg will actually decode the whole image
H. Peter Anvin [Tue, 5 Sep 2006 23:18:51 +0000 (16:18 -0700)]
Default to black screen; draw a JPEG background correctly.
H. Peter Anvin [Tue, 5 Sep 2006 23:18:30 +0000 (16:18 -0700)]
Correct the memory layout for the BGRA32 color space
H. Peter Anvin [Tue, 5 Sep 2006 22:46:27 +0000 (15:46 -0700)]
Merge with 3.2x branch
Conflicts:
com32/modules/Makefile
com32/modules/menu.c
com32/modules/menu.h
com32/modules/readconfig.c
version
Erwan Velu [Mon, 4 Sep 2006 20:34:55 +0000 (22:34 +0200)]
Adding a new com32 module to handle cpu information
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>
Arne Georg Gleditsch [Mon, 4 Sep 2006 06:50:44 +0000 (08:50 +0200)]
Simple menu system updates
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>
H. Peter Anvin [Tue, 5 Sep 2006 19:12:15 +0000 (12:12 -0700)]
Add support for decoding JPEG images as well as PNG
H. Peter Anvin [Tue, 5 Sep 2006 18:12:17 +0000 (11:12 -0700)]
tinyjpeg: add rgba32 and bgra32 formats
H. Peter Anvin [Tue, 5 Sep 2006 18:04:57 +0000 (11:04 -0700)]
Factor tinyjpeg out by colorspace, so we don't pull in everything
H. Peter Anvin [Sat, 2 Sep 2006 17:27:36 +0000 (10:27 -0700)]
Fix typo in Makefile rule
H. Peter Anvin [Sat, 2 Sep 2006 04:55:10 +0000 (21:55 -0700)]
Add tiny JPEG decoder library
H. Peter Anvin [Fri, 1 Sep 2006 08:20:28 +0000 (01:20 -0700)]
Lots of fixes to make the graphical menu actually work.
H. Peter Anvin [Fri, 1 Sep 2006 05:00:50 +0000 (22:00 -0700)]
Color table handling for the VESA console
H. Peter Anvin [Fri, 1 Sep 2006 04:58:27 +0000 (21:58 -0700)]
state -> st.state
H. Peter Anvin [Fri, 1 Sep 2006 04:52:34 +0000 (21:52 -0700)]
ansicon support for SOH # color table handling
H. Peter Anvin [Fri, 1 Sep 2006 04:52:05 +0000 (21:52 -0700)]
Don't bother writing out the trailing byte of an invalid SOH # sequence.
H. Peter Anvin [Fri, 1 Sep 2006 04:41:15 +0000 (21:41 -0700)]
Serial port output with color table string injection.
H. Peter Anvin [Fri, 1 Sep 2006 04:40:56 +0000 (21:40 -0700)]
Whitespace cleanup
H. Peter Anvin [Fri, 1 Sep 2006 04:39:58 +0000 (21:39 -0700)]
Whitespace cleanup
H. Peter Anvin [Fri, 1 Sep 2006 04:39:40 +0000 (21:39 -0700)]
Whitespace cleanup
H. Peter Anvin [Fri, 1 Sep 2006 03:41:01 +0000 (20:41 -0700)]
Beginnings of a color theme manager; unify vesamenu and ansimenu
H. Peter Anvin [Thu, 31 Aug 2006 22:59:45 +0000 (15:59 -0700)]
Shading fix
H. Peter Anvin [Thu, 31 Aug 2006 22:48:26 +0000 (15:48 -0700)]
More work on actual VESA console and menu. Shadowing still doesn't work
quite right, however.
H. Peter Anvin [Thu, 31 Aug 2006 18:35:15 +0000 (11:35 -0700)]
Explicitly initialize on open instead of initializing via __constructor;
more graceful handling of partial open/partial close.
H. Peter Anvin [Wed, 30 Aug 2006 23:34:21 +0000 (16:34 -0700)]
Better test of alpha blending (holy crap, it works!)
H. Peter Anvin [Wed, 30 Aug 2006 23:34:07 +0000 (16:34 -0700)]
Actually blend the proper colors...
H. Peter Anvin [Wed, 30 Aug 2006 23:03:24 +0000 (16:03 -0700)]
More sophisticated alpha blending; comment out background call ATM
H. Peter Anvin [Wed, 30 Aug 2006 20:12:56 +0000 (13:12 -0700)]
This branch is now targetted toward version 3.21
H. Peter Anvin [Mon, 28 Aug 2006 19:15:06 +0000 (12:15 -0700)]
Add alpha-blending function in preparation for proper RGBA text.
H. Peter Anvin [Mon, 28 Aug 2006 09:46:06 +0000 (02:46 -0700)]
Test program for the VESA code
H. Peter Anvin [Mon, 28 Aug 2006 09:45:55 +0000 (02:45 -0700)]
Include file updates
H. Peter Anvin [Mon, 28 Aug 2006 09:40:02 +0000 (02:40 -0700)]
Add routine to initialize and test for the FPU.
H. Peter Anvin [Mon, 28 Aug 2006 09:10:24 +0000 (02:10 -0700)]
Add strtod() function, needed by libpng
H. Peter Anvin [Mon, 28 Aug 2006 08:50:09 +0000 (01:50 -0700)]
Work on getting libpng to actually do something useful...
H. Peter Anvin [Mon, 28 Aug 2006 07:28:31 +0000 (00:28 -0700)]
More work on VESA graphical console support
H. Peter Anvin [Sun, 27 Aug 2006 23:04:13 +0000 (16:04 -0700)]
More work on the VESA graphics console
H. Peter Anvin [Sat, 26 Aug 2006 18:14:43 +0000 (11:14 -0700)]
Move Makefile.secret to the release directory
H. Peter Anvin [Sat, 26 Aug 2006 00:25:29 +0000 (17:25 -0700)]
This branch is targetted at SYSLINUX 3.30
H. Peter Anvin [Sat, 26 Aug 2006 00:18:36 +0000 (17:18 -0700)]
Beginning of a VESA graphical console driver
H. Peter Anvin [Sat, 26 Aug 2006 00:16:49 +0000 (17:16 -0700)]
Support sending information from the comboot module to the syslinux core
as to what the graphics mode is set to.
H. Peter Anvin [Fri, 25 Aug 2006 05:22:44 +0000 (22:22 -0700)]
We actually need klibc-1.4.27 or later...
H. Peter Anvin [Fri, 25 Aug 2006 05:18:34 +0000 (22:18 -0700)]
extlinux: when compiling against klibc, use atexit() to clean up the devnode
H. Peter Anvin [Fri, 25 Aug 2006 05:06:46 +0000 (22:06 -0700)]
extlinux: when building for klibc, mknod() needs to be a block device
H. Peter Anvin [Fri, 25 Aug 2006 04:45:09 +0000 (21:45 -0700)]
We need klibc-1.4.26 for getopt_long() to actually work.
H. Peter Anvin [Fri, 25 Aug 2006 04:17:06 +0000 (21:17 -0700)]
Print a usage message when we get an invalid option
H. Peter Anvin [Fri, 25 Aug 2006 04:04:27 +0000 (21:04 -0700)]
Support building extlinux with klibc
H. Peter Anvin [Tue, 22 Aug 2006 00:46:08 +0000 (17:46 -0700)]
PXELINUX: Print an error message if the config file is not found
H. Peter Anvin [Tue, 22 Aug 2006 00:29:43 +0000 (17:29 -0700)]
Fix typo
H. Peter Anvin [Tue, 22 Aug 2006 00:28:43 +0000 (17:28 -0700)]
In kaboom, use standard macro for resetting the stack where applicable
H. Peter Anvin [Tue, 22 Aug 2006 00:10:28 +0000 (17:10 -0700)]
Merge ... git+ssh:///boot/syslinux/syslinux.git
H. Peter Anvin [Tue, 22 Aug 2006 00:10:00 +0000 (17:10 -0700)]
Modularize the pause bird function; don't print dots for bootsects and com32
H. Peter Anvin [Fri, 18 Aug 2006 02:40:03 +0000 (19:40 -0700)]
Document CD boot sector fix.
H. Peter Anvin [Fri, 18 Aug 2006 02:38:55 +0000 (19:38 -0700)]
Comment fix.
H. Peter Anvin [Fri, 18 Aug 2006 02:38:45 +0000 (19:38 -0700)]
Fix stack clobber when loading CD boot sectors.
H. Peter Anvin [Thu, 17 Aug 2006 23:17:24 +0000 (16:17 -0700)]
More cleanup of comboot exit code
H. Peter Anvin [Thu, 17 Aug 2006 22:39:19 +0000 (15:39 -0700)]
Fix directory name
H. Peter Anvin [Thu, 17 Aug 2006 22:38:00 +0000 (15:38 -0700)]
Target to upload a prerelease
H. Peter Anvin [Thu, 17 Aug 2006 22:32:48 +0000 (15:32 -0700)]
Merge ... git+ssh:///boot/syslinux/syslinux.git
H. Peter Anvin [Thu, 17 Aug 2006 22:32:32 +0000 (15:32 -0700)]
Remove more CVS-era $Id$ tags.
H. Peter Anvin [Thu, 17 Aug 2006 22:26:19 +0000 (15:26 -0700)]
Better describe what this macro does (comment fix.)
H. Peter Anvin [Thu, 17 Aug 2006 22:19:44 +0000 (15:19 -0700)]
Clean up the reset stack macro further; incorporate segment reset
as well as enable interrupts.
H. Peter Anvin [Thu, 17 Aug 2006 22:13:50 +0000 (15:13 -0700)]
Remove obsolete code
H. Peter Anvin [Thu, 17 Aug 2006 22:00:50 +0000 (15:00 -0700)]
The RESET_STACK change broke SYSLINUX & EXTLINUX. Fix.
H. Peter Anvin [Thu, 17 Aug 2006 21:30:53 +0000 (14:30 -0700)]
Add header file missing since prior checkin
H. Peter Anvin [Thu, 17 Aug 2006 21:26:53 +0000 (14:26 -0700)]
Remove CVS-era $Id$ tags.
H. Peter Anvin [Thu, 17 Aug 2006 21:25:10 +0000 (14:25 -0700)]
Document stack overflow issue.
H. Peter Anvin [Thu, 17 Aug 2006 21:24:43 +0000 (14:24 -0700)]
When exiting a COMBOOT/COM32 module, reset the stack instead of saving
and restoring it. The former option left crap on the stack.
H. Peter Anvin [Thu, 17 Aug 2006 21:21:15 +0000 (14:21 -0700)]
COM32 module from Erwan Velu to automate loading based on DMI records.
H. Peter Anvin [Tue, 15 Aug 2006 05:26:11 +0000 (22:26 -0700)]
Stealth whitespace cleanup
Erwan Velu [Mon, 14 Aug 2006 20:10:33 +0000 (22:10 +0200)]
Adding a com32 module to handle DMI
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>
H. Peter Anvin [Wed, 9 Aug 2006 01:04:08 +0000 (18:04 -0700)]
DOS installer: make sure we tell gcc what the memory constraints are
H. Peter Anvin [Fri, 14 Jul 2006 06:07:28 +0000 (23:07 -0700)]
Document PXELINUX timeout fix
Curtis Doty [Thu, 13 Jul 2006 17:46:43 +0000 (10:46 -0700)]
PXELINUX: Fail if we couldn't get the config file
Consider it a fatal error if we didn't get a config file under
PXELINUX. Unlike the other derivatives, it usually indicates
a transient error -- specifically a network error.
H. Peter Anvin [Thu, 25 May 2006 00:45:25 +0000 (17:45 -0700)]
Be excrutiatingly correct with inline assembly syntax
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>
H. Peter Anvin [Thu, 25 May 2006 00:40:49 +0000 (17:40 -0700)]
mboot.c: allow memory addresses as jmp arguments.
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>
Tim Deegan [Wed, 24 May 2006 16:40:50 +0000 (17:40 +0100)]
mboot.c32: fix register constraints bug (more cleanly)
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>
H. Peter Anvin [Thu, 4 May 2006 01:09:51 +0000 (18:09 -0700)]
Document changes.
H. Peter Anvin [Thu, 4 May 2006 01:09:45 +0000 (18:09 -0700)]
Add "klibc" target.
H. Peter Anvin [Thu, 4 May 2006 01:05:05 +0000 (18:05 -0700)]
Remove check that a kernel can only be 8 MB or smaller.
H. Peter Anvin [Thu, 4 May 2006 00:32:15 +0000 (17:32 -0700)]
Across-the-board stealth whitespace cleanup
H. Peter Anvin [Thu, 4 May 2006 00:21:14 +0000 (17:21 -0700)]
libfat: stealth whitespace cleanup
H. Peter Anvin [Fri, 17 Mar 2006 17:10:22 +0000 (09:10 -0800)]
Document fixes to mboot.c32
H. Peter Anvin [Fri, 17 Mar 2006 17:09:35 +0000 (09:09 -0800)]
Remove stealth whitespace
Tim Deegan [Fri, 17 Mar 2006 16:59:00 +0000 (16:59 +0000)]
mboot.c32:load ELF segments from the segment header
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>
Tim Deegan [Fri, 17 Mar 2006 16:57:52 +0000 (16:57 +0000)]
mboot.c32: clear inputs to BIOS calls
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>
H. Peter Anvin [Sun, 12 Mar 2006 21:28:11 +0000 (13:28 -0800)]
Remove definition of CLK_TCK redundant with get_key.h
H. Peter Anvin [Sun, 12 Mar 2006 21:24:07 +0000 (13:24 -0800)]
Define CLK_TCK globally
H. Peter Anvin [Thu, 19 Jan 2006 17:02:46 +0000 (09:02 -0800)]
Invert the sense of ARENA_SIZE_MASK to be consistent with klibc
Murali Krishnan Ganapathy [Thu, 19 Jan 2006 03:59:58 +0000 (21:59 -0600)]
Update to the complex menu system
H. Peter Anvin [Thu, 19 Jan 2006 16:52:09 +0000 (08:52 -0800)]
Clean up the handling of "extended whitespace"; fix typos