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 >.
16 anos atrás
Michael Brown
5e4e267177
Start restructuring pxe_tftp.c to cope with multicast (MTFTP) receives.
16 anos atrás
Michael Brown
07f84566d5
Make read_user() non-blocking, and add select() call.
17 anos atrás
Michael Brown
9aa61ad5a2
Add per-file error identifiers
17 anos atrás
Michael Brown
d05d8edd42
Implement the "overwrite TFTP filename" Microsoft RIS bug workaround.
17 anos atrás
Michael Brown
40d6d3dcf4
Windows RIS now gets as far as downloading NTLDR.
17 anos atrás
Michael Brown
01b4bde8a0
Updated TFTP and PXE UDP API code to use not-yet-implemented data-xfer
UDP API.
17 anos atrás
Michael Brown
23008b9326
Updated to use POSIX-style file I/O layer.
17 anos atrás
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.
18 anos atrás
Marty Connor
6ac78f6aff
added stdio.h to includes for DBG compilation
18 anos atrás
Michael Brown
71754ada2a
Allow linking by converting functions to stubs
18 anos atrás
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.)
18 anos atrás
Michael Brown
53a4436d94
TFTP upgraded to use a core function library (in tftpcore.c) which will be
shared between TFTP, TFTM and MTFTP protocols.
19 anos atrás
Michael Brown
59582db29d
Documented remainder of PXE TFTP API calls.
19 anos atrás
Michael Brown
2ffc960e67
Added diatribe about the mismatch between the PXE spec and the TFTP
protocol, and how we will work around it.
19 anos atrás
Michael Brown
aeb984a1a9
Thoughts on how to coerce the PXE TFTP API into something resembling
the TFTP protocol.
19 anos atrás
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).
19 anos atrás