H. Peter Anvin [Tue, 26 Apr 2011 23:07:03 +0000 (16:07 -0700)]
dmi: add additional strings
Add additional strings, and create fallbacks when the strings are
empty. Unfortunately we can't easily fall back for crap like "Insert
name of OEM here".
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 23:01:32 +0000 (16:01 -0700)]
menu: need to advance the pointer, once again...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 22:27:08 +0000 (15:27 -0700)]
pxe, http: Use Syslinux/<version> as the User-agent:
Use Syslinux as the User-agent name.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 22:24:17 +0000 (15:24 -0700)]
dmi: strip whitespace from DMI strings
Some BIOS vendors seem to have large spaces in DMI strings, presumably
for easy patching. Therefore, clean up the strings before we use
them.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 22:23:43 +0000 (15:23 -0700)]
pxe, http: correct the header overflow test
sizeof header_buf isn't very useful when that's an actual pointer...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 22:22:03 +0000 (15:22 -0700)]
pxe, undiif: install the gateway properly
Actually install the gateway, not a random pointer value...
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 21:45:15 +0000 (14:45 -0700)]
menu: mangle whitespace in ipappend/sysappend strings
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 21:41:31 +0000 (14:41 -0700)]
Additional sysappend strings from DMI; pre-bake the http cookies
- Add additional sysappend strings from DMI; we may want to add even
more but let's think about it first.
- Pre-generate http cookies.
- Add a "sendcookies" command to mask out some of the information.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Tue, 26 Apr 2011 08:31:40 +0000 (01:31 -0700)]
Merge remote-tracking branch 'origin/master' into lwip
H. Peter Anvin [Tue, 26 Apr 2011 08:30:29 +0000 (01:30 -0700)]
hdt: add back -I$(com32)
hdt picks up include files from outside the include directory and so
needs an explicit -I$(com32). This probably should be fixed.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 08:29:28 +0000 (01:29 -0700)]
sysdump: add $(LIBS) to the link rule
$(C_LIBS) doesn't include $(LIBS) so we need to add it explicitly.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 08:18:18 +0000 (01:18 -0700)]
Merge remote-tracking branch 'mfleming/for-hpa/makefile-cleanup'
Resolved Conflicts:
com32/hdt/Makefile
com32/sysdump/Makefile
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 04:46:55 +0000 (21:46 -0700)]
pxe, http: send the sysappend/ipappend strings as cookies
When using http, send the sysappend/ipappend strings as cookies
prefixed with _Syslinux_ ... the implementation of this may change.
This is using the "old" cookie format for compactness (single header,
for all cookies, and no $Version tag.) PHP at least seems perfectly
happy to deal with it.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 03:08:32 +0000 (20:08 -0700)]
Generalize ipappend handling as "sysappend", and move to PM code
Generalize the ipappend handling to cover all the derivatives, and
rename it "sysappend" ("ipappend" is a valid alias for all
derivatives.) Move all the string handling to protected mode.
Currently only pxelinux exports strings, but the plan is to change
that in the future.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 03:23:08 +0000 (20:23 -0700)]
Merge remote-tracking branch 'origin/master' into lwip
Resolved Conflicts:
NEWS
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 03:18:07 +0000 (20:18 -0700)]
isolinux: remove broken and obsolete open_file_t
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 03:16:07 +0000 (20:16 -0700)]
isolinux: remove .img file support
Remove disk image support from ISOLINUX. Very few BIOSes support this
call correctly, and it is likely to have been broken for a very long
time anyway.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 00:30:59 +0000 (17:30 -0700)]
pxe: remove non-lwIP definition of DNS_MAX_SERVERS
There is only need for one definition of DNS_MAX_SERVERS, and it needs
to be the one in lwIP, so use it everywhere.
Furthermore, there is no longer any need for us to define
DNS_MAX_PACKET.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 00:19:32 +0000 (17:19 -0700)]
Merge remote-tracking branch 'origin/master' into lwip
Resolved Conflicts:
com32/include/netinet/in.h
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 00:15:40 +0000 (17:15 -0700)]
com32: inet_ntoa() takes struct in_addr
The standard definition for inet_ntoa() is to take struct in_addr, and
not doing that causes a conflict on the lwip branch.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Tue, 26 Apr 2011 00:00:22 +0000 (17:00 -0700)]
hdt: remove set-but-unused variable
Remove a set but unused variable in HDT, which prevents building with
gcc 4.6. This is probably a bug; presumably the active flag should be
presented to the user, too.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 23:47:09 +0000 (16:47 -0700)]
core: remove the .hugebss section
There are no more users of the .hugebss section, so remove it from
existence.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 23:45:50 +0000 (16:45 -0700)]
core, diskio: allocate the disk cache from the heap
Since network buffers are allocated from the heap, and the heap is now
dynamically sized, it makes sense we allocate the disk cache here,
too.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 23:37:24 +0000 (16:37 -0700)]
core: dynamically size the heap
Dynamically size the heap to 1/16 of available high memory.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 23:36:36 +0000 (16:36 -0700)]
core: layout.inc: remove duplicate .stack segment definition
.stack was redefined for unknown reasons. This is not present in the
master branch.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 22:24:33 +0000 (15:24 -0700)]
Merge remote-tracking branch 'sherbszt/gfxboot32'
Steffen Winterfeldt [Tue, 19 Apr 2011 13:27:26 +0000 (15:27 +0200)]
gfxboot: pass current working dir to gfxboot core
Pass current working dir to (and back from) gfxboot core via gfx_config
struct. This way I can implement a chdir() in the gfxboot core without
the need for additional 16-bit comboot calls. gfxboot may change the
directory, so you have to read and apply the current setting in boot() (to
read kernel etc. from right location).
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
H. Peter Anvin [Mon, 25 Apr 2011 21:34:30 +0000 (14:34 -0700)]
Merge remote-tracking branch 'hdt/master'
H. Peter Anvin [Mon, 25 Apr 2011 21:32:08 +0000 (14:32 -0700)]
diag/geodsp: zero-fill sectors in -1 mode
In -1 mode, zero-fill the sector instead of writing whatever garbage
was in the buffer already.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 21:27:28 +0000 (14:27 -0700)]
diag/geodsp: fix ordering of args to fread/fwrite in mk-lba-img
If we want the return value to be in bytes, make sure we pass the byte
count in the nmemb field instead of the size field.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 19:39:08 +0000 (12:39 -0700)]
diag/geodsp: Avoid large intermediate files
Allow the generation program mk-lba-img to merge the prefix file and
output to stdout, so it can be fed directly to the compressor; that
way we avoid generating huge intermediate files on disk.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 19:22:21 +0000 (12:22 -0700)]
ppmtolss16: remove obsolete Perl construct
defined() on an array is considered obsolete; instead check for a
nonzero number of elements with scalar().
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 18:46:56 +0000 (11:46 -0700)]
PXE Cleanups, allow for 128 open files
Clean up dead code in the PXE stack.
The buffer assignment no longer limits the number of open files
either, so raise it to something more than reasonable.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 04:09:14 +0000 (21:09 -0700)]
NEWS: document FTP
H. Peter Anvin [Mon, 25 Apr 2011 03:55:47 +0000 (20:55 -0700)]
pxe: use a separate poll thread instead of using an idle thread hook
The idle thread can never sleep, so it's not really safe to do
anything inside it. Instead, run a separate poll thread at low
priority; we can also do that to poll the serial console if needed.
Overall, the "classic" Syslinux idle handling really should go away
and be replaced by the idle thread.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 25 Apr 2011 03:53:12 +0000 (20:53 -0700)]
idle.c: remove -*- fundamental -*- tag
This is a normal C file, no reason for a -*- fundamental -*- tag as
used in NASM source code.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 22:40:01 +0000 (15:40 -0700)]
pxe, tftp: unbreak the TFTP state machine
Some of the code motion had broken the TFTP state machine, make it
work properly again. Furthermore, remove some no longer necessary
fields in the pxe inode structure.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 22:16:23 +0000 (15:16 -0700)]
pxe, tftp: let lwIP manage port numbers
lwIP needs to manage port numbers for TCP and for DNS, so just let it
do it for TFTP as well.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 22:15:07 +0000 (15:15 -0700)]
pxe, ftp: remove a bogus include
Remove an include of a header file which never actually existed.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 22:05:15 +0000 (15:05 -0700)]
pxe: make lwip use IANA-blessed local port numbers
Make lwip use the IANA-blessed local port numbers 49152 and higher.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 21:51:31 +0000 (14:51 -0700)]
pxe: allow an empty input to dns_resolv()
If dns_resolv() gets an empty input, just return failure.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 21:42:56 +0000 (14:42 -0700)]
pxe: continue to bounce URLs with unknown schemes to gPXE
If we're running on top of a gPXE/iPXE stack, and get a URL we don't
know, continue to bounce it to gPXE. It isn't entirely clear how well
this will actually work with an UNDI-based network stack, however...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 21:02:39 +0000 (14:02 -0700)]
pxe: make url_set_ip() static
url_set_ip() is now only used in one place, so make it static.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 20:59:18 +0000 (13:59 -0700)]
pxe: move redirect processing to the URL-parsing level
Move redirect processing out of the HTTP code and into the top
URL-processing level. This both makes the code simpler and also deals
with absurdities like HTTP redirecting to an FTP URL (which is legal.)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 20:49:30 +0000 (13:49 -0700)]
pxe: add support for FTP
Add support for the FTP protocol.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 20:48:17 +0000 (13:48 -0700)]
pxe: tcp: close the connection before freeing the buffers
As long as the connection is opened, we may end up receiving data, so
don't free the receive buffers until after the connection is closed.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 20:47:14 +0000 (13:47 -0700)]
pxe: more verbose lwIP asserts
If we're going to bother compiling in the lwIP asserts, then make them
a bit more useful in terms of the message delivered. This may be
worth tweaking further to make a smaller footprint.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 20:46:45 +0000 (13:46 -0700)]
urlparse: fix url_unescape()
Fix double pointer advacing in url_unescape().
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 19:44:31 +0000 (12:44 -0700)]
pxe: tcp: always call the close method
Always call the designated close method, instead of assuming it is
tcp_close_file(). This isn't the case for FTP, which also needs to
manage the control connection.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Steffen Winterfeldt [Tue, 19 Apr 2011 13:27:26 +0000 (15:27 +0200)]
gfxboot: handle INITRD config line
Handle case where there is no initrd= option but a separate initrd config line.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
H. Peter Anvin [Sun, 24 Apr 2011 04:04:58 +0000 (21:04 -0700)]
pxe: make tftp_pktbuf a dynamic buffer
We don't need tftp_pktbuf for the TCP-based protocols, so allocate it
on demand. It should be possible to get rid of it for TFTP as well.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sun, 24 Apr 2011 03:48:42 +0000 (20:48 -0700)]
pxe: move operations common to TCP-based protocols to a common file
Move operations that are common to all TCP-based protocols into a
common file, tcp.c.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 23 Apr 2011 23:04:00 +0000 (16:04 -0700)]
pxe: use the unified URL parsing framework
Use the unified URL parsing framework for TFTP and HTTP. This should
also make it easier to add new protocols (e.g. FTP) in the near
future.
Note that HTTP redirects are still handled wrong: they really should
be sent all the way back to the top of URL parsing; there are sites in
the field which redirect to FTP URLs, for example.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 23 Apr 2011 20:46:54 +0000 (13:46 -0700)]
pxe: urlparse: add comments
Add comments to the URL parser functions.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 23 Apr 2011 20:35:51 +0000 (13:35 -0700)]
pxe: Add a much more general URL-parsing framework
Add a URL-parsing framework that we can use for multiple protocols.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Sebastian Herbszt [Sat, 23 Apr 2011 10:18:21 +0000 (12:18 +0200)]
thread: free curr->rmstack
Free curr->rmstack instead of double free of curr->stack.
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 23 Apr 2011 02:35:36 +0000 (19:35 -0700)]
pxe: put a semaphore around PXE calls
Make sure we can't accidentally invoke the PXE stack from multiple
threads (except for the ISR, which presumably has to allow for
reentrancy, since the spec implies the ISR can be invoked from inside
the PXE stack strategy routine.)
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Sat, 23 Apr 2011 02:29:09 +0000 (19:29 -0700)]
thread: free(NULL) is safe, lmalloc() always return para-aligned
free(NULL) is safe and permitted, no reason to conditionalize calling
free().
lmalloc() will always return a paragraph-aligned memory block, so we
don't have to play games with the offset.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 22 Apr 2011 22:57:33 +0000 (15:57 -0700)]
lwip: handle UNDI stacks which need to be polled
If the UNDI stack reports either IRQ 0 or does NOT report the NDIS IRQ
supported flag, then poll the interrupt routine from the idle thread
instead.
This is somewhat limited; we really should have a chain of idle poll
routines to support things like serial console.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
H. Peter Anvin [Fri, 22 Apr 2011 05:16:14 +0000 (22:16 -0700)]
thread: thread-switch the real-mode stack, too
When this code was originally written, we didn't have lmalloc(). Now
when lmalloc() is implemented, let each real-mode task have its own
stack.
Note that this means we absolutely have to continue to support the
SS != CS, DS model in the real-mode code, which should already be the
case, but...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 22 Apr 2011 04:36:34 +0000 (21:36 -0700)]
NEWS: document lwIP
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 22 Apr 2011 04:33:23 +0000 (21:33 -0700)]
version: call this branch 4.10
A totally different network stack is definitely grounds for calling it
4.10 instead of 4.0x...
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 22 Apr 2011 04:32:41 +0000 (21:32 -0700)]
Merge branch 'master' into lwip-threads
H. Peter Anvin [Fri, 22 Apr 2011 04:32:01 +0000 (21:32 -0700)]
version: now working on version 4.05
4.04 is out, next version will be 4.05 (or later).
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 22 Apr 2011 04:24:33 +0000 (21:24 -0700)]
pxe: isr: fix formatting
Fix code formatting.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Fri, 22 Apr 2011 04:23:54 +0000 (21:23 -0700)]
pxe: fix gcc 4.6 problems
Remove unused variables, which give gcc 4.6 problems.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Erwan Velu [Thu, 21 Apr 2011 19:47:57 +0000 (21:47 +0200)]
hdt: Final release 0.5.0
Thanks for all who participe in this release.
Erwan Velu [Thu, 21 Apr 2011 19:43:54 +0000 (21:43 +0200)]
hdt: Using dashed instead of . into label name
When generating floppy images some version of mtools (< 4.0.14) are
buggy and generate incorrect labels. So using > 4.0.13 is recommended.
Anyway, let's use _ into the volume name, that cleaner :
We now have
disk label="HDT_0_5_0_B"
instead of
disk label="HDT_0~5~0-B"
Erwan Velu [Wed, 20 Apr 2011 19:06:14 +0000 (21:06 +0200)]
hdt: Fixing ACPI display
Some screenshots shows that we have some troubles for aligning items.
This is now fixed.
Erwan Velu [Wed, 20 Apr 2011 18:44:29 +0000 (20:44 +0200)]
hdt: New release beta5
Erwan Velu [Wed, 20 Apr 2011 18:21:21 +0000 (20:21 +0200)]
libupload: Adding tftp.h missing file
Oups, this while wasn't commited :/
Erwan Velu [Wed, 20 Apr 2011 18:20:22 +0000 (20:20 +0200)]
hdt: Showing specific message for auto mode
That's a nice info to know that some output were generated by the
automatic mode.
Erwan Velu [Wed, 20 Apr 2011 18:14:45 +0000 (20:14 +0200)]
hdt: Removing useless printf in dump mode
This message was clearly boring to read ;o)
Erwan Velu [Wed, 20 Apr 2011 18:12:24 +0000 (20:12 +0200)]
libupload: Fixing tftp return value
The default return value for the tftp mode.
This made the tftp to return error even if the upload was succesful.
Erwan Velu [Tue, 19 Apr 2011 18:23:20 +0000 (20:23 +0200)]
hdt: New release Beta4
Erwan Velu [Tue, 19 Apr 2011 18:05:35 +0000 (20:05 +0200)]
hdt: Adding dump mode on pre-built images
As we now have a dump mode, let's add an entry in our menu for that.
Erwan Velu [Tue, 19 Apr 2011 18:00:46 +0000 (20:00 +0200)]
hdt: Preventing dump mode if no PXE config
Dump mode can only work if PXE is present.
H. Peter Anvin [Mon, 18 Apr 2011 21:53:45 +0000 (14:53 -0700)]
Merge commit 'syslinux-4.04' into dynamic-sector
H. Peter Anvin [Mon, 18 Apr 2011 21:24:17 +0000 (14:24 -0700)]
spec: Use BuildRequires, add diag/ subdirectory
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
H. Peter Anvin [Mon, 18 Apr 2011 21:12:58 +0000 (14:12 -0700)]
diag: Don't remove BTARGET on make clean
"make clean" should not remove BTARGET
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Mon, 18 Apr 2011 21:12:22 +0000 (23:12 +0200)]
Merge branch 'master' of git://git./boot/syslinux/syslinux
H. Peter Anvin [Mon, 18 Apr 2011 21:11:26 +0000 (14:11 -0700)]
Merge remote-tracking branch 'pcacjr/syslinux-update-for-hpa'
Erwan Velu [Mon, 18 Apr 2011 21:08:21 +0000 (23:08 +0200)]
hdt: Reporting TFTP errors in dump mode
If we get some errors from the tftp, let's report it to the user.
This will make user's life easier to understand why the dumping mode
isn't working.
Erwan Velu [Mon, 18 Apr 2011 21:07:39 +0000 (23:07 +0200)]
libupload: Implementing error code on tftp
When using the tftp backend, let's return the errors we got on the
server.
H. Peter Anvin [Mon, 18 Apr 2011 21:06:54 +0000 (14:06 -0700)]
menu: allow "menu hiddenkey" to take multiple keys; run unlabel
- Allow "menu hiddenkey" to take a comma-separated list of keys.
- Run unlabel() on the commands passed to menu hiddenkey.
XXX: Consider moving unlabelling to post-menu instead.
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Mon, 18 Apr 2011 20:37:15 +0000 (22:37 +0200)]
hdt: Fixing automatic mode parsing
Parsing of the auto='' mode was weak an non functionnal in many
configuration like
auto='dump'
This is now fixed.
H. Peter Anvin [Mon, 18 Apr 2011 20:53:19 +0000 (13:53 -0700)]
NEWS: Document MENU HIDDENKEY
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Erwan Velu [Mon, 18 Apr 2011 19:07:33 +0000 (21:07 +0200)]
libupload: Fixing memset call
We have to use the size of the element, not the size of the pointer.
Erwan Velu [Sun, 17 Apr 2011 17:44:21 +0000 (19:44 +0200)]
hdt: New release 0.5.0-beta3
Erwan Velu [Sat, 16 Apr 2011 18:34:40 +0000 (20:34 +0200)]
cpuid: Using generic model if cyrix id is unknown
When using the specific Cyrix call to determine the model, if the model
is unknown, let's consider the generic call was right.
This insure a better display of the model id.
Matt Fleming [Tue, 12 Apr 2011 13:44:32 +0000 (14:44 +0100)]
lua: Delete superfluous $(LIBS) prerequisite
com32.mk already includes the necessary library in $(C_LIBS), we don't
need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Matt Fleming [Tue, 12 Apr 2011 13:39:57 +0000 (14:39 +0100)]
sysdump: Delete superfluous $(LIBS) prerequisite
com32.mk already includes the necessary libraries in $(C_LIBS), we
don't need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Matt Fleming [Mon, 11 Apr 2011 13:44:44 +0000 (14:44 +0100)]
hdt: Delete superfluous $(LIBS) prerequisites
com32.mk already includes the necessary libraries in $(C_LIBS), we
don't need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Matt Fleming [Mon, 11 Apr 2011 12:38:36 +0000 (13:38 +0100)]
menu.c32: Delete superfluous $(LIBS) prerequistite
com32.mk already includes the necessary libraries in $(C_LIBS), we
don't need to list them again in $(LIBS).
Signed-off-by: Matt Fleming <matt.fleming@linux.intel.com>
Erwan Velu [Sat, 16 Apr 2011 06:06:01 +0000 (08:06 +0200)]
cpuid: Improving Cyrix/NSC detection
This code add the specific detection code for Cyrix/NSC processor.
Code came from the Linux kernel.
Erwan Velu [Fri, 15 Apr 2011 19:26:52 +0000 (21:26 +0200)]
hdt: Fixing buffer corruption in PXE menu
Jim Cromie reported that PXE menu behave like :
gPXE Detected: ]No
This commit avoid this buffer corruption.
Paulo Alcantara [Fri, 15 Apr 2011 18:28:31 +0000 (15:28 -0300)]
syslinux: check --update option properly
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 15 Apr 2011 18:21:10 +0000 (15:21 -0300)]
extlinux: remove already_installed
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 15 Apr 2011 18:13:54 +0000 (15:13 -0300)]
extlinux: use syslinux_already_installed instead of already_installed
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>
Paulo Alcantara [Fri, 15 Apr 2011 17:55:29 +0000 (14:55 -0300)]
libinstaller: implement syslinux_already_installed
syslinux_already_installed function will be used in both extlinux and
syslinux for checking if the boot sector has either the string
"SYSLINUX" or "EXTLINUX" in the OEMID field.
Signed-off-by: Paulo Alcantara <pcacjr@gmail.com>