Michael Brown
54bf2621ed
Add iBFT code derived from IBM document.
No Microsoft intellectual property was harmed in the production of
this code.
17 years ago
Michael Brown
cfcc41d407
Set current working URI to be that of the executable image when
executing any image, not just a script. (This will enable pxelinux to
use relative URIs, should it wish to.)
17 years ago
Holger Lubitz
7815474495
Revert "malloc attribute changes"
wasn't meant for my local "master" branch ;)
This reverts commit 373022108b .
17 years ago
Michael Brown
950057eeed
Add PXE FILE API.
17 years ago
Michael Brown
07f84566d5
Make read_user() non-blocking, and add select() call.
17 years ago
Michael Brown
218651e125
Display name and status of each file as it is downloaded.
17 years ago
Michael Brown
6e46dddc2c
Print multiple commands per line in help
17 years ago
Michael Brown
688bac1656
Place multiboot command lines in base memory; Xen won't pick them up
otherwise. :(
17 years ago
Holger Lubitz
373022108b
malloc attribute changes
17 years ago
Michael Brown
710c6c1be1
Error message cleanups.
17 years ago
Michael Brown
1ae40765a6
Set current working URI equal to script URI during script execution.
17 years ago
Michael Brown
49009a4c1b
uri_get(NULL) and uri_put(NULL) are explicitly allowed.
17 years ago
Michael Brown
d4947c05b2
Allow images to hold references to the originating URI.
Some shuffling around of the image management code; this needs tidying up.
17 years ago
Michael Brown
9fd6a0418f
Allowed zero-cost enforced ordering of features in startup banner
list.
Added FEATURE() macros to most relevant (non-driver) files.
17 years ago
Michael Brown
67afe84292
Use otherwise-useless byte in DHCP feature option as a version number
17 years ago
Michael Brown
0acb016840
Add FEATURE() macro, plus code to display features at startup time,
and generate DHCP options to indicate features to DHCP server (and to
PXE NBPs).
17 years ago
Holger Lubitz
7e1db201b9
strdup and strndup call malloc and are not pure
17 years ago
Holger Lubitz
857c5db4dd
fix gcc 4.2.1 warning: discards qualifiers from pointer target type
17 years ago
Holger Lubitz
fdd5fbe3ae
fix gcc 4.2.1 warning: initialized field overwritten
17 years ago
Holger Lubitz
91a8ae1216
include more changes for x86_64
17 years ago
Holger Lubitz
0ebf6cdef4
remove old minorversion!=4 check (added -march a second time)
17 years ago
Holger Lubitz
06eb725cd4
remove x86_64 comments from arch specific Config
options are in main makefile now
17 years ago
Michael Brown
02de18eb3e
Cope with non-newline-terminated scripts.
Print error status using strerror().
17 years ago
Holger Lubitz
bb94c143d9
move strndup back to string.c - used by strdup
17 years ago
Holger Lubitz
6b6dbe5600
move strndup back to string.c - used by strdup
17 years ago
Holger Lubitz
7e8e4f8abd
declare pointers passed to string functions as nonnull
17 years ago
Holger Lubitz
e3d10ac673
define __nonnull
17 years ago
Holger Lubitz
d0d044443d
memscan does not alter the mem pointer - make it const
17 years ago
Holger Lubitz
8e3e97fcef
set __pure attribute where possible
17 years ago
Holger Lubitz
cd619a1eec
define __pure and __const
17 years ago
Holger Lubitz
c9c97b3444
stripped down version of string.c containing only the used functions
17 years ago
Holger Lubitz
c7ad6778ac
put unused functions from string.c into separate file
17 years ago
Michael Brown
726e366e8f
Add code for constructing single-file cpio archives on the fly
17 years ago
Michael Brown
24f32a1945
Initrd concatenation now working
17 years ago
Michael Brown
c5d9114064
Allow loading of multiple initramfs images.
17 years ago
Michael Brown
291d69d7fd
Added support for draft version of the AoE Boot Firmware Table.
17 years ago
Michael Brown
dde3f99e4e
Fix endianness of "shelf" field
17 years ago
Michael Brown
79691961ba
Add identifier for the network device into the DHCP request.
17 years ago
Michael Brown
5e26df0325
Centralise construction of the DHCP request and response packets.
17 years ago
Michael Brown
d0abffc2f6
Added the AoE boot information table as used by Vampyre's AoE
initiator. This table needs to be replaced by something similar to
iBFT (i.e. scanned for and identified by signature, rather than being
at a fixed address), but it works for now.
17 years ago
Michael Brown
847ac4f336
tls_change_cipher() can complain about null cipher and digest
algorithms; we only need the pubkey check disabled (and only because
pubkey algorithms are not yet integrated into the crypto_algorithm
subsystem).
17 years ago
Michael Brown
60e3aa4d75
Change #warnings to FIXMEs, so that we can build without NO_WERROR=1
17 years ago
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
17 years ago
Michael Brown
3b8b06ae90
Added missing #include
17 years ago
Michael Brown
74ad5014c5
Inhibit compiler warning
17 years ago
Michael Brown
6fc9ed167e
TLS now working again.
17 years ago
Michael Brown
9a9f46ff58
Upgrade AXTLS import to version 1.1.5-a
17 years ago
Michael Brown
4ce8d61a5c
Import various libgcc functions from syslinux.
Experimentation reveals that gcc ignores -mrtd for the implicit
arithmetic functions (e.g. __udivdi3), but not for the implicit
memcpy() and memset() functions. Mark the implicit arithmetic
functions with __attribute__((cdecl)) to compensate for this.
(Note: we cannot mark with with __cdecl, because we define __cdecl to
incorporate regparm(0) as well.)
17 years ago
Michael Brown
f62d6486d8
GCC's optimiser seems to screw up if this is left static...
17 years ago
Michael Brown
3b9bf40682
Preparation for adding tls.c
17 years ago