Michael Brown
726e366e8f
Add code for constructing single-file cpio archives on the fly
17 anos atrás
Michael Brown
291d69d7fd
Added support for draft version of the AoE Boot Firmware Table.
17 anos atrás
Michael Brown
bf3d8fb1aa
Allowed HTTPS to be a separately configurable feature.
17 anos atrás
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 anos atrás
Michael Brown
a6467c99a0
Added a simple pass-through filter layer for data transfer interfaces.
17 anos atrás
Michael Brown
a6a1052096
Applied a modified version of holger's regparm patches.
17 anos atrás
Holger Lubitz
52e5c24565
Revert "make isspace static" - prototype for isspace() is defined by C99, so can't be static
This reverts commit ed06bd8a89 .
17 anos atrás
Holger Lubitz
ed06bd8a89
make isspace static
17 anos atrás
Michael Brown
2c7ffa8c27
Added two lines of code that were completely missing!
17 anos atrás
Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 anos atrás
Marty Connor
767a3cef77
Changed #warning to FIXME for nvo hack warning.
17 anos atrás
Michael Brown
7df3d4a177
Obsolete code removal
17 anos atrás
Michael Brown
7e3a8f5e10
Remove more obsolete files
17 anos atrás
Michael Brown
e330db3c74
Dead code removal.
Kill off use of etherboot.h outside drivers/net.
17 anos atrás
Michael Brown
4075f7596b
Unplug before sending close() message, to avoid screwing up interfaces
which respond to close with a reopen() (e.g. iSCSI).
17 anos atrás
Michael Brown
d3ad76bc74
Add debug messages to process.c
17 anos atrás
Michael Brown
f0c44f2f71
Remove xfer_ready() (it has been replaced by xfer_window())
17 anos atrás
Michael Brown
7137c20ed1
Add strcspn() and strndup()
17 anos atrás
Michael Brown
ed20fee0cf
Make ref_get() return the reference, for cleaner code.
17 anos atrás
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 anos atrás
Michael Brown
ca4c6f9eee
Kill off unused request() method in data-xfer interface.
17 anos atrás
Holger Lubitz
1ccb6f9dc6
convert to zalloc
17 anos atrás
Holger Lubitz
6def8592ed
convert to zalloc
17 anos atrás
Holger Lubitz
75ff85441b
convert to zalloc
17 anos atrás
Holger Lubitz
f77d9469a4
convert to zalloc
17 anos atrás
Holger Lubitz
aca232c973
convert to zalloc
17 anos atrás
Holger Lubitz
6d0332b5b3
convert to zalloc
17 anos atrás
Michael Brown
89349d7fad
Separated out initialisation functions from startup/shutdown functions.
17 anos atrás
Marty Connor
9b3c4e4d79
Warnings purge: src/arch/i386, src/core/disk.c, ramdisk, autoboot
17 anos atrás
Michael Brown
438d1cc0b9
Should be using the generic device probe mechanism, when (if) they
eventually get updated.
17 anos atrás
Michael Brown
fae10a7ca1
We don't actually use the reset functions anywhere, and nothing really
provides them.
17 anos atrás
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 anos atrás
Marty Connor
bf871c4d03
Warnings purge of src/core
17 anos atrás
Michael Brown
15f8323055
Removing obsolete files.
17 anos atrás
Michael Brown
8f6a4e8140
Add gdbsym.c object to help with running gdb-to-qemu
17 anos atrás
Michael Brown
dffdc285b3
Obsoleted by downloader.c
17 anos atrás
Michael Brown
f13baeb330
Added missing config.[ch] lines for FTP protocol
17 anos atrás
Michael Brown
6209d20779
Added monojob controller in lieu of a full working shell.
17 anos atrás
Michael Brown
73fe1ba9dd
Kill off job::start() (it was only ever added as part of an aborted
attempt at triggering TCP-related protocols to start).
17 anos atrás
Michael Brown
07dc294de8
Update DHCP to use data-xfer interface (not yet tested).
17 anos atrás
Michael Brown
f77815f2b1
Kill off hotplug.h and just make net devices normal reference-counted
structures.
DHCP still broken and #if 0'd out.
17 anos atrás
Michael Brown
4f309ff0c7
Treat URIs opened via xfer_open() and friends as relative to the
current working URI.
17 anos atrás
Michael Brown
15dae1e042
Add concept of "current working URI".
17 anos atrás
Michael Brown
058b200529
Renamed _calloc() to zalloc(), ready to be used as a standalone function.
17 anos atrás
Michael Brown
95adce0ce1
Add concept of transfer metadata, to be used by UDP in order to
implement sendto()/recvfrom() equivalents.
17 anos atrás
Michael Brown
b256900d4f
Scripts temporarily deregister themselves while executing. This
allows us to avoid execution loops without having to hack around the
image registration order.
17 anos atrás
Michael Brown
2c569fb240
Allow xfer_open() to take a struct uri as well as a URI string.
17 anos atrás
Michael Brown
7c8cc3ef6c
Use standard xfer_open() argument list for downloader instantiator
17 anos atrás
Michael Brown
08e286714f
Add reference counting to register/unregister procedure.
17 anos atrás
Michael Brown
6a5cc3533f
Added missing va_end()
17 anos atrás