Michael Brown
2596a9aa9c
[misc] Fix building on OpenBSD
OpenBSD throws compiler warnings that we can't reproduce on Linux, for
some reason.
Original patch from Dewey Hylton <dewey@hyltown.com >.
il y a 16 ans
Michael Brown
5e4e267177
Start restructuring pxe_tftp.c to cope with multicast (MTFTP) receives.
il y a 16 ans
Michael Brown
07f84566d5
Make read_user() non-blocking, and add select() call.
il y a 17 ans
Michael Brown
9aa61ad5a2
Add per-file error identifiers
il y a 17 ans
Michael Brown
d05d8edd42
Implement the "overwrite TFTP filename" Microsoft RIS bug workaround.
il y a 17 ans
Michael Brown
40d6d3dcf4
Windows RIS now gets as far as downloading NTLDR.
il y a 17 ans
Michael Brown
01b4bde8a0
Updated TFTP and PXE UDP API code to use not-yet-implemented data-xfer
UDP API.
il y a 17 ans
Michael Brown
23008b9326
Updated to use POSIX-style file I/O layer.
il y a 17 ans
Michael Brown
88e38fa148
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a
non-standard name, but for now it's the one to use.)
There should be no need to include vsprintf.h just for DBG() statements,
since include/compiler.h forces it in for a debug build anyway.
il y a 18 ans
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
il y a 18 ans
Michael Brown
71754ada2a
Allow linking by converting functions to stubs
il y a 18 ans
Michael Brown
a0a872f7f1
Updated PXE UDP implementation to use the new Etherboot UDP API.
Updated PXE API dispatcher to use copy_{to,from}_user, and moved to
arch/i386 since the implementation is quite architecture-dependent.
(The individual PXE API calls can be largely
architecture-independent.)
il y a 18 ans
Michael Brown
53a4436d94
TFTP upgraded to use a core function library (in tftpcore.c) which will be
shared between TFTP, TFTM and MTFTP protocols.
il y a 19 ans
Michael Brown
59582db29d
Documented remainder of PXE TFTP API calls.
il y a 19 ans
Michael Brown
2ffc960e67
Added diatribe about the mismatch between the PXE spec and the TFTP
protocol, and how we will work around it.
il y a 19 ans
Michael Brown
aeb984a1a9
Thoughts on how to coerce the PXE TFTP API into something resembling
the TFTP protocol.
il y a 19 ans
Michael Brown
809933d9f7
Split PXE code into preboot, udp, tftp, undi and loader units.
PXE code now compiles without errors (though it won't actually work).
il y a 19 ans