efi: Add Intel copyright notices

Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Add const qualifiers to loadleys

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
ldlinux/readconfig.c: remove bail: from do_include()

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
com32/modules/poweroff.c: fix main()

Wrong prototype; use GCC unused

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
com32/moduless/poweroff.c: use __unused attribute instead

Recommended-By: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Merge branch 'syslinux-5.xx' into master; fixes loadkeys

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
com32: fix __bswap_64_macro

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Add const qualifiers

Some functions are ignoring the const qualifier.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
efi/udp.c: Save UDP Port in core_udp_open()

core_udp_open() should obtain a UDP port allocation and save it for
  core_udp_connect() and core_udp_sendto() to reuse.

Author:        H. Peter Anvin <hpa@zytor.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
efi/udp.c: Use existing UDP port in core_udp_sendto()

core_udp_open() obtained a port allocation.  Continue using it.

Author:        Celelibi <celelibi@gmail.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
efi: UseDefaultAddress in udp.c/tcp.c

We don't need to re-inform EFI what IPv4 address and subnet mask to use.
This change should help to re-use the exising routes.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
efu/udp: Unset mode

udata.AcceptAnyPort caused the udata.StationPort to return as 0.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
efi: Loop on Configure when EFI_NO_MAPPING in udp.c/tcp.c

This should help hardware that doesn't return EFI_SUCCESS immediately.

Reported-by:   Jason Matthews <jason.david.matthews@gmail.com>
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
efi/udp: zero token in recv

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
hdt: Fixing memory leak in cli

The dynamically alloc'd string to protect from strtok modification
has not been free'd on start_auto_mode() function.

This patch insure the free is done properly.
acpi: Removing memset of buffer

There is no need to memset the buffer since the strncat will end the
string with a \0. The memset was also almost wrong as doing a sizeof()
on a char * could return 1 if buff was malloc'ed.

We had chance as all the current calls are done with static buffers.

Removing this memset call will make things clearer but also will prevent
compilation warnings like :

com32/gpllib/acpi/acpi.c:38:29: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the
destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
     memset(buffer, 0, sizeof(buffer));
Merge remote-tracking branch 'zytor/firmware' into master

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
mk/efi.mk: Cancel old rules

If a dependency is added to the newer rules, make will choose the easier
rules instead of the preferred rules.

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Merge remote-tracking branch 'erwan-github/hdt-memleak' into master

Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
Add manpages for isohybrid, memdiskfind

Signed-off-by: Peter Jones <pjones@redhat.com>