Michael Brown
7e3527a658
Don't get stuck in an infinite loop on negative integers!
17 years ago
Michael Brown
db124b1255
Add fls() for non-constant values.
17 years ago
Michael Brown
83a6cc8c9b
Don't get stuck in an infinite loop on negative integers!
17 years ago
Michael Brown
6d15a193aa
Add fls() for non-constant values.
17 years ago
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
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
Holger Lubitz
373022108b
malloc attribute changes
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
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
d0d044443d
memscan does not alter the mem pointer - make it 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
291d69d7fd
Added support for draft version of the AoE Boot Firmware Table.
17 years ago
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
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
Holger Lubitz
f397fc443c
make bcopy use memmove
17 years ago
Michael Brown
a6467c99a0
Added a simple pass-through filter layer for data transfer interfaces.
17 years ago
Michael Brown
a6a1052096
Applied a modified version of holger's regparm patches.
17 years ago
Holger Lubitz
52e5c24565
Revert "make isspace static" - prototype for isspace() is defined by C99, so can't be static
This reverts commit ed06bd8a89 .
17 years ago
Holger Lubitz
ed06bd8a89
make isspace static
17 years ago
Michael Brown
2c7ffa8c27
Added two lines of code that were completely missing!
17 years ago
Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 years ago
Marty Connor
767a3cef77
Changed #warning to FIXME for nvo hack warning.
17 years ago
Michael Brown
7df3d4a177
Obsolete code removal
17 years ago
Michael Brown
7e3a8f5e10
Remove more obsolete files
17 years ago
Michael Brown
e330db3c74
Dead code removal.
Kill off use of etherboot.h outside drivers/net.
17 years ago
Michael Brown
4075f7596b
Unplug before sending close() message, to avoid screwing up interfaces
which respond to close with a reopen() (e.g. iSCSI).
17 years ago
Michael Brown
d3ad76bc74
Add debug messages to process.c
17 years ago
Michael Brown
f0c44f2f71
Remove xfer_ready() (it has been replaced by xfer_window())
17 years ago
Michael Brown
7137c20ed1
Add strcspn() and strndup()
17 years ago
Michael Brown
ed20fee0cf
Make ref_get() return the reference, for cleaner code.
17 years ago
Michael Brown
b34d4d0449
Separate the "is data ready" function of xfer_seek() into an
xfer_window() function, which can return a scalar rather than a
boolean.
17 years ago
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
17 years ago
Holger Lubitz
1ccb6f9dc6
convert to zalloc
17 years ago
Holger Lubitz
6def8592ed
convert to zalloc
17 years ago
Holger Lubitz
75ff85441b
convert to zalloc
17 years ago
Holger Lubitz
f77d9469a4
convert to zalloc
17 years ago
Holger Lubitz
aca232c973
convert to zalloc
17 years ago
Holger Lubitz
6d0332b5b3
convert to zalloc
17 years ago
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
17 years ago
Marty Connor
9b3c4e4d79
Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot
17 years ago
Michael Brown
438d1cc0b9
Should be using the generic device probe mechanism, when (if) they
eventually get updated.
17 years ago
Michael Brown
fae10a7ca1
We don't actually use the reset functions anywhere, and nothing really
provides them.
17 years ago
Michael Brown
fd86c819ba
Use a linker-table based system to automatically mark and start up
permanent processes, rather than requiring each one to have its own
initialisation function.
17 years ago